Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
200200
AK2Invoke any endpoint from the MIS list with access_token only
  • access_token
401403401
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
401403401
AK5Invoke GET /api/clients
  • api-key only
401403401
AK6Invoke GET /api/employees
  • api-key only
403401401
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 should be NULL= 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