Skip to main content

Cancel TED Batch Schedule Transaction

Request

ENDPOINT
/account/ACCOUNT_KEY/ted_schedule_batch/SCHEDULE_BATCH_KEY/cancel
METHOD
PATCH

Path Params

FieldTypeDescriptionCharacters
account_keyuuidv4Unique account identification key.36
schedule_batch_keyuuidv4Unique schedule batch identification key36

Response

STATUS
200
Response Body: Cancelled Schedule
{
"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": {}
}
STATUS
4xx
Response Body: Error
{
"title": "titulo",
"description": "description in English",
"translation": "descrição em portugues",
"code": "codigo",
"extra_fields": {}
}
HTTP Code
status
QI Code
code
Title
title
Description (eng)
description
Description (ptbr)
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