Listado de operadores logísticos
Se consultan los identificadores y nombres de los operadores logísticos que estan asociados al usuario
Request 🚀
url
https://aveonline.co/api/box/v1.0/transportadora.php
Method
POST
Header
Content-Type: application/json
Params JSON
- tipo*
StringEnrutador de la API, "listarTransportadorasPorEmpresaAuth" - token*
StringToken recibido en laAutenticacióncon vigencia de una hora - id*
NumberIdentificador del usuario dentro de AVEONLINE, se obtiene en laAutenticación
Ejemplo
{
"tipo":"listarTransportadorasPorEmpresaAuth",
"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9eyJzZXNzaW9uIjo5MzY4MiwiZXhwIjoxNjIzMzU5MTUwLCJhcHJvYmFkb3MiOls2MDc3g34ybhjrnkefmjuX0.r9NpCiuYhVU3m1W5KS0fHLtfM3NjLPZbbM2AEFgCNHo",
"id": 6077236
}
Response 📄
Success
- status
StringEstado del resultado - message
StringMensaje de respuesta - transportadoras
Array Object -> [{}]- id
NumberIdentificador de la transportadora para los procesos con AVE - text
StringNombre de la transportadora
- id
Ejemplo
{
"status": "ok",
"message": "registros encontrados",
"transportadoras": [
{
"id": 29,
"text": "ENVIA"
},
{
"id": 1018,
"text": "MENSAJEROS URBANOS"
},
{
"id": 1022,
"text": "SAFERBO"
},
{
"id": 33,
"text": "SERVIENTREGA"
},
{
"id": 1010,
"text": "TCC SA"
}
]
}
Error
No se encuentran datos asociados
{
"status": "error",
"message": "registros no encontrados",
"estados": []
}
Credenciales incorrectas o token expirado
{
"status": "error",
"message": "credenciales incorrectas"
}