GetStatusesByServiceId()

Retrieve a list of service request statuses info

Description

This method is used to retrieve a list of service request statuses info that are filtered by service ID.

Package Details

Interface

IServiceRequestManager

Syntax

ServiceRequestManager.GetStatusesByServiceId(int serviceId)

Returns

ICollection<MTOA.DomainObjects.ServiceRequestStatusInfo>

API Endpoint

[GET] /api/v1/servicerequests/statuses

Returns

200 - Ok

Example

int myServiceId = 123; var serviceRequestStatuses = await _serviceRequestManager.GetStatusesByServiceId(myServiceId);