Versions Compared

Key

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


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

3

get declaration details with expired token


401

4get declaration details with wrong id declaration
404

5get declaration details for another person
403 - forbidden
404 not found
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
403
can obtain declaration details
8get declaration details for blocked person
401

9get declaration details for a person with psw expired
401 -  password_expired
can view declaration details






...