跳到主要内容

取消 TED 批量调度

请求

ENDPOINT
/account/ACCOUNT_KEY/ted_schedule_batch/SCHEDULE_BATCH_KEY/cancel
方法
PATCH

Path Params

字段类型描述字符数
account_keyuuidv4账户的唯一标识键。36
schedule_batch_keyuuidv4批量调度的唯一标识键36

响应

STATUS
200
Response Body: 已取消调度
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_batch_key": "f64b3fa7-d09d-4927-ad4f-b966df9fb153",
"schedule_batch_status": "cancelled",
"created_at": "2023-03-13T19:00:28.440Z"
}
STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP 状态码
status
QI 代码
code
标题
title
描述(英文)
description
描述(葡文)
translation
400QIT000001Bad Requestschema error descriptionSchema Inválido
404TED000009Not FoundAccount not found for the given key: {account_key}Conta não encontrada para a chave fornecida: {account_key}
403TED000018UnauthorizedProvided account not owned by SELECTED_AGENTConta fornecida não pertencente ao SELECTED_AGENT
400TED000096Bad RequestAction cannot be taken place as there is currently a pending transfer in progressA ação não pôde ser completada como há uma transferência pendente
404TED000101TedBatch not FoundTedBatch was not foundTedBatch não encontrada
404TED000103ScheduleBatch not FoundTed Schedule Batch was not foundAgendamento de Ted em lote não encontrado
400TED000104Invalid StatusSchedule Batch cannot be cancelled in current statusLote de agendamento não pode ser cancelado no status atual
400TED000105Schedule Batch could not be cancelledScheduleBatch could not be cancelled due to current date being equal or after earliest schedule date. Cancel schedules one by oneScheduleBatch não pode ser cancelada devido a data atual ser superior ou igual à menor schedule_date. Cancele agendamentos individualmente