GetStatusHistoryByGuid()
Retrieve a collection of Service Request status history for a given Service Request guid
Description
This method is used to retrieve a collection of Service Request
status history for a given Service Request guid. For AP services the method retrieves different list of status per serviceStandard.
Package Details
Interface
IServiceRequestManager
Syntax
IServiceRequestManager.GetStatusHistoryByGuid(string guid)
Returns
ICollection<ServiceRequestStatusHistory>
API
[GET] /api/v1/servicerequests/status-history
Returns
200 - Ok
Example
using MTOA.BLL.Interfaces;
string guid = "A79887623B0E619EE05438EAA7528E36";
var count = await _serviceRequestManager.GetStatusHistoryByGuid(guid);