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 |
| 200 |
CDR5 | Create Declaration Request dismissed doctor |
| 422 |
| 422, Invalid employee status |
CDR6 | Create Declaration Request different tax_id in user and person |
| 422 |
| 422, Person's tax ID in not valid |
CDR7 | Create Declaration Request doctor doesn't belong to division |
| 422200 |
| 200 |
CDR8 | Create Declaration Request doctor doesn't meet patients' age |
| 422 |
| 200, doesn't check speciality |
CDR9 | Create Declaration Request for patient with existing declaration and authentificaion_method |
| 200, N/A |
| 200, N/A |
CDR10 | Create Declaration Request with employee_type<>DOCTOR |
| 422 |
| 422, Employee ID must reference a doctor |
CDR11 | Create Declaration Request with doctor who reached limit |
| 422 |
| 200 |
Page Comparison
General
Content
Integrations