n/n | description | inputs | expected result | step by step script | actual result |
---|---|---|---|---|---|
CDR1 | Create Declaration Request |
| 200, created declaration request |
|
|
CDR2 | Create Declaration Request w/o scopes |
| 403, forbidden |
| 403, forbidden, Your scope does not allow to access this resource. Missing allowances: declaration_request:write |
CDR3 | Create Declaration Request person<>token.person |
| 403 |
| 403, forbidden |
CDR4 | Create Declaration Request inactive division |
| 422 |
| |
CDR5 | Create Declaration Request dismissed doctor |
| 422 |
| |
CDR6 | Create Declaration Request different tax_id in user and person |
| 422 |
| |
CDR7 | Create Declaration Request doctor doesn't belong to division |
| 422 |
| |
CDR8 | Create Declaration Request doctor doesn't meet patients' age |
| 422 |
| |
CDR9 | Create Declaration Request for patient with existing declaration and authentificaion_method |
| 422 |
| |
CDR10 | Create Declaration Request with employee_type<>DOCTOR |
| 422 |
| |
CDR11 | Create Declaration Request with doctor who reached limit |
| 422 |
|
ЕСОЗ - публічна документація
General
Content
Integrations