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": "4a46f95b-1974-402d-aa48-3c95a6827186",
"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": "ff173127-6465-40a4-a6eb-c6b00615531e",
"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": "3a1cbb3c-566f-48ac-814a-4075deee42b7",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-21T02:12:20.6475623-04:00",
"fecBaja": "2026-03-21T02:12:20.6475623-04:00",
"fecActivacion": "2026-03-21T02:12:20.6475623-04:00",
"fecInactivacion": "2026-03-21T02:12:20.6475623-04:00",
"idDireccionComercial": "5ac498e4-ec52-475a-89dc-e0aacd3b1c41",
"idDireccionFiscal": "5b9721dc-1c35-4b97-b7d7-5ecf0a50de04",
"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": "f2575a2d-5ffd-45f9-a49b-398142d88dfe",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "b15375f0-6275-447a-9ed1-c537bc8c61f7",
"idDireccionFiscal": "6f8002cb-62e5-4ed1-a797-2fb70683f467",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "5d22b67b-27b9-4b2a-a888-a4932d6f35e0",
"idTPA": "220705b9-226f-4a27-b1af-6979bbca5cc9",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "d5399074-df87-44a3-be14-113e08302200",
"status": true,
"fecAlta": "2026-03-21T02:12:20.6475623-04:00",
"fecActivacion": "2026-03-21T02:12:20.6475623-04:00",
"fecInactivacion": "2026-03-21T02:12:20.6475623-04:00",
"idDireccionComercial": "a380ddf8-848f-415d-b9c3-772d570b46ed",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "4c385521-4807-45f6-9942-a8b21a4f9a3b",
"idCliente": "1625a626-568b-46ad-b249-d17edaa22fe1",
"idPersona": "f72c09ac-3c2d-427c-827e-09025f38a8cc",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "17c245eb-c6f6-4818-80c7-e1cbdfb08c3d",
"idPlaza": "5d471d18-6b72-4a2b-855a-af8730a7ea10",
"idCentroCostos": "a3c12b42-23ac-4dbc-9090-76d4ccac9744",
"idDepartamento": "e8930933-3e52-4eb8-be1a-5bee331870f3",
"idPuesto": "552ebc53-515f-4b35-a810-5c884dcd4893",
"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": "9b017d9e-bca1-4a44-b53d-5a1a99b54fe4",
"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": "5ecd6598-82fc-48da-a2e3-37865d1cba16",
"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": "c7beb78a-edd2-4179-80ef-5fbc13ed88b9",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-21T02:12:20.6475623-04:00",
"fecBaja": "2026-03-21T02:12:20.6475623-04:00",
"fecActivacion": "2026-03-21T02:12:20.6475623-04:00",
"fecInactivacion": "2026-03-21T02:12:20.6475623-04:00",
"idDireccionComercial": "2ba7d9a3-650e-4864-a39c-9aa4b144e182",
"idDireccionFiscal": "f531fc0c-8f13-414d-998b-347d3419f9d2",
"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": "b3754de9-a628-4365-8fd0-e3983d307409",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "3de949bc-c9f3-409a-a0a0-43f265a4fe5c",
"idDireccionFiscal": "7f0269ae-bea4-49a3-943d-03cf5513123d",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "7a645f33-b4ff-453d-abb8-732847490538",
"idTPA": "b4a9409a-b241-4cfb-8d60-b7031c24a217",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "3bdb87da-181e-4be9-b3f7-fac30a4d5e18",
"status": true,
"fecAlta": "2026-03-21T02:12:20.6475623-04:00",
"fecActivacion": "2026-03-21T02:12:20.6475623-04:00",
"fecInactivacion": "2026-03-21T02:12:20.6475623-04:00",
"idDireccionComercial": "42051f5f-20c0-4099-859f-9286f9260cc8",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "5669a56a-c0c6-4148-8b54-01dc2173e59b",
"idCliente": "75ad13f9-bbd9-4bb0-be13-2e702f6547ac",
"idPersona": "db9a21a3-69a6-4e9e-8a03-908f8037e584",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "e4201265-a05a-46e4-888b-8a0a8828fe57",
"idPlaza": "84e306fa-b83a-43d2-8001-ec4c6698b442",
"idCentroCostos": "c73c165e-7768-42d8-9c01-7fe9e98106b2",
"idDepartamento": "141e05cf-923e-4631-9283-eb167f7d3b1a",
"idPuesto": "6af6a25b-88f5-4533-9a0d-0a8221e439e4",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}