Interface IServiceRequestCollection
- All Superinterfaces:
IEntireEntityCollectionRetrievalOperations<ServiceRequest,ResourceCollection<ServiceRequest>>,IEntitySelector<String,IServiceRequest>,IPartnerComponent<String>,IPartnerComponentString
- All Known Subinterfaces:
IPartnerServiceRequestCollection
- All Known Implementing Classes:
CustomerServiceRequestCollectionOperations,PartnerServiceRequestCollectionOperations
public interface IServiceRequestCollection extends IPartnerComponentString, IEntireEntityCollectionRetrievalOperations<ServiceRequest,ResourceCollection<ServiceRequest>>, IEntitySelector<String,IServiceRequest>
Represents the behavior of service requests.
-
Method Summary
Modifier and Type Method Description IServiceRequestbyId(String serviceRequestId)Gets a single service requestResourceCollection<ServiceRequest>get()Retrieves all service requests.ResourceCollection<ServiceRequest>query(IQuery serviceRequestsQuery)Queries service requests associated to an organization.Methods inherited from interface com.microsoft.store.partnercenter.IPartnerComponent
getContext, getPartner
-
Method Details
-
byId
Gets a single service request- Specified by:
byIdin interfaceIEntitySelector<String,IServiceRequest>- Parameters:
serviceRequestId- Service Request Id- Returns:
- The service request operations.
-
get
ResourceCollection<ServiceRequest> get()Retrieves all service requests.- Specified by:
getin interfaceIEntireEntityCollectionRetrievalOperations<ServiceRequest,ResourceCollection<ServiceRequest>>- Returns:
- The service requests.
-
query
Queries service requests associated to an organization. - Count queries are not supported by this operation. - You can set the page size or filter or do both at the same time. - Sort is not supported. Default sorting is on status field- Parameters:
serviceRequestsQuery- A query to apply onto service requests. CheckQueryFactoryto see how to build queries.- Returns:
- The requested service requests.
-