/api/v1/web/agencias/listar
Servicio del modulo General.
Detalles técnicos
- Endpoint: /api/v1/web/agencias/listar
- Método:
GET
🌐 Dominios
QA
https://qaservicesapp.shalomcontrol.com/api/v1/web/agencias/listar
Producción
| Clave |
Valor |
Requerido |
Content-Type |
application/x-www-form-urlencoded |
Sí |
Authorization |
Bearer <token> |
Sí |
| Api-Key-App-Rastrea |
N/A |
No |
| Accept |
/ |
Sí |
📩 Request
📤 Response
{
"success": true,
"message": "Lista de agencias.",
"data": [
{
"ter_id": 3,
"ter_abrebiatura": "CHH",
"zona": "CHACHAPOYAS",
"ter_zona": "ORIENTE 1",
"provincia": "CHACHAPOYAS",
"departamento": "AMAZONAS",
"lugar": null,
"latitud": "-6.238673290149498",
"longitud": "-77.86800826533634",
"sp": "2",
"imagen": "img/local.jpg",
"direccion": "JR. DOS DE MAYO CDRA. 15 S/N CHACHAPOYAS, REFERENCIA: JUNTO A TERMINAL DE COMBIS ETSA",
"telefono": "(01) 500 7878",
"hora_atencion": "LUNES A VIERNES - 8AM A 8PM",
"hora_domingo": "DOMINGOS - 8:00 AM A 5:00 PM",
"hora_entrega": null,
"hora_entrega_domingo": null,
"detalles": "La carga pesada o voluminosa deberán ser depositados 3 horas antes de del horario de partida para garantizar su salida. (Sujeto a evaluación)",
"horario_atencion_lunes_inicio": "08:00:00",
"horario_atencion_lunes_fin": "20:00:00",
"horario_atencion_sabado_inicio": "08:00:00",
"horario_atencion_sabado_fin": "20:00:00",
"horario_atencion_domingo_inicio": "08:00:00",
"horario_atencion_domingo_fin": "17:00:00",
"estadoAgencia": "ATENDIENDO EN ESTE MOMENTO",
"nombre": "AMAZONAS / CHACHAPOYAS / CHACHAPOYAS / CHACHAPOYAS CO DOS DE MAYO",
"lugar_over": "CHACHAPOYAS CO DOS DE MAYO",
"ter_tipo_destino": "destinos48",
"ter_tipo_conexion": "",
"ter_estado_agente": "0",
"ter_reparto_habilitado": "1",
"ter_habilitado_OS": 1,
"origen": 1,
"destino": 1,
"web": 1,
"ter_aereo": 1,
"ter_estado_pro": "0",
"ter_principal": 1,
"ter_internacional": 1,
"dep_id": 1,
"prov_id": 1,
"dist_id": 1,
"ubi_id": 10101,
"origenes_aereos": [
2,
4,
5,
6,
7,
8,
9,
10
],
"destinos_aereos": [
7,
8,
9,
10,
11,
12,
13,
],
ter_categoria": "GRANDE / CO",
"ter_categoria_envia": "HASTA 1500 KG",
"ter_categoria_recibe": "HASTA 1500 KG"
},
{
"ter_id": 704,
"ter_abrebiatura": "ACA2",
"zona": "LEVANTO",
"ter_zona": null,
"provincia": "CHACHAPOYAS",
"departamento": "AMAZONAS",
"lugar": null,
"latitud": null,
"longitud": null,
"sp": null,
"imagen": null,
"direccion": "Casita343",
"telefono": null,
"hora_atencion": null,
"hora_domingo": null,
"hora_entrega": null,
"hora_entrega_domingo": null,
"detalles": null,
"horario_atencion_lunes_inicio": null,
"horario_atencion_lunes_fin": null,
"horario_atencion_sabado_inicio": null,
"horario_atencion_sabado_fin": null,
"horario_atencion_domingo_inicio": null,
"horario_atencion_domingo_fin": null,
"estadoAgencia": "ATENDIENDO EN ESTE MOMENTO",
"nombre": "AMAZONAS / CHACHAPOYAS / LEVANTO / Prueba4aa",
"lugar_over": "Prueba4aa",
"ter_tipo_destino": null,
"ter_tipo_conexion": null,
"ter_estado_agente": null,
"ter_reparto_habilitado": "0",
"ter_habilitado_OS": 0,
"origen": 0,
"destino": 0,
"web": 0,
"ter_aereo": 1,
"ter_estado_pro": null,
"ter_principal": 0,
"ter_internacional": 0,
"dep_id": 1,
"prov_id": 1,
"dist_id": 11,
"ubi_id": 10111,
"origenes_aereos": [
2,
3,
4,
],
"destinos_aereos": [
2,
3,
4,
5,
6,
7,
8
],
"ter_categoria": "Terminal",
"ter_categoria_envia": "",
"ter_categoria_recibe": ""
}
]
}
📍 Contexto funcional (Dónde se usa)
- Módulo principal → Inicializacion
- Evento:
- Uso: llamado desde servicios/bloc/pantallas del flujo asociado.
🖼️ Pantallazos
📂 Archivos Flutter relacionados
-
- Referencia principal en capa Services del módulo.
🗒️ Notas adicionales
-
- Request/Response exactos pueden variar según pantalla y body enviado desde Bloc.