PortalFirma

api-integration · Vehicle

Vehículos

Informes y CAV por patente. fullReport y cav usan callbackUrl.

POST{URL}/vehicle/fullReport

Informe completo de vehículo (callback asíncrono).

Body
{
  patente: string,
  callbackUrl: string
}
Headers
id
{api-key}
Auth
Bearer
{token}

Response

Success
{
  success: true,
  data: { /* ack / job */ },
  error: null
}
Error
{
  success: false,
  data: null,
  error: <error description>
}
POST{URL}/vehicle/coreReport

Informe core síncrono por patente.

Body
{
  patente: string
}
Headers
id
{api-key}
Auth
Bearer
{token}

Response

Success
{
  success: true,
  data: { /* informe */ },
  error: null
}
Error
{
  success: false,
  data: null,
  error: <error description>
}
POST{URL}/vehicle/cav

Solicita CAV con callback.

Body
{
  patente: string,
  callbackUrl: string
}
Headers
id
{api-key}
Auth
Bearer
{token}

Response

Success
{
  success: true,
  data: { /* ack */ },
  error: null
}
Error
{
  success: false,
  data: null,
  error: <error description>
}