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

Get declaration request list via Cabinet (tests)

n/ndescriptioninputsstep by step scriptexpected resultactual result
1get declaration request list in Cabinet
  • log in
  • get declaration request list in Cabinet
200200
2get declaration request list with expired token
  • log in
  • get declaration request list in Cabinet
401

401

message": "Invalid access token",

3get declaration request list w/o token
  • log in
  • get declaration request list in Cabinet
401401
4get declaration request list with filters
  • status 
  • start_year
  • page
  • page_size
  • log in
  • get declaration request list in Cabinet
200200
5get declaration request list w/o scopes
  • log in
  • get declaration request list in Cabinet
403

403

"message": "Your scope does not allow to access this resource. Missing allowances: declaration_request:read"

6get declaration request list with different tax_id in person and users
  • log in
  • get declaration request list in Cabinet
401

401

"message": "Person not found"

7get declaration request list by blocked user
  • log in
  • get declaration request list in Cabinet
401 - access denied

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