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

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 10 Next »

Purpose

This method allows to get all existing in legal entity contracts 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. Search contracts in DB according to requested query parameters

    1. If contractor_legal_entity_id from contract according to requested parameters not equal client_id from token, show 404 Not found instead

  2. Exclude deleted records (is_active = false)

  • No labels