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
403

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
403

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


get declaration list for a person w/o role Cabinet

  • log in 
  • get declaration list


get declaration list with filters
  • status
  • start_year
  • page
  • page_size
200
  • log in 
  • get declaration list