GetAll

Description

Gets a collection of service request regulates entity values for a specified service request.

Package Details

Interface

IServiceRegulatedEntityManager

Syntax

Task<ICollection<ServiceRequestRegulatedEntity>> GetAll(int serviceRequestId)

Returns

ICollection<ServiceRequestRegulatedEntity>

API

GET - /api/v1/regulated-entities

Parameters

Parameter

Description

Type

Parameter

Description

Type

serviceRequestId

The service request id associated to the regulated entity.

The service request must exist.

Query string

Returns

HTTP 200 - OK

Returns a list of service request regulated entity values with their ids, English and French display names.

Sample response body – Returns values for the specified service request id.

Example