Versions Compared

Key

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

Retrieve the extended history of ServiceRequest status changes for a given Service Request Id

Description

This method is used to retrieve a list of extended history of service requests status changes for a given Service Request Id. For AP services the method retrieves different list of status per serviceStandard.

Package Details

Interface

IServiceRequestManager

Syntax

IServiceRequestManager.GetStatusHistoryEx(int serviceRequestId)

Returns

ICollection<MTOA.DomainObjects.ServiceRequestStatusHistoryEx>

API

...

[GET] /api/v1/servicerequests/{id}/status-history-ex

Parameter

Description

Type

serviceRequestId

The id of the service request we want its status history

int

Returns

200 - Ok

Example

Code Block
languagec#
using MTOA.BLL.Interfaces;

...

Code Block


int serviceRequestId = 4374;

`varvar serviceRequestStatusHistory = await _serviceRequestManager.GetStatusHistoryEx(serviceRequestId);`

...