ЕСОЗ - публічна документація
Get declaration details
n/n | description | inputs | expected result | step by step script | actual result |
---|---|---|---|---|---|
1 | get declaration details | declaration id | 200 declaration detail | log in get declaration details | add some fields to response according to apiary |
2 | get declaration details w/o scopes | 403 | 403 Your scope does not allow to access this resource. Missing allowances: declaration:read | ||
3 | get declaration details with expired token | 401 | 401 | ||
4 | get declaration details with wrong id declaration | 404 | 404 | ||
5 | get declaration details for another person | 403 - forbidden |
500 | ||
6 | 403 | got declaration details. Should be forbidden | |||
7 | get declaration details for a person w/o r | 403 | can obtain declaration details | ||
8 | get declaration details for blocked person | 401 | 401 | ||
9 | get declaration details for a person with psw expired | 401 - password_expired | |||
ЕСОЗ - публічна документація