Table of Contents |
---|
Purpose
This method allows to get existing in legal entity contract by its id with GB_CBP type through the MIS
Specification
...
is designed to get full information of contract by id
Specification
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Logic
Only authenticated and authorized user can use this service
Deleted records won't be shown in response
...
Request structure
See on Apiary
Headers
Content-Type:application/json
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
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:
...
write')
Return 403 in case invalid scope(s)
...
Request data validation
API paragraph not found
Processing
Show requested contract.
If requested contract type not GB_CBP, show 404 Not found instead
If requested contract was deleted (is_active = false) or not exist, show 404 Not found instead
If contractor_legal_entity_id from requested contract id not equal client_id from token, show 404 Not found instead
Response structure
See on Apiary
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
Post-processing processes
API paragraph not found
HTTP status codes
Page Properties | ||||||
---|---|---|---|---|---|---|
| ||||||
|