ЕСОЗ - публічна документація
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 result | actual result |
---|---|---|---|---|
AK1 | Invoke any endpoint from the MIS list with api-key only |
| 200 | 200 |
AK2 | Invoke any endpoint from the MIS list with access_token only |
| 401 | 401 |
AK3 | Invoke any endpoint from the MIS list with api_key and access_token |
| 200 | 200 |
AK4 | Invoke any endpoint from the MIS list with no headers |
| 401 | 401 |
AK5 | Invoke GET /api/clients |
| 401 | 401 |
AK6 | Invoke GET /api/employees |
| 401 | 401 |
AK7 | Invoke GET /api/clients |
| 200 | 200 |
AK8 | Invoke GET /api/employees |
| 200 | 200 |
AK9 | POST /api/legal_entities |
|
| |
AK10 | POST /api/legal_entities |
|
| |
AK11 | POST /api/legal_entities |
| 401 | 401 |
ЕСОЗ - публічна документація