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 4 Current »

Retrieve a service request

Description

This method is used to retrieve a service request by service request id.

Package Details

Interface

IServiceRequestManager

Syntax

ServiceRequestManager.GetById<T>(int serviceRequestId) where T : IServiceRequestMetadata

Returns

Task<ServiceRequest>

API Endpoint

[GET] /api/v1/users/{id}/servicerequests

Returns

200 - Ok

Example

using MTOA.BLL.Interfaces;

int myServiceId = 123;

var serviceRequest = await _serviceRequestManager.GetById<ServiceRequest>(myServiceId);
        

  • No labels