ЕСОЗ - публічна документація
Get declaration request list via Cabinet (tests)
n/n | description | inputs | step by step script | expected result | actual result |
---|---|---|---|---|---|
1 | get declaration request list in Cabinet |
| 200 | 200 | |
2 | get declaration request list with expired token |
| 401 | 401 message": "Invalid access token", | |
3 | get declaration request list w/o token |
| 401 | 401 | |
4 | get declaration request list with filters |
|
| 200 | 200 |
5 | get declaration request list w/o scopes |
| 403 | 403 "message": "Your scope does not allow to access this resource. Missing allowances: declaration_request:read" | |
6 | get declaration request list with different tax_id in person and users |
| 401 | 401 "message": "Person not found" | |
7 | get declaration request list by blocked user |
| 401 - access denied |
ЕСОЗ - публічна документація