Purpose
This method allows to get existing in legal entity contract by its id with GB_CBP type through the MIS
Specification
Logic
Only authenticated and authorized user can use this service
Deleted records won't be shown in response
Request structure
See on Apiary
Headers
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
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