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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

n/ndescriptioninputsexpected resultstep by step scriptactual result
1get declaration detailsdeclaration id200 declaration detail

log in

get declaration details

add some fields to response according to apiary
2get 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
4get declaration details with wrong id declaration
404
404
5get declaration details for another person
403 - forbidden

404 not found

500

6get declaration details with different tax_id in user and person
403
got declaration details. Should be forbidden
7get declaration details for a person w/o role Cabinet global_roles
403
can obtain declaration details
8get declaration details for blocked person
401
401
9get declaration details for a person with psw expired
401 -  password_expired







  • No labels