POST api/Put_DireccionItem
Request Information
URI Parameters
None.
Body Parameters
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:
{
"idDireccion": "59970eed-fa2c-437c-a475-62bb7ca3423f",
"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": "30027b36-2e70-4b8f-869b-34d0dff21967",
"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": "b9c318fe-6a66-477d-af12-57b8414678c0",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-06-18T03:34:19.9796168+00:00",
"fecBaja": "2026-06-18T03:34:19.9796168+00:00",
"fecActivacion": "2026-06-18T03:34:19.9796168+00:00",
"fecInactivacion": "2026-06-18T03:34:19.9796168+00:00",
"idDireccionComercial": "13a5ea9b-cf87-4999-bce9-2fac67da5ef0",
"idDireccionFiscal": "7cb9c276-6416-45f1-b554-4112fd116e57",
"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": "a9781bde-610e-4309-b615-884210d315ed",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "c8e91133-4a6c-4738-9473-58e8ecf102c5",
"idDireccionFiscal": "fc30fdb1-f7e1-4380-8c05-b8c979d3cd36",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "11a7d90f-3c15-4709-b80d-32eaf9abf936",
"idTPA": "b4f062ff-5ddf-400b-9f7b-af6a51ef982f",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "20b915a0-14f8-4678-9251-282da517e775",
"status": true,
"fecAlta": "2026-06-18T03:34:19.9796168+00:00",
"fecActivacion": "2026-06-18T03:34:19.9796168+00:00",
"fecInactivacion": "2026-06-18T03:34:19.9796168+00:00",
"idDireccionComercial": "4b22a489-c606-44b5-b19f-134b7acb642f",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "89fe501b-a58d-40cb-8edd-30a0c53af925",
"idCliente": "31286a90-09bc-4be2-a838-8acf61de57cb",
"idPersona": "85e0a83f-de52-42d0-a110-e7b16385491d",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "a3093ffe-53e0-4b91-b284-de21f2ed5f50",
"idPlaza": "549374b7-a300-4f22-b4f7-4c03f6519b6e",
"idCentroCostos": "d97a87ee-5e5f-410f-83b5-1fa14f9bb224",
"idDepartamento": "94156cfe-6479-4254-b638-9ef19d2891b3",
"idPuesto": "1a09349c-f6d4-4f3d-bfbd-9d79ef586744",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.