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": "86a3c30a-ed33-4013-a6ef-34abe15a5239",
"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": "cd6cf57a-9b58-47d2-9baa-89d674f9499e",
"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": "4d424d5c-fd14-453b-aab2-c019e72eac6c",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-11-30T13:14:44.5878134+00:00",
"fecBaja": "2026-11-30T13:14:44.5878134+00:00",
"fecActivacion": "2026-11-30T13:14:44.5878134+00:00",
"fecInactivacion": "2026-11-30T13:14:44.5878134+00:00",
"idDireccionComercial": "c1309b7c-05a7-4b2c-bc36-64d725f74b6b",
"idDireccionFiscal": "e38811f2-0149-47d1-bf93-fcdcd540c770",
"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": "7c54bf1c-136e-4dec-a182-4f3ec1a4f5e5",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "33ea2b8c-aafd-40b1-aa67-c42f67c40d1f",
"idDireccionFiscal": "399ec36a-5f6f-404e-8f1e-d94871e87753",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "86ba5bc8-7f28-48cf-bf93-0085948982d9",
"idTPA": "3f3c2e39-c63f-4e00-9ce3-07a60bd54f6d",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "018d2e93-8594-452c-98f9-0181d3ec8c02",
"status": true,
"fecAlta": "2026-11-30T13:14:44.5878134+00:00",
"fecActivacion": "2026-11-30T13:14:44.5878134+00:00",
"fecInactivacion": "2026-11-30T13:14:44.5878134+00:00",
"idDireccionComercial": "53766f9f-a279-4965-a634-743251a67ed7",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "2f8ea95a-31c4-4f1d-b5e2-f08502cabb86",
"idCliente": "3bfeb479-50f9-4638-83ff-068a7d708663",
"idPersona": "16abafa6-49d7-4f22-bf36-cce2267a9f84",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "bcb9c5e8-85b5-423a-b681-283bcd01dd69",
"idPlaza": "97a04da8-8056-4ba2-b197-79c20e63b1f1",
"idCentroCostos": "ced4f2dc-1170-4267-9857-63475f47b547",
"idDepartamento": "b91121cd-a068-4089-810c-6b53040a361d",
"idPuesto": "99aac620-3ece-4607-b2ba-2de267ece690",
"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.