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 | 200, there is no compare to saved data |
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 |
| 422 | 200 |
ЕСОЗ - публічна документація
General
Content
Integrations