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