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

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

« Previous Version 2 Next »

n/n testDescriptioninputsexpected resultstep by step scriptactual result
1update mpi with valid tokensigned person jsonperson is updated

sing-in

update mpi


2update other mpi signed person json403

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

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

5try to change tax_id, first or and last name 
409 $.tax_id($.first_name...) could not be changed
first and last name were changed
6enter phone number that is not verified
422 - authentication number is not verified
phone number was changed
7sign update with invalid DS, different tax_id
409 (Person that loged in, person that is changed and person that sign should be the same)

8do not sign update



9set "process_disclosure_data_consent"=false



10change mpi w/o Cabinet



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

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