/
api-key test cases

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

api-key test cases

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

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
200200
AK2Invoke any endpoint from the MIS list with access_token only
  • access_token
401401
AK3Invoke any endpoint from the MIS list with api_key and access_token
  • api-key
  • access_token
200200
AK4Invoke any endpoint from the MIS list with no headers
  • no headers
401401
AK5Invoke GET /api/clients
  • api-key only
401401
AK6Invoke GET /api/employees
  • api-key only
401401
AK7Invoke GET /api/clients
  • api-key
  • access_token
200200
AK8Invoke GET /api/employees
  • api-key
  • access_token
200200
AK9POST /api/legal_entities
  • api-key only
  • 201
  • new legal entity is created in PRM
  • legal_entities.Inserted_by = sys_user_id

AK10POST /api/legal_entities
  • api-key
  • access_token
  • 201
  • new legal entity is created in PRM
  • legal_entities.Inserted_by = sys_user_id

AK11POST /api/legal_entities
  • access_token
401401

Related content

RC (PCAB) MIS authorization
RC (PCAB) MIS authorization
More like this
Show Login UI
Show Login UI
Read with this
MIS Authorization Test
MIS Authorization Test
More like this
Scopes model
Scopes model
Read with this
Qualify Service Request by id
Qualify Service Request by id
More like this
Auth. Authorize scopes (Deprecated)
Auth. Authorize scopes (Deprecated)
Read with this

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