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.
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
using MTOA.BLL.Interfaces; int serviceRequestId = 4374; var serviceRequestStatusHistory = await _serviceRequestManager.GetStatusHistoryEx(serviceRequestId);`