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

Terminate declaration online

n/n
description
inputs
expected result
step by step script
actual result
TD1Terminate active Declaration 
  • token
  • id
200, status='TERMINATED'
  • log in
  • id
200, status='TERMINATED'
TD2Terminate active Declaration  w/o scopes
  • token
  • id
403, forbidden
  • log in
  • id
403, Your scope does not allow to access this resource. Missing allowances: declaration:terminate
TD3

Terminate Declaration  person<>token.person

  • token
  • id (wrong person_id)
403
  • log in
  • id
403
TD4Terminate Declaration  doesn't exist
  • token
  • id
404
  • log in
  • id
404
TD5Terminate terminated Declaration 
  • token
  • id
409
  • log in
  • id
404
TD6
  • token
  • id
422

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