get
https://api.caas.staging.bancocdc.com.br/operation/document/list/
The document retrieve route retrieves documents.
Attention point:
- In this route, it will be necessary to pass the operation code.
- The result will be the list of all documents already attached to the operation, with the purpose of providing guidance on what has already been sent.
Response
| Http Code | Return Code | Message |
|---|---|---|
| 200 | 200-01 | Success. |
| 400 | 400-01 | Something unexpected happened. |
| 400 | 400-02 | Invalid hash. |
| 401 | 401-05 | Unauthorized or token invalid. |
| 429 | 429-01 | Too many requests. |
Response Parameters
| Parameter | Format | Description |
|---|---|---|
| request_code | String | Request identification code. |
| return | Boolean | Indicates if the request was successful. |
| return_code | String | Return code of the request. |
| message | String | Return message of the request. |
| data | Array | Array containing retrieved document information. |
| data[].code | String | Document identification code. |
| data[].type | String | Type of document. |
| data[].description | String | Description of the document. |
| data[].created_at | String | Date and time when the document was created. |