Table of Contents |
---|
Purpose
This method allows to get all existing in legal entity contracts with GB_CBP type through the MIS
Specification
Page Properties | |||
---|---|---|---|
| |||
|
...
|
Logic
Only authenticated and authorized user can use this service
Deleted records won't be shown in response
Request structure
See Apiary
Authorize
Verify the validity of api-key
Return 401 in case validation fails
Verify the validity of token
Return 401 in case validation fails
Check scopes in order to perform this action (scope = 'contract:read')
Return 403 in case invalid scope(s)
...
Headers
Request data validation
Processing
Search contracts in DB according to requested query parameters
If contractor_legal_entity_id from contract according to requested parameters not equal client_id from token, show 404 Not found instead
Exclude deleted records (is_active = false)
Response structure
See Apiary
Expand | ||
---|---|---|
| ||
|