n/n | Description | Inputs | expected result | actual result |
---|---|---|---|---|
SCR_NHS1 | Sign Contract Request without scope |
| 403 | 403, "Your scope does not allow to access this resource. Missing allowances: contract_request:sign" |
SCR_NHS2 | Sign Contract request by MSP |
| 403 | 403,Your scope does not allow to access this resource. Missing allowances: contract_request:sign |
SCR_NHS3 | Sign Contract Reuqest in status<>'APPROVED' |
| 422 | 422, Incorrect status of contract_request to modify it |
SCR_NHS4 | Sign Contract Reuqest with ID doesn't exist |
| 404 | 404 |
SCR_NHS5 | Sign contract request with drfo<>nhs_signer_id.party.tax_id |
| 422 | 422, Does not match the signer drfo |
SCR_NHS6 | Sign contract request with renamed division |
| 422 | 422, Signed content does not match the previously created content |
SCR_NHS7 | Sign Signed contract request |
| 422 | 422, The contract was already signed by NHS |
SCR_NHS8 | Sign contract request with invalid start_date |
| 422 | 422, Start date must be greater than create date |
SCR_NHS9 | Sign contract request with token by NHS and not signer |
| 200 | 200 |
SCR_NHS10 | Sign contract request with contract_number and terminated contract by this contract_number |
| 409 | 409, Parent contract can’t be updated |
SCR_NHS11 | Sign CR by NHS with DS and stamp |
| 200 | 200 |
SCR_NHS | Sign CR by NHS with DS only |
| 422 | |
SCR_NHS | Sign CR by NHS with stump only |
| 422 | |
SCR_NHS | Sign CR by NHS with different surname in DS and DB |
| 422 | |
SCR_NHS | Sign CR by NHS Signer, login with Admin |
| 200 | |
SCR_NHS | Sign CR by NHS Admin, login with NHS Signer |
| 422 | |
SCR_NHS | Sign CR by NHS with correct DS and incorrect stump |
| 422 | |
SCR_NHS | Sign CR by NHS with incorrect DS and correct stump |
| 422 |
ЕСОЗ - публічна документація
General
Content
Integrations