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": "16b28ce5-2205-4bf8-b87a-ce8d537dc995",
"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": "85147d14-52c5-4f42-a662-135195e7d616",
"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": "cac69d09-6496-450a-9311-2faf603cc5de",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-04-04T11:49:36.8769582-04:00",
"fecBaja": "2026-04-04T11:49:36.8769582-04:00",
"fecActivacion": "2026-04-04T11:49:36.8769582-04:00",
"fecInactivacion": "2026-04-04T11:49:36.8769582-04:00",
"idDireccionComercial": "23406d1b-64b5-4b8c-878f-a3bcdeb8e241",
"idDireccionFiscal": "9ce7e7e7-d88b-46cd-8857-3e8998f1b2c7",
"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": "468359b0-f32b-45ba-aa16-c139eba81286",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "5629e80e-da7e-4b07-9132-c27f100a92c2",
"idDireccionFiscal": "47870c9f-8dee-4bb7-9290-12b2cf2adf2b",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "875f2eff-99c9-40d2-8529-fe6a67cb0a73",
"idTPA": "57b6c0bd-0a10-48e2-b7e5-e403a2242d25",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "3b8a3955-8cda-4c47-9c07-ca0456be2481",
"status": true,
"fecAlta": "2026-04-04T11:49:36.8769582-04:00",
"fecActivacion": "2026-04-04T11:49:36.8769582-04:00",
"fecInactivacion": "2026-04-04T11:49:36.8769582-04:00",
"idDireccionComercial": "d397aa35-6419-4569-8d90-d2f68698048c",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "8c2909a8-fee7-4146-abb0-afa08b35b005",
"idCliente": "3caa085a-c16e-4651-9b9a-a603bd97f3b9",
"idPersona": "e00d97c2-2d6e-4798-ab9f-e4be8eebed25",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "fdf63f72-375c-4f6c-a85d-d0bc3329a28f",
"idPlaza": "7d0ce09c-ea70-4591-99da-bc5aa5f9a604",
"idCentroCostos": "08f7943c-b0f9-47b1-a391-36b81c593177",
"idDepartamento": "f8299826-0fc1-4fb4-a6ac-33b816191c1d",
"idPuesto": "f7a53c3f-c04d-4de5-bc2c-2081d4de944e",
"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.