POST api/PostDireccionBulk
Request Information
URI Parameters
None.
Body Parameters
Collection of Direccion| Name | Description | Type | Additional information |
|---|---|---|---|
| idDireccion | globally unique identifier |
None. |
|
| calle | string |
None. |
|
| numExterior | string |
None. |
|
| numInterior | string |
None. |
|
| EntreCalle1 | string |
None. |
|
| EntreCalle2 | string |
None. |
|
| codSepomex | string |
None. |
|
| latitud | decimal number |
None. |
|
| longitud | decimal number |
None. |
|
| Sepomex | Sepomex |
None. |
|
| TPA | Collection of TPA |
None. |
|
| TPA1 | Collection of TPA |
None. |
|
| RazonSocial | Collection of RazonSocial |
None. |
|
| Clientes | Collection of Clientes |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"idDireccion": "75584902-e188-40bb-aaf9-35b1c4cf25b3",
"calle": "sample string 2",
"numExterior": "sample string 3",
"numInterior": "sample string 4",
"EntreCalle1": "sample string 5",
"EntreCalle2": "sample string 6",
"codSepomex": "sample string 7",
"latitud": 1.1,
"longitud": 1.1,
"Sepomex": {
"$id": "3",
"id": "e55e5156-42af-47a7-ab8f-351e2c2e7d4f",
"codigo": "sample string 2",
"d_codigo": "sample string 3",
"d_asenta": "sample string 4",
"d_tipo_asenta": "sample string 5",
"D_mnpio": "sample string 6",
"d_estado": "sample string 7",
"d_ciudad": "sample string 8",
"d_CP": "sample string 9",
"c_estado": "sample string 10",
"c_oficina": "sample string 11",
"c_CP": "sample string 12",
"c_tipo_asenta": "sample string 13",
"c_mnpio": "sample string 14",
"id_asenta_cpcons": "sample string 15",
"d_zona": "sample string 16",
"c_cve_ciudad": "sample string 17",
"Direccion": {
"$id": "4",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
},
"TPA": {
"$id": "5",
"$values": [
{
"$id": "6",
"idTPA": "6094353d-efcb-4012-81e9-224c2836e145",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-11-30T13:12:13.7919825+00:00",
"fecBaja": "2026-11-30T13:12:13.7919825+00:00",
"fecActivacion": "2026-11-30T13:12:13.7919825+00:00",
"fecInactivacion": "2026-11-30T13:12:13.7919825+00:00",
"idDireccionComercial": "3e6cca8c-52d7-470c-8b69-b03ed08b59d0",
"idDireccionFiscal": "db4e239c-642e-493f-92cb-799bb456e033",
"sitioWEB": "sample string 9",
"Direccion": {
"$ref": "2"
},
"Direccion1": {
"$ref": "2"
}
},
{
"$ref": "6"
}
]
},
"TPA1": {
"$id": "7",
"$values": [
{
"$ref": "6"
},
{
"$ref": "6"
}
]
},
"RazonSocial": {
"$id": "8",
"$values": [
{
"$id": "9",
"idRazonSocial": "882c9044-158e-4fba-85d0-624085baefd3",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "506fffce-8ddc-4ac4-902c-bee9f7132c09",
"idDireccionFiscal": "e3021c3b-a52c-4024-8d6a-d256b55293f8",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "30270dc1-6faf-4385-b5e6-e82d62c3cf8f",
"idTPA": "16df891b-8faf-4e32-b2a9-7c415f7147bf",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "46f5a2ae-8bf4-4e57-a5db-2f3aff3213c6",
"status": true,
"fecAlta": "2026-11-30T13:12:13.7919825+00:00",
"fecActivacion": "2026-11-30T13:12:13.7919825+00:00",
"fecInactivacion": "2026-11-30T13:12:13.7919825+00:00",
"idDireccionComercial": "9f33d25d-972f-4acd-b7f3-56b5b5e75c90",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "78c454d0-4922-4ea6-843c-7e7df43fc60b",
"idCliente": "1f741aac-2c68-4372-aba1-bc9ae3e55301",
"idPersona": "dba151f3-5410-4b77-a480-031fb35b5769",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "447dc2f3-c69e-4e95-a220-c65abffd5e68",
"idPlaza": "445e1d93-aee6-4d87-af0b-dc7e6f566dff",
"idCentroCostos": "864e1d64-733c-46cd-bdee-c3c6445642c9",
"idDepartamento": "ae492471-683c-445d-9328-9e36660dbbd0",
"idPuesto": "9bd378e3-3a30-4bb8-a961-5a70cffe5766",
"Clientes": {
"$ref": "11"
}
},
{
"$ref": "13"
}
]
}
},
{
"$ref": "11"
}
]
}
},
{
"$ref": "9"
}
]
},
"Clientes": {
"$id": "14",
"$values": [
{
"$ref": "11"
},
{
"$ref": "11"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Direccion| Name | Description | Type | Additional information |
|---|---|---|---|
| idDireccion | globally unique identifier |
None. |
|
| calle | string |
None. |
|
| numExterior | string |
None. |
|
| numInterior | string |
None. |
|
| EntreCalle1 | string |
None. |
|
| EntreCalle2 | string |
None. |
|
| codSepomex | string |
None. |
|
| latitud | decimal number |
None. |
|
| longitud | decimal number |
None. |
|
| Sepomex | Sepomex |
None. |
|
| TPA | Collection of TPA |
None. |
|
| TPA1 | Collection of TPA |
None. |
|
| RazonSocial | Collection of RazonSocial |
None. |
|
| Clientes | Collection of Clientes |
None. |
Response Formats
application/json, text/json
Sample:
{
"idDireccion": "7a9702f7-73d9-43cf-9378-1547fc8579b1",
"calle": "sample string 2",
"numExterior": "sample string 3",
"numInterior": "sample string 4",
"EntreCalle1": "sample string 5",
"EntreCalle2": "sample string 6",
"codSepomex": "sample string 7",
"latitud": 1.1,
"longitud": 1.1,
"Sepomex": {
"$id": "2",
"id": "550831cb-d531-41df-a83d-f2a059ed345a",
"codigo": "sample string 2",
"d_codigo": "sample string 3",
"d_asenta": "sample string 4",
"d_tipo_asenta": "sample string 5",
"D_mnpio": "sample string 6",
"d_estado": "sample string 7",
"d_ciudad": "sample string 8",
"d_CP": "sample string 9",
"c_estado": "sample string 10",
"c_oficina": "sample string 11",
"c_CP": "sample string 12",
"c_tipo_asenta": "sample string 13",
"c_mnpio": "sample string 14",
"id_asenta_cpcons": "sample string 15",
"d_zona": "sample string 16",
"c_cve_ciudad": "sample string 17",
"Direccion": {
"$id": "3",
"$values": [
{
"$ref": "1"
},
{
"$ref": "1"
}
]
}
},
"TPA": {
"$id": "4",
"$values": [
{
"$id": "5",
"idTPA": "786fae3f-f5c4-47b4-9394-ddafa0d86ba6",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-11-30T13:12:13.7919825+00:00",
"fecBaja": "2026-11-30T13:12:13.7919825+00:00",
"fecActivacion": "2026-11-30T13:12:13.7919825+00:00",
"fecInactivacion": "2026-11-30T13:12:13.7919825+00:00",
"idDireccionComercial": "79f87ec2-82a7-4bf3-9920-fd3fffce7db6",
"idDireccionFiscal": "6f83750f-8603-4e0e-9f1a-63b7f4fc46d8",
"sitioWEB": "sample string 9",
"Direccion": {
"$ref": "1"
},
"Direccion1": {
"$ref": "1"
}
},
{
"$ref": "5"
}
]
},
"TPA1": {
"$id": "6",
"$values": [
{
"$ref": "5"
},
{
"$ref": "5"
}
]
},
"RazonSocial": {
"$id": "7",
"$values": [
{
"$id": "8",
"idRazonSocial": "44d72710-5ff3-4670-a6c7-516f8c1811ef",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "12126fa3-1260-4fc1-89af-b0d48bce30bd",
"idDireccionFiscal": "f8115a21-f336-4302-95f8-7ad77c63545e",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "a47df957-2276-4469-be5c-8f7e9efe25bc",
"idTPA": "6317f739-2a19-4f1c-aaf3-9e33f826f1a9",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "3c00b293-5fd4-4a46-8aba-1e0686d952cc",
"status": true,
"fecAlta": "2026-11-30T13:12:13.7919825+00:00",
"fecActivacion": "2026-11-30T13:12:13.7919825+00:00",
"fecInactivacion": "2026-11-30T13:12:13.7919825+00:00",
"idDireccionComercial": "2bd515d2-df01-41d3-8f4e-eb397c6325f8",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "ebcb3c82-b6f6-4e63-980c-603abeba6aa5",
"idCliente": "62cb668c-991b-4d31-9287-e5b5117b5243",
"idPersona": "4e896abb-0ee9-4e52-9498-b7218c039b31",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "466fc464-4049-4c5f-b997-199168527f53",
"idPlaza": "11adee12-798b-4aff-a134-55b24ca5478c",
"idCentroCostos": "a2689c6f-1693-4d7f-8921-b2f7c0f71639",
"idDepartamento": "7c1ddc63-a48e-4827-8cc2-e61798f3e60e",
"idPuesto": "828359d1-9491-410a-bc18-71752362a18f",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}