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.
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);