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": "9e667a6a-a1c4-481d-851d-a39d28deffa0",
"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": "fb2cce47-4fc7-4b81-86aa-ccd7a8c2218f",
"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": "669a8a15-b665-4505-bb1c-be502c943a2a",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-29T14:45:55.5138445+00:00",
"fecBaja": "2026-10-29T14:45:55.5138445+00:00",
"fecActivacion": "2026-10-29T14:45:55.5138445+00:00",
"fecInactivacion": "2026-10-29T14:45:55.5138445+00:00",
"idDireccionComercial": "faa7e3fc-d4e7-4913-8485-154932216462",
"idDireccionFiscal": "b8e3c96e-adee-4936-9f19-e72bdf577c95",
"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": "1bdfe562-2170-4e0f-8540-d8ee7d62494c",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "10957429-1e40-43af-b461-ae99457524a8",
"idDireccionFiscal": "672bd69f-4b31-4083-9799-28c0d34a7299",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "ea7bd8e6-db6f-4eae-971e-16118341c037",
"idTPA": "3a329720-b126-4968-90cb-08f9f01481de",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "2b54373a-bc49-4bae-838d-698c11cdd6c8",
"status": true,
"fecAlta": "2026-10-29T14:45:55.5138445+00:00",
"fecActivacion": "2026-10-29T14:45:55.5138445+00:00",
"fecInactivacion": "2026-10-29T14:45:55.5138445+00:00",
"idDireccionComercial": "9e9cb06c-e511-4e3e-9fba-0b031f036cc8",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "62809a87-7243-46a6-8b12-4b747c22a6ba",
"idCliente": "b695ed36-375f-4f00-b9ad-c8a5c1fc30e0",
"idPersona": "f72346ab-5e24-4ec7-b745-47d50853960f",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "b1c581ef-cb70-4662-a872-7023947811e3",
"idPlaza": "9ab1c664-34be-4e72-93f4-c2f09bc282de",
"idCentroCostos": "d821296d-6d9a-4560-856b-4016e146695d",
"idDepartamento": "7ebbcc48-0a37-4b1d-96ab-afaf462edaa0",
"idPuesto": "2d54fcf0-7595-4399-9226-d22540fe740f",
"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.