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": "dbfec888-beef-4532-8640-99e944fc1740",
"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": "d03545dc-5ed1-4f8a-b134-9aded8921211",
"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": "3a95a714-d9a9-4adf-855f-de0d10d0e809",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-29T14:44:11.1007311+00:00",
"fecBaja": "2026-10-29T14:44:11.1007311+00:00",
"fecActivacion": "2026-10-29T14:44:11.1007311+00:00",
"fecInactivacion": "2026-10-29T14:44:11.1007311+00:00",
"idDireccionComercial": "4540526c-e444-427c-8220-27e8ef352b57",
"idDireccionFiscal": "e0560289-e97f-435c-8c48-495e0bd497b4",
"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": "cc57c97b-3a9e-4cdd-87bb-d265bbe11d7e",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "76cf6fa6-7e2d-4d1c-a4cd-8f01d666de05",
"idDireccionFiscal": "11e0bd53-ab1e-4e2b-bcd2-855ed2aa6574",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "6d0ffcaa-f33c-40b9-89a8-8dfc9161c844",
"idTPA": "1616289f-64c0-4288-9f12-23577b4f0642",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "bcf6546f-7557-4b32-9038-f1ba3cb99a01",
"status": true,
"fecAlta": "2026-10-29T14:44:11.1007311+00:00",
"fecActivacion": "2026-10-29T14:44:11.1007311+00:00",
"fecInactivacion": "2026-10-29T14:44:11.1007311+00:00",
"idDireccionComercial": "d11d495a-96cf-4a91-87b0-78f7ccff3970",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "745fc32d-ff35-4cce-8833-671f9fd51776",
"idCliente": "e9abe9ca-49b0-4743-8c81-38a93292d4a7",
"idPersona": "0cc5b355-4b69-4861-b7c7-3851e6ad1864",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "2c7fa1ab-fe22-404c-a11a-d8c56550e6e6",
"idPlaza": "913409fe-b08c-496f-ba4c-a33a99447271",
"idCentroCostos": "7a523a66-5c1c-4274-be3e-662498b1ed37",
"idDepartamento": "7762212c-ff87-4363-9e31-7e634311db36",
"idPuesto": "09266411-ea4d-4e31-8672-87a0d2d2e4e7",
"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": "072ad33e-2931-4e95-8d34-b01e5d5996ad",
"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": "b613e31a-f8d5-4a6d-8c9f-642fef53daed",
"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": "cfea3633-e203-4305-9dea-e8a1c33116b8",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-29T14:44:11.1007311+00:00",
"fecBaja": "2026-10-29T14:44:11.1007311+00:00",
"fecActivacion": "2026-10-29T14:44:11.1007311+00:00",
"fecInactivacion": "2026-10-29T14:44:11.1007311+00:00",
"idDireccionComercial": "59898a9c-bfe8-4472-bf13-5653968d0920",
"idDireccionFiscal": "9bfe1447-084d-4dfb-a9a6-cc22a52b6918",
"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": "085f04fd-1dfa-428b-a31b-e012c4fd5fc9",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "f0158064-1503-4267-b9ca-4bb3fdfe0f55",
"idDireccionFiscal": "63f4381c-4304-448f-88cc-dd0b9a221d50",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "d5497688-4070-4dbd-8d23-0f42e9f6be00",
"idTPA": "d881bc1c-31a8-497e-9852-847864ee38e6",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "6ae66289-8d65-4626-a664-e400702ff5a9",
"status": true,
"fecAlta": "2026-10-29T14:44:11.1007311+00:00",
"fecActivacion": "2026-10-29T14:44:11.1007311+00:00",
"fecInactivacion": "2026-10-29T14:44:11.1007311+00:00",
"idDireccionComercial": "8713443f-58c6-452b-9023-53a35c229561",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "84523a5a-d999-4fa2-9641-2ac515ae4809",
"idCliente": "7aea02c9-2c9c-4f17-b844-543ecbd689d1",
"idPersona": "505daac2-4180-4f1c-b492-e2a31f327205",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "fd6a47e3-afbb-44d4-a40e-f6af28b998a4",
"idPlaza": "1f6a1238-4215-4c83-b61b-5678ed1a7754",
"idCentroCostos": "33376d74-79b5-4cff-885d-ad8d69dc8d79",
"idDepartamento": "05644225-2e27-445a-9f23-4335a061b0ef",
"idPuesto": "6879430e-6620-4624-88bd-b1b9892ebf80",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}