SIFENDE
Referencia APIExplorador de la API

Consultar un evento por su id

GET
/api/v1/documento-electronico/eventos/{eventoId}
AuthorizationBearer <token>

API key de Sifende en el header Authorization: Bearer {api-key}. Además de autenticar, fija el contribuyente emisor y un ambiente inmutable DEV, PROD o SANDBOX: por eso ninguno de los dos se envía en el body. En PROD, la clave requiere un plan que incluya la API de integración; si no, toda ruta responde 403 plan-operation-not-allowed.

In: header

Path Parameters

eventoId*integer
Formatint64

Response Body

*/*

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/documento-electronico/eventos/0"
{  "eventoSifenId": 0,  "documentoElectronicoId": 0,  "contribuyenteId": 0,  "ambiente": "string",  "tipoEvento": "string",  "estadoEvento": "string",  "cdc": "string",  "motivo": "string",  "protocoloAutorizacion": "string",  "codigoRespuesta": "string",  "mensajeRespuesta": "string",  "fechaCreacion": "2019-08-24T14:15:22Z",  "fechaProcesamiento": "2019-08-24T14:15:22Z",  "numeroTimbrado": 0,  "establecimiento": "string",  "puntoExpedicion": "string",  "numeroInicio": "string",  "numeroFin": "string",  "tipoDocumento": 0,  "serieNumero": "string"}