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": "8f07fca3-632b-4eb2-bded-459cad933ef8",
"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": "e0adf6ea-44f6-4ff0-919a-43a3893acb60",
"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": "9aa98a94-383e-4912-967e-ace890058f75",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-13T20:37:24.4410982+00:00",
"fecBaja": "2026-03-13T20:37:24.4410982+00:00",
"fecActivacion": "2026-03-13T20:37:24.4410982+00:00",
"fecInactivacion": "2026-03-13T20:37:24.4410982+00:00",
"idDireccionComercial": "5b17e249-5d19-4c1d-89e5-eea0b48693ee",
"idDireccionFiscal": "423e3171-0993-4b87-b439-12bc9b9eebd6",
"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": "a6d1d717-e674-46e3-9e28-a780789224df",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "58fb80f2-76c2-452e-94f6-b87ae6a66922",
"idDireccionFiscal": "80334555-47bc-415d-a9c4-62336f7562c1",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "620c83c6-859f-47f5-8b31-4cbaacba433a",
"idTPA": "fa50e4d1-87d7-4e7e-87f2-3268c5824840",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "9986c44c-615f-478b-a440-011d1569a340",
"status": true,
"fecAlta": "2026-03-13T20:37:24.4410982+00:00",
"fecActivacion": "2026-03-13T20:37:24.4410982+00:00",
"fecInactivacion": "2026-03-13T20:37:24.4410982+00:00",
"idDireccionComercial": "420884bd-955c-447a-8d45-5d0f9ba5d70a",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "85024aa0-a490-4bc8-b975-ca63939162f3",
"idCliente": "d64e07c4-56dc-4946-8513-2950b47e2a1d",
"idPersona": "c51d0f00-fe02-4da6-8ddf-5b3fa496ab47",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "26294ea5-77c8-4694-a5f0-acd928c6a92c",
"idPlaza": "db375671-1097-4820-89ed-bf4b6ae7373f",
"idCentroCostos": "b1e2d4a2-5a28-4f2d-a764-48096f85e472",
"idDepartamento": "7c77ccd1-3aad-4767-b306-77393165c050",
"idPuesto": "3f13ce3e-a801-4d58-b4c9-13d34b2bfcbc",
"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.