/
Sign Contract Request by MSP tests
ЕСОЗ - публічна документація
Sign Contract Request by MSP tests
n/n | Description | Inputs | expected result | actual result |
---|---|---|---|---|
SCR_MSP1 | Sign Contract Request without scope |
| 403 | 403, Your scope does not allow to access this resource. Missing allowances: contract_request:sign |
SCR_MSP2 | Sign Contract request by NHS |
| 403 | 403, Your scope does not allow to access this resource. Missing allowances: contract_request:sign |
SCR_MSP3 | Sign Contract Reuqest in status<>'NHS_SIGNED' |
| 422 | 422, Incorrect status for signing |
SCR_MSP4 | Sign Contract Reuqest with ID doesn't exist |
| 404 | 404, not_found |
SCR_MSP5 | Sign contract request with drfo<>contractor_owner_id.party.tax_id |
| 422 | 422, Does not match the signer drfo |
SCR_MSP6 | Sign contract request with renamed division |
| 422 | 422, in case division was renamed after Get_contract_request_ details WS was called get 200 |
SCR_MSP7 | Sign Signed contract request |
| 422 | 422, Incorrect status for signing |
SCR_MSP8 | Sign contract request with start_date < current_date (for contract request that doesn`t related with existing contract) |
| 422 | 422, Start date must be greater than create date should be "Start date must be greater than current date" |
SCR_MSP9 | Sign contract request with token by MSP and not signer |
| 200 | 403, Your scope does not allow to access this resource. Missing allowances: contract_request:sign |
SCR_MSP10 | Sign contract request with contract_number and terminated contract by this contract_number |
| 422 | 500 |
SCR_MSP11 | Sign contract request with contract_number (existing contract in status='VERIFIED) and contractor_employee_divisions |
| 422 | 500 |
SCR_MSP12 | Sign contract request with token of another legal entity |
| 422 | 403, User is not allowed to perform this action |
SCR_MSP13 | Update existing contract by signing new contract request |
| 200, copy employee_divisions | 500 |
SCR_MSP | sign CR by MSP with correct tax_id and surname |
| 200 | 200 |
SCR_MSP | sign CR by MSP with correct tax_id and surname but with CR previously signed not by NHS |
| 422 | 200 |
SCR_MSP | sign CR by MSP with correct tax_id and incorrect owner surname in DS |
| 422 | 422 |
SCR_MSP | sign CR by MSP with incorrect tax_id and correct owner surname in DS |
| 422 | 422 |
SCR_MSP | sing changed CR by MSP with correct tax_id and surname |
| 422 | 422 |
, multiple selections available,
Related content
Sign Contract Request by NHS tests
Sign Contract Request by NHS tests
More like this
Initialize Contract Request tests
Initialize Contract Request tests
More like this
Create Contract Request tests
Create Contract Request tests
More like this
Decline Contract Request tests
Decline Contract Request tests
More like this
Approve Contract Request by NHS tests
Approve Contract Request by NHS tests
More like this
Update Contract Request tests
Update Contract Request tests
More like this
ЕСОЗ - публічна документація