Retrieve the extended history of ServiceRequest status changes for a given Service Request Id
Description
This method is used to retrieve a list of extended history of service requests status changes for a given Service Request Id. For AP services the method retrieves different list of status per serviceStandard.
Package Details
Interface
IServiceRequestManager
Syntax
IServiceRequestManager.GetStatusHistoryEx(int serviceRequestId)
Returns
ICollection<MTOA.DomainObjects.ServiceRequestStatusHistoryEx>
API
[GET] /api/v1/servicerequests/{id}/status-history-ex
Parameter | Description | Type |
---|---|---|
serviceRequestId | The id of the service request we want its status history | int |
Returns
200 - Ok
Example
Code Block | ||
---|---|---|
| ||
using MTOA.BLL.Interfaces; int serviceRequestId = 4374; `varvar serviceRequestStatusHistory = await _serviceRequestManager.GetStatusHistoryEx(serviceRequestId);` |
...