TBDGets a service request by its guid.
Description
This method is used to retrieve a specific service request by its Guid
Package Details
Interface
IServiceRequestManager
SyntaxIServiceRequestManager.GetByGuid<T>(string guid) where T : IServiceRequestMetadata
Parameter type
string
Returns
ICollection<MTOA.DomainObjects.ServiceRequest>
API Endpoint
[GET] /api/v1/servicerequests/
Returns
200 - Ok
Example
using MTOA.BLL.Interfaces;
Code Block |
---|
Parameter
string guid = "A79887623B0E619EE05438EAA7528E36";
var serviceRequest = await _serviceRequestManager.GetByGuid<ServiceRequestMetadata>(guid); |