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": "936c1874-fcc7-4f6e-89d2-1bd6af9744e4",
"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": "ac1a1fc7-550d-4361-881f-23f92795ee93",
"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": "d919de03-edd0-4ba2-acac-488aa6934ff2",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-09-03T14:52:34.8954045+00:00",
"fecBaja": "2026-09-03T14:52:34.8954045+00:00",
"fecActivacion": "2026-09-03T14:52:34.8954045+00:00",
"fecInactivacion": "2026-09-03T14:52:34.8954045+00:00",
"idDireccionComercial": "8cc3cafd-60be-4343-8b44-d94de325d666",
"idDireccionFiscal": "da049050-907c-4769-88eb-1dc436960f57",
"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": "3d3b1128-8d23-41e5-8771-44d890e3aab4",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "ab87f52c-abf3-4d84-8508-df47e14072d6",
"idDireccionFiscal": "be546594-bb17-4387-b466-a89bb732bb6d",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "118028b6-0abf-4efc-bca5-a1b013a2bcae",
"idTPA": "9f840aa6-fff7-41e0-9b63-339c73983f3e",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "7398922d-fd86-42e9-bd27-8df22380b4b0",
"status": true,
"fecAlta": "2026-09-03T14:52:34.8954045+00:00",
"fecActivacion": "2026-09-03T14:52:34.8954045+00:00",
"fecInactivacion": "2026-09-03T14:52:34.8954045+00:00",
"idDireccionComercial": "17a96707-b0d8-448c-8217-70fbb8fb35d3",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "4f9e2afa-80b8-4481-aa19-8434000e47af",
"idCliente": "f3427c8d-0b47-4364-9622-59964c01e93f",
"idPersona": "9150206c-bee7-4872-acb9-558dad53a1b2",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "79dd57d8-7b70-4aef-8e6a-b3ecb338243f",
"idPlaza": "8b225234-7e03-4836-8bf8-b73d80038300",
"idCentroCostos": "cb9aa714-15c0-4626-9cf0-041267c133f4",
"idDepartamento": "79b9ead0-309b-4861-a76d-512af4ce9c85",
"idPuesto": "e0043797-3128-411d-ab75-ae57164960aa",
"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.