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": "687c82b7-c022-4f1b-9fe3-8f51f0471cd4",
"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": "696c9698-39ae-4540-a8a9-239069535bd2",
"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": "0bd2aa6a-542b-4971-9c21-e736fd24f6cc",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-06T14:03:38.2261699+00:00",
"fecBaja": "2026-10-06T14:03:38.2261699+00:00",
"fecActivacion": "2026-10-06T14:03:38.2261699+00:00",
"fecInactivacion": "2026-10-06T14:03:38.2261699+00:00",
"idDireccionComercial": "e0c4aa23-e74d-43f7-aefd-03fd2e9f3de8",
"idDireccionFiscal": "c1e2aa29-73f2-4a3f-ad9d-2f64b7f8d8dc",
"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": "4621ae0a-aa0a-41ce-9bc4-050e518ed3f0",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "e7a82060-23c7-4339-a8f3-25553bcf8386",
"idDireccionFiscal": "95a64bbe-270d-4876-bd7c-2e8a1f3e6c6a",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "cd638ce4-cf7e-442b-8839-249aacfd2e8e",
"idTPA": "aac65d99-8461-4367-8f8f-c9bd85526b2e",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "5d3ae1e1-37af-47ac-a831-db3cccc1990e",
"status": true,
"fecAlta": "2026-10-06T14:03:38.2261699+00:00",
"fecActivacion": "2026-10-06T14:03:38.2261699+00:00",
"fecInactivacion": "2026-10-06T14:03:38.2261699+00:00",
"idDireccionComercial": "cd7ccacd-2f43-4efd-b153-1e9637d1c4db",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "ae96829a-9dfa-4f57-9666-93e0005c47f1",
"idCliente": "e057546a-1a43-4295-bf5c-925410b3b956",
"idPersona": "ee37d34e-de55-4e91-8c8a-76b913865c58",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "2644e2e5-7025-47a7-9157-21bb10bad483",
"idPlaza": "942a69f2-0c07-4868-a17b-8a263253b498",
"idCentroCostos": "9ef806ce-5ab5-4274-8abb-48c6efc9c0c3",
"idDepartamento": "182b1124-b56e-46fe-8aed-9c31fa94f551",
"idPuesto": "de048f9b-1b1e-4140-a792-1c992d80c934",
"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": "89913bb5-44c8-4c81-9d60-dc032b478fd0",
"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": "655e3a90-fca8-49ba-a515-01722f0189fe",
"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": "0cfb3f1c-60aa-4171-a2db-0d22e9fc3f68",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-06T14:03:38.2261699+00:00",
"fecBaja": "2026-10-06T14:03:38.2261699+00:00",
"fecActivacion": "2026-10-06T14:03:38.2261699+00:00",
"fecInactivacion": "2026-10-06T14:03:38.2261699+00:00",
"idDireccionComercial": "479da60b-4e0b-426b-ba7c-3b2efcc5f9c1",
"idDireccionFiscal": "a5e26d8c-d1fc-462a-a2c2-7b66330c4659",
"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": "e95b7046-70ad-468b-b1d9-b5e3a0b5efc4",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "0cee6699-ee14-470d-87d7-5fad8bee079d",
"idDireccionFiscal": "8596d713-f97a-4f11-b0ca-e0e5c1d85d14",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "475eab65-20e1-4858-8870-b73cbaeb5913",
"idTPA": "cc18ec67-2b59-4472-96f3-a35fbfa1a72e",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "c58e142b-c5c0-4662-a0c0-d020692cd797",
"status": true,
"fecAlta": "2026-10-06T14:03:38.2261699+00:00",
"fecActivacion": "2026-10-06T14:03:38.2261699+00:00",
"fecInactivacion": "2026-10-06T14:03:38.2261699+00:00",
"idDireccionComercial": "243cd316-ebec-4e74-bc96-b705aeb9900e",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "6169fa11-13ba-4f1a-8f06-baa2b67320f5",
"idCliente": "b8fb9b23-efe3-44d1-a967-3bfbe6541760",
"idPersona": "eec1d9a1-dcb0-4c01-8931-3c9eea5686a5",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "13ddc1f9-9a0b-46b4-a18b-ffca29d18279",
"idPlaza": "4d2c5e2e-de8e-431f-bc69-4caa05f075b1",
"idCentroCostos": "6c21e9e2-b579-45df-8c9f-6d64c6a93446",
"idDepartamento": "5c602a2d-b68c-4de2-946d-4926a77f7652",
"idPuesto": "c5ff8c57-ef73-4070-a514-57ce75f4e035",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}