/api/self-management/reparto/ubigeo/distritos
Detalles técnicos
- Endpoint: /api/self-management/reparto/ubigeo/distritos
- Método:
POST
🌐 Dominios
QA
https://qapagalo.shalom.pe/api/self-management/reparto/ubigeo/distritos
Producción
| Etiqueta |
URL |
| Principal |
https://envia.shalom.pe/api/self-management/reparto/ubigeo/distritos |
| Región 2 |
https://envia.shalom.pe/api/self-management/reparto/ubigeo/distritos |
| Failover |
https://envia.shalom.pe/api/self-management/reparto/ubigeo/distritos |
| 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
{
"dep_id":"4",
"prov_id":"1"
}
📤 Response
{
"success": true,
"message": "Lista de distritos",
"data": [
{
"id": 1,
"name": "AREQUIPA",
"ubi_id": 40101
},
{
"id": 2,
"name": "ALTO SELVA ALEGRE",
"ubi_id": 40102
},
{
"id": 3,
"name": "CAYMA",
"ubi_id": 40103
},
{
"id": 4,
"name": "CERRO COLORADO",
"ubi_id": 40104
},
{
"id": 5,
"name": "CHARACATO",
"ubi_id": 40105
},
{
"id": 6,
"name": "CHIGUATA",
"ubi_id": 40106
},
{
"id": 7,
"name": "JACOBO HUNTER",
"ubi_id": 40107
},
{
"id": 8,
"name": "LA JOYA",
"ubi_id": 40108
},
{
"id": 9,
"name": "MARIANO MELGAR",
"ubi_id": 40109
},
{
"id": 10,
"name": "MIRAFLORES",
"ubi_id": 40110
},
{
"id": 11,
"name": "MOLLEBAYA",
"ubi_id": 40111
},
{
"id": 12,
"name": "PAUCARPATA",
"ubi_id": 40112
},
{
"id": 13,
"name": "POCSI",
"ubi_id": 40113
},
{
"id": 14,
"name": "POLOBAYA",
"ubi_id": 40114
},
{
"id": 15,
"name": "QUEQUENA",
"ubi_id": 40115
},
{
"id": 16,
"name": "SABANDIA",
"ubi_id": 40116
},
{
"id": 17,
"name": "SACHACA",
"ubi_id": 40117
},
{
"id": 18,
"name": "SAN JUAN DE SIGUAS",
"ubi_id": 40118
},
{
"id": 19,
"name": "SAN JUAN DE TARUCANI",
"ubi_id": 40119
},
{
"id": 20,
"name": "SANTA ISABEL DE SIGU",
"ubi_id": 40120
},
{
"id": 21,
"name": "SANTA RITA DE SIGUAS",
"ubi_id": 40121
},
{
"id": 22,
"name": "SOCABAYA",
"ubi_id": 40122
},
{
"id": 23,
"name": "TIABAYA",
"ubi_id": 40123
},
{
"id": 24,
"name": "UCHUMAYO",
"ubi_id": 40124
},
{
"id": 25,
"name": "VITOR",
"ubi_id": 40125
},
{
"id": 26,
"name": "YANAHUARA",
"ubi_id": 40126
},
{
"id": 27,
"name": "YARABAMBA",
"ubi_id": 40127
},
{
"id": 28,
"name": "YURA",
"ubi_id": 40128
},
{
"id": 29,
"name": "JOSE LUIS BUSTAMENTE",
"ubi_id": 40129
}
]
}
📍 Contexto funcional (Dónde se usa)
- Módulo Reparto a Domicilio → A donde lo llevamos
- Evento: Al ingresar a la vista "A donde lo llevamos".
- Uso: Lista los distritos segun e id de provincia y departamento.
🖼️ Pantallazos
-
Reparto a Domicilio:

📂 Archivos Flutter relacionados
🗒️ Notas adicionales
No hay comentarios para mostrar
No hay comentarios para mostrar