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": "4859d06c-9a43-487b-a9e5-bd4a0db36969",
"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": "dd708599-1eef-4b56-888f-4ea1d905f7cd",
"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": "ab89521c-4a54-4a6a-9fc7-4b57aa235cdc",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-08-12T14:52:03.5194862+00:00",
"fecBaja": "2026-08-12T14:52:03.5194862+00:00",
"fecActivacion": "2026-08-12T14:52:03.5194862+00:00",
"fecInactivacion": "2026-08-12T14:52:03.5194862+00:00",
"idDireccionComercial": "d4a3f0ec-0a75-44a5-a19c-f7cf6bd72fbe",
"idDireccionFiscal": "ad6eb55e-a603-42d2-926b-354cfff4db0c",
"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": "64a0faef-15ad-49ef-a72c-df7e9815755a",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "e7591964-0c5a-4cd3-8c2f-449eecf038d4",
"idDireccionFiscal": "e1ff2c9b-2068-4587-991a-909e0ca26924",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "d772189d-384a-4a2c-a836-b45a41c74dcb",
"idTPA": "d589b1e6-12f4-40cb-8433-41e318cdb569",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "8fb14277-803b-4e1c-855a-049b5f65056f",
"status": true,
"fecAlta": "2026-08-12T14:52:03.5194862+00:00",
"fecActivacion": "2026-08-12T14:52:03.5194862+00:00",
"fecInactivacion": "2026-08-12T14:52:03.5194862+00:00",
"idDireccionComercial": "ebcef1af-f0db-4fce-b788-7ab313d418ae",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "a5691640-ec22-4eec-9e9b-002287b6e755",
"idCliente": "62049838-1725-4dff-8086-3b33c84c2aa9",
"idPersona": "993cd7b3-6c2f-47b8-8b52-5c8a439c856f",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "2af2f9ec-5351-4304-8717-2a549cc8c53f",
"idPlaza": "578c8387-4c9e-473d-8eb2-4b4c137e1249",
"idCentroCostos": "844913e4-06af-433c-9b7b-a9a2b1a377f1",
"idDepartamento": "f9e8fc24-4eef-4d1b-8a15-12b9fa032602",
"idPuesto": "8c6eaf8a-93ce-471b-9ada-7266f196b036",
"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.