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

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

Version 1 Next »

n/n testDescriptioninputsexpected resultstep by step scriptactual result

update mpi with valid tokensigned person jsonperson is updated


update other mpi signed person json403


update mpi with expired token
401 "The access token expired"


update mpi with different tax_id in user and person
403 "person is incorrect and could not be updated"


try to change tax_id, first, last or/and second name
409 $.tax_id($.first_name...) could not be changed


enter phone number that is not verified
422 - authentication number is not verified


sign update with invalid DS, different tax_id
409 (Person that loged in, person that is changed and person that sign should be the same)


do not sign update




set "process_disclosure_data_consent"=false




change mpi w/o Cabinet




change w/o necessary scopes ( scope "person:write")
403 - "Your scope does not allow to access this resource. Missing allowances: person:write"


update inactive person
409


update blocked person




enter incorrect dictionary data 
422 - value is not allowed in enum


update person with age <14 and document type not birth certificate
422  - Must contain required item BIRTH_CERTIFICATE.


change authentication number
422 - OFFLINE method could not be used in cabinet 


enter incorrect address




enter only one type of address
422







  • No labels