POST api/Put_Direccion
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": "0fbbfbc4-a1e0-4012-bf44-48e0187c0373",
"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": "89abd2f2-9bbf-45e6-91ba-8245b76a96a6",
"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": "f358c1a9-b6ab-4f18-b8f0-65823732ba84",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-21T02:17:40.2050368-04:00",
"fecBaja": "2026-03-21T02:17:40.2050368-04:00",
"fecActivacion": "2026-03-21T02:17:40.2050368-04:00",
"fecInactivacion": "2026-03-21T02:17:40.2050368-04:00",
"idDireccionComercial": "a7285411-1696-4fb9-a0eb-d7539262780e",
"idDireccionFiscal": "7ff0036c-d2a0-40c2-b313-c9120264aacc",
"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": "560fad84-424c-46ca-8902-4b10866f43fc",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "b24ad714-d30f-4b75-a796-3fd029ec4568",
"idDireccionFiscal": "595e4e81-cc1f-48f1-bd79-09bad1c48c3c",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "4f3c14be-18a6-4552-b3f9-7d2bdcefc0f1",
"idTPA": "77c7b061-40e7-4299-b6ac-8b8bc31e8a10",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "57ea062b-b408-4eae-9c44-29ca08887f20",
"status": true,
"fecAlta": "2026-03-21T02:17:40.2050368-04:00",
"fecActivacion": "2026-03-21T02:17:40.2050368-04:00",
"fecInactivacion": "2026-03-21T02:17:40.2050368-04:00",
"idDireccionComercial": "e0b1a23d-f648-4e8f-ae18-6fe2b5f9c429",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "086b71e0-a850-4b64-b376-827a6f0c82c0",
"idCliente": "174bd41a-9f85-4174-8488-27d7cc1864c6",
"idPersona": "a72b6d6d-35f8-469c-80d3-ab47b3d2c692",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "d659aa32-e052-4bc7-b368-e8245482d2db",
"idPlaza": "3bc02378-4bbb-4736-b8a5-a622a7ef737a",
"idCentroCostos": "a3b1a080-185c-4e50-9734-ea9681862357",
"idDepartamento": "c8d7a6ff-80a4-4d28-8fe5-0592b4a6a4e4",
"idPuesto": "ac67ba81-e1b1-4e79-8a61-ad37500db646",
"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
None.