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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

n/n
description
inputs
expected result GraphQlactual result GraphQl
TD1Terminate declaration without scopes
  • token
missing allowance declaration:terminate
TD2Terminate declaration  by doctor 
  • doctor token
403
TD3Terminate declaration  by ID doesn't exist
  • token
  • invalid id 
Could not decode ID valueCould not decode ID value
TD4Terminate declaration  by invalid ID 
  • token
  • {
    "input": {
    "id": "RGVjbGFyYXRpb246MGU0ZjE3ZTktMTgyZi00NTk0LTlhODMtM2E1ZTZmNTRhMDg2Cg=="
    }
    }
not_found

BAD_REQUES

TD5Terminate inactive declaration 
  • token
  • status - inactive
declaration status is not activeCONFLICT
Declaration is not active
TD6Terminate active declaration 
  • token
  • valid person id
200, status = `terminated`, reason = `manual_person`

Current client is not allowed to access this resource

TD7Terminate active declaration with reason more than 255 char
  • token
  • valid person id


  • No labels