Saltar al contenido principal
POST
Queue the sending of a saved RADIAN event

Autorizaciones

Authorization
string
header
requerido

Send your Cufea API key as Authorization: Bearer <key>.

Parámetros de ruta

invoice_id
string
requerido

Prefix and number, e.g. SETP990000001.

event_id
string
requerido

The saved event id, e.g. EV1.

Respuesta

Successful Response

The receipt of an event create or re-queue request.

code
enum<string>
requerido

030...034.

Opciones disponibles:
030,
031,
032,
033,
034
event_id
string
requerido

The saved event id, e.g. EV1.

invoice_id
string
requerido

The invoice the event belongs to.

send
enum<string>
requerido

queued: this call queued it. pending: one was already queued or running. sent: the DIAN already answered it. not_queued: the event is saved but the job queue failed; send it with POST .../events/{event_id}/send.

Opciones disponibles:
queued,
pending,
sent,
not_queued
not_before
string<date-time> | null

Projected instant the worker may send it; null when it was not queued or already has an answer.