Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

Parameter type
string

Returns
ICollection<MTOA.DomainObjects.ServiceRequest>

API Endpoint
[GET] /api/v1/servicerequests/

Returns
200 - Ok

Example
using MTOA.BLL.Interfaces;

Parameter
string guid = "A79887623B0E619EE05438EAA7528E36";

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

  • No labels