跳到主要内容

取消 TED 交易调度

请求

ENDPOINT
/account/ACCOUNT_KEY/ted_schedule/SCHEDULE_KEY/cancel
方法
PATCH

Path Params

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

响应

STATUS
200
Response Body: 已取消调度
{
"request_control_key": "b6804f32-101e-4702-8fbc-c2dbc4c2caec",
"schedule_key": "f64b3fa7-d09d-4927-ad4f-b966df9fb153",
"schedule_status": "cancelled",
"schedule_date": "2024-12-31"
}
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
400TED000044Invalid Timestamp Format sentGiven parameter is not in the correct format {timestamp_format}Parametro enviado não está no formato correto {timestamp_format}
400TED000045Search Params ErrorInvalid integer value for page or size querystring parametersValor inválido para parâmetros de página ou tamanho de página
400TED000046Invalid uuid v4 string sent{key} was not accepted for not being a valid uuid v4 string{key} não foi aceito por não ser uma palavra uuid v4 válida
404TED000093TedSchedule not FoundTedSchedule was not foundTedSchedule não encontrada
400TED000094Bad RequestTed Schedule cannot be cancelled in current statusAgendamento Ted não pode ser cancelado no status atual
400TED000095Bad RequestThe given Ted Schedule is tied to a batch. It cannot be individually cancelledO agendamento Ted enviado está ligado a um lote. Ela não pode ser individualmente cancelada
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
400TED000108Number of transfer attempts exceededThe maximum number of failed transfer attempts has been reachedNúmero máximo de tentativas de transferência foi atingida