ЕСОЗ - публічна документація
Initialize Contract Request tests
n/n | description | inputs | expected result | actual result |
---|---|---|---|---|
ICR1 | Create Contract Request | Legal entity owner acces token | 200, response consist valid statute_url and equipment_agreement_url | 200, |
ICR2 | Create Contract Request without scopes | Missing contract_request:create scope | 403, Your scope does not allow to access this resource. Missing allowances: contract_request:create | 403, Your scope does not allow to access this resource. Missing allowances: contract_request:create |
Reimbursement | ||||
ICR3 | Create Contract Request for reimbursement contract | Legal entity owner acces token | 200, response consist valid statute_url and equipment_agreement_url | 200, response consist valid statute_url and equipment_agreement_url |
ICR4 | Create Contract Request for reimbursement contract with wrong url | Legal entity owner acces token | 403 | 403 |
ICR5 | Create Contract Request for reimbursement contract with wrong token | Legal entity employee acces token | 403 | 403 "message": "Your scope does not allow to access this resource. Missing allowances: contract_request:create" |
ЕСОЗ - публічна документація