n/n | description | inputs | step by step script | expected result | actual result | actual result FE |
---|---|---|---|---|---|---|
1 | Get Printout content by CR ID | contract request ID in statuses:
|
| 200 printout_content | error with some contract_requests, ex. contract_request.id=23b66fb7-64d3-4f4d-b5e5-bf18034e2741 | |
2 | Get Printout content by CR ID with incorrect status | contract request ID in statuses
| -//- | 409 Error ('Incorrect status of contract_request to generate printout form') | 409 "message": "Incorrect status of contract_request to modify it | |
3 | Get Printout content by CR ID by LE | Get Printout content by CR ID | -//- | 200 printout_content | 200 | |
4 | Get Printout content by CR ID by LE for another LE | Get Printout content by CR ID LE in token <> LE in CR | -//- | 403 "User is not allowed to perform this action" | 403 "User is not allowed to perform this action" | |
5 | Get Printout content by CR ID w/o token | Get Printout content by CR ID | -//- | 401 "message": "Authorization header is not set or doesn't contain Bearer token" | ||
6 | Get Printout content by CR ID w/o scopes | -//- | 403 | 403 "message": "Your scope does not allow to access this resource. Missing allowances: contract_request:read", | ||
7 | Get Printout content by incorrect CR ID | Get Printout content by incorrect CR ID | -//- | 404 ("Contract request with id=$id doesn't exist") | 404 "type": "not_found" | |
8 | Get Printout content by CR ID by not active user | Get Printout content by CR ID
| -//- | 403 - (user is not active) | 401 "message": "Invalid access token" | |
9 |
Page Comparison
General
Content
Integrations