Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Code Block
languagec#
using MTOA.BLL.Interfaces;

string guid = "A79887623B0E619EE05438EAA7528E36";

var serviceRequest = await _serviceRequestManager.GetByGuid<ServiceRequestMetadata>(guid);