Versions Compared

Key

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


n/ndescriptioninputsexpected resultstep by stepactual result
1get declaration list
200
  • log in 
  • get declaration list
200
2get declaration list w/o scopes

401

Your scope does not allow to access this resource.

Missing allowances: declaration:read

  • log in 
  • get declaration list
"message": "Invalid access token",
"type": "access_denied"
3get declaration list w/o token
401
  • log in 
  • get declaration list

4get declaration list with expired token

401

  • log in 
  • get declaration list

5get declaration list with different tax_id in user and person
403
  • log in 
  • get declaration list
can obtain declaration list
6get declaration list for blocked person
401
  • log in 
  • get declaration list

7get declaration list for a person w/o role Cabinet
403
  • log in 
  • get declaration list
can obtain declaration list
8get declaration list with filters
  • status
  • start_year
  • page
  • page_size
200
  • log in 
  • get declaration list

9get declaration list with psw expired
401 password_expired
can obtain declaration list