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
SyntaxIServiceRequestManager.GetStatusHistoryByGuid(string guid)
Returns
ICollection<ServiceRequestStatusHistory>
API Endpoint
[GET] /api/v1/servicerequests/status-history
Parameters
guid:[string]
Returns
200 - Ok
Example
using MTOA.BLL.Interfaces;
int guid = "A79887623B0E619EE05438EAA7528E36";
var count = await _serviceRequestManager.GetStatusHistoryByGuid(guid);