GetStatusInfo()
Retrieve a requested service status info
Description
This method is used to retrieve a requested service status info that is filtered by a ServiceRequestStatus.
Package Details
Interface
IServiceRequestManager
Syntax
ServiceRequestManager.GetStatusInfo(ServiceRequestStatus serviceRequestStatus)
Returns
Task<ServiceRequestStatusInfo>
API Endpoint
[GET] /api/v1/users/{id}/servicerequests
Returns
200 - Ok
Example
// ServiceRequestStatus is a enum list of constants
// InProgress = 1 in enum
ServiceRequestStatus myServiceRequestStatus = ServiceRequestStatus.InProgress;
var serviceRequestStatusInfo = await _serviceRequestManager.GetStatusInfo(myServiceRequestStatus);