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

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

Below endpoints to be used by MIS with api-key only:

GET /admin/roles

GET /admin/roles/id

GET /api/events/id

GET /api/events

POST /api/legal_entities


n/n
description
inputs
expected resultactual result
AK1

Invoke any endpoint from the MIS list with api-key only

  • api-key only
200
AK2Invoke any endpoint from the MIS list with access_token only
  • access_token
403
AK3Invoke any endpoint from the MIS list with api_key and access_token
  • api-key
  • access_token
200
AK4Invoke any endpoint from the MIS list with no headers
  • no headers
403
AK5Invoke GET /api/clients
  • api-key only
403
AK6Invoke GET /api/employees
  • api-key only
403
AK7Invoke GET /api/clients
  • api-key
  • access_token
200
AK8Invoke GET /api/employees
  • api-key
  • access_token
200
AK9POST /api/legal_entities
  • api-key only
  • 201
  • new legal entity is created in PRM
  • legal_entities.Inserted_by should be NULL

AK10POST /api/legal_entities
  • api-key
  • access_token
  • 201
  • new legal entity is created in PRM
  • legal_entities.Inserted_by should be NULL

AK11POST /api/legal_entities
  • access_token
403
  • No labels