Purpose
This service must be used to discover service requests by requisition number.
Specification
Logic
This service must be used to discover service requests by requisition number. If nothing found by requisition number - it will return empty list
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
requisition | String | A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier |
| |
status | String | The status of the service request. Default: active |
| |
page | Number | Page number |
| |
page_size | Number | A limit on the number of objects to be returned, between 1 and 100. Default: 50 |
|
Request structure
API paragraph not found
Authorize
Verify the validity of access token
Return (401, 'unauthorized') in case of validation fails
Verify that token is not expired
in case of error - return (401, 'unauthorized')
Check user scopes in order to perform this action (scope = 'service_request:read')
Return (403, 'invalid scopes') in case of invalid scope(s)
Request to process the request using a token in the headers
Headers
Наприклад:
Content-Type:application/json
Authorization:Bearer mF_9.B5f-4.1JqM
api-key:aFBLVTZ6Z2dON1V
Request data validation*
API paragraph not found
Processing
Service logic
Return all service requests filtered by request parameters
exact match for requisition number and status
Response structure*
See on Apiary
Example:
Post-processing processes
API paragraph not found