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": "a4225720-db61-4077-b8ed-c8462598de80",
"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": "684910b4-d102-48e3-8cf1-f68b94f9fe55",
"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": "ae0ec7e2-7885-438c-a3b7-d410f3817783",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-05-08T14:15:02.1617926+00:00",
"fecBaja": "2026-05-08T14:15:02.1617926+00:00",
"fecActivacion": "2026-05-08T14:15:02.1617926+00:00",
"fecInactivacion": "2026-05-08T14:15:02.1617926+00:00",
"idDireccionComercial": "cf5b203f-49cb-4413-a8af-dcd517ff89c6",
"idDireccionFiscal": "f6e32941-1907-4920-8757-f713e8784b19",
"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": "cb7ec9e5-fbf7-4a7f-b359-d48eb969cd5f",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "3346b3c6-3196-4ad9-b2ec-367b4f799a98",
"idDireccionFiscal": "ce16ca37-a375-4cd2-8fef-08eca32d2e8d",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "dc267344-7cb7-4e49-8776-591d55240fe9",
"idTPA": "293a8660-1ad2-4429-8d3c-c2f04a8dfc2a",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "84bf9856-4613-4fc9-b57b-9a663546b4af",
"status": true,
"fecAlta": "2026-05-08T14:15:02.1617926+00:00",
"fecActivacion": "2026-05-08T14:15:02.1617926+00:00",
"fecInactivacion": "2026-05-08T14:15:02.1617926+00:00",
"idDireccionComercial": "affcd164-2ffe-4f47-b348-9ab71ec76242",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "cf5dbfb1-d306-424b-b7d4-de9feaad6382",
"idCliente": "68135e19-6906-47c0-87a1-f3d23aad2a87",
"idPersona": "765ab5e7-4550-4c32-92a0-098ed36de2d2",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "577ab90d-6622-4c8b-b41a-1c3f1a6467bd",
"idPlaza": "eb79573f-89cc-4368-b7b6-88ce5fc81c02",
"idCentroCostos": "32d38f3d-0a07-48e4-aba8-cddda576b179",
"idDepartamento": "74b6b42d-c3c0-473d-9058-4016c9ed6e4f",
"idPuesto": "fd546c6d-efa5-47e4-a908-118ba24cd393",
"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.