PUT api/PutDireccion?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "bb702072-cef0-42d8-b6e4-6a9caf6e975b",
"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": "1b29637c-0a70-45cb-af64-65d9ccee9072",
"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": "ca1de1d4-ef98-4b75-97eb-8173b9702090",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-06T14:05:22.226086+00:00",
"fecBaja": "2026-10-06T14:05:22.226086+00:00",
"fecActivacion": "2026-10-06T14:05:22.226086+00:00",
"fecInactivacion": "2026-10-06T14:05:22.226086+00:00",
"idDireccionComercial": "37641305-d27c-4030-8759-f1ff55c8913c",
"idDireccionFiscal": "66f73214-b90d-402c-839a-bff39e86c062",
"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": "87f0e142-7ce8-48cf-808a-c1748d574f4b",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "74247846-fd8c-42e6-8f70-eebf21ecc12c",
"idDireccionFiscal": "38528363-0156-4e9b-b245-574d1a2a27ef",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "19a8fd59-1514-4fdd-84cc-f378ccde4c6c",
"idTPA": "7bc4cc32-4e68-4fb7-8c83-cc000b159346",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "b990648f-937a-4901-8484-f64e182dbfd5",
"status": true,
"fecAlta": "2026-10-06T14:05:22.226086+00:00",
"fecActivacion": "2026-10-06T14:05:22.226086+00:00",
"fecInactivacion": "2026-10-06T14:05:22.226086+00:00",
"idDireccionComercial": "72056d78-5770-4c3c-a8b2-cb8b9a932d91",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "88d8504d-0899-408d-925b-7a9b03463b76",
"idCliente": "81d7f7fd-a4b3-42af-b616-0e08b90f5bc2",
"idPersona": "cbe6387d-d9f3-4a42-b418-575d25af5903",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "dfa2db55-ffd4-4fa5-be52-ea8a1c614018",
"idPlaza": "2a2b8591-b011-419c-8c90-32adb4ac66c2",
"idCentroCostos": "e0f815d4-c1f7-4470-a426-ae6295c43538",
"idDepartamento": "201077f8-70e3-4e0b-93d9-2e3ec54f0f66",
"idPuesto": "6c99f18c-3688-469c-9a45-fdb837be8183",
"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.