ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Purpose

This method allows to get existing in legal entity contract by its id with GB_CBP type through the MIS

Specification

Apiary

WS logic

  1. Only authenticated and authorized user can use this service

  2. Deleted records won't be shown in response

Authentication

  1. Verify the validity of api-key

    1. Return 401 in case validation fails

  2. Check scopes in order to perform this action (scope = 'global_contracts:read')

    1. Return 403 in case invalid scope(s)

Process

  1. Show requested contract.

    1. If requested contract type not GB_CBP, show 404 Not found instead

    2. If requested contract was deleted (is_active = false) or not exist, show 404 Not found instead

    3. If contractor_legal_entity_id from requested contract id not equal client_id from token, show 404 Not found instead

  • No labels