查询回执文件
提示
为确保当天的回执文件包含最新信息,请通过 回执文件对账例程 所示的轮询方式验证当天的信息是否已完成对账。
Request
ENDPOINT
/bank_slip/requester_profile/REQUESTER_PROFILE_CODE/cnab_filesMÉTODO
GETPath params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
requester_profile_code * | string | 催收钱包代码 | 10 |
Query params
| 字段 | 类型 | 描述 | 字符数 |
|---|---|---|---|
cnab_type * | enum | 文件类型 | 枚举值 |
from * | string | 分析周期的开始日期 | 10 |
to * | string | 分析周期的结束日期 | 10 |
Enumeradores cnab_type
| 字段 | 描述 |
|---|---|
| requester_discharge | 回执文件 |
Response
STATUS
200Response Body
{
"data": [
{
"cnab_key": "47361262-0853-4c51-9c2a-5284e0d8a5e1",
"company_code": null,
"created_at": "2020-05-06T11:04:25",
"downloads": [],
"file_size": "None",
"filename": "CNAB.RET",
"line_length": "400",
"remitter_key": "ab871cc8-8369-4b72-95f1-b074b30c7208",
"requester_profile_code": "329-01-0001-0000002",
"type": {
"created_at": "2019-03-12T12:59:32",
"enumerator": "requester_discharge",
"translation_path": "bank_slip.CNABFileType.requester_discharge"
},
"url": "https://linkparadownload.com/CNAB.RET",
"version": "11"
}
],
"pagination": {
"current_page": 1,
"next_page": null,
"rows_per_page": 100,
"total_pages": 1,
"total_rows": 1
}
}
STATUS
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}