POST api/Put_DireccionItem
Request Information
URI Parameters
None.
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": "a8d25121-3025-4811-a6a5-143a8d778139",
"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": "ac88511d-6b9e-4ec8-9246-1772314d5b68",
"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": "4730ff1b-f16f-4976-9ca7-2caa8656b120",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-04-04T11:49:01.4769089-04:00",
"fecBaja": "2026-04-04T11:49:01.4769089-04:00",
"fecActivacion": "2026-04-04T11:49:01.4769089-04:00",
"fecInactivacion": "2026-04-04T11:49:01.4769089-04:00",
"idDireccionComercial": "76d3b41d-9ab3-4954-8fb4-d9712feb70e4",
"idDireccionFiscal": "f0f87076-5623-4c7e-b382-1632dfa37659",
"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": "a2900b61-f091-43c2-93d7-de34b6fc68cf",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "bed28c2a-a782-4461-b6e4-9ff4d66311fe",
"idDireccionFiscal": "a3be003f-a99d-4311-a1c4-ca1687e9a75c",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "d6cad6b8-c6c0-4bba-a8d9-b8d530206e88",
"idTPA": "dec848fb-8030-4c82-aeb8-68b471ef0f33",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "6899b01e-5d06-4f99-8988-95328f2f29e9",
"status": true,
"fecAlta": "2026-04-04T11:49:01.4769089-04:00",
"fecActivacion": "2026-04-04T11:49:01.4769089-04:00",
"fecInactivacion": "2026-04-04T11:49:01.4769089-04:00",
"idDireccionComercial": "d2d842b8-101e-43fa-87c4-bcfd04ed727e",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "826ab3b6-2f06-4292-971a-b07a0f4d9bb5",
"idCliente": "3cbd4df5-f76f-4d67-b010-99bf9cb9dcfa",
"idPersona": "2f02872c-84aa-4510-95d6-757361b28ffa",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "b837b71d-ed72-4deb-9977-129941a05c46",
"idPlaza": "321782d5-03ab-4edc-9164-a4e3565fa593",
"idCentroCostos": "c3c44622-9589-42ec-bae3-9ac82efc997b",
"idDepartamento": "e4e91e1c-e37a-442d-8aab-141f7438f774",
"idPuesto": "54bb2b91-55cf-4d4b-b5ef-47957309cedc",
"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.