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": "f67fc657-4966-470f-8235-d486f415c9fb",
"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": "531e3ed1-7c87-414d-8f3f-bb9f357afab4",
"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": "85085470-fbb6-4838-8403-f0f0b146d84b",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-29T14:45:55.2638739+00:00",
"fecBaja": "2026-10-29T14:45:55.2638739+00:00",
"fecActivacion": "2026-10-29T14:45:55.2638739+00:00",
"fecInactivacion": "2026-10-29T14:45:55.2638739+00:00",
"idDireccionComercial": "00143092-dafc-4993-a7f0-4e908ee9a34d",
"idDireccionFiscal": "82148839-65e6-4faa-9411-d8919e4a0f8e",
"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": "b6d718e6-d8f2-49ac-91ab-43022e07a82c",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "da731d2b-87b5-4804-a0ee-6969df11f889",
"idDireccionFiscal": "e07b5ab8-a4f1-49e9-99e6-b279a9453f4a",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "aa4def84-34fb-48aa-8671-635ebcb3a823",
"idTPA": "4dc010f1-4aff-4ee2-b33f-4bbd191c342f",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "3eb8426d-35db-491e-82c9-47648ebd9b4d",
"status": true,
"fecAlta": "2026-10-29T14:45:55.2638739+00:00",
"fecActivacion": "2026-10-29T14:45:55.2638739+00:00",
"fecInactivacion": "2026-10-29T14:45:55.2638739+00:00",
"idDireccionComercial": "3af4eac1-dfc1-4ab7-b968-72ea9e1af238",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "61afd2cc-5b42-4d7b-ad6a-46254704465f",
"idCliente": "62690771-d593-4b2e-b87b-ef62c02297c3",
"idPersona": "d8c1fbd4-443b-4f92-880f-2e6a937018e4",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "164380df-a02c-4119-b620-d7328b1660dc",
"idPlaza": "922ad712-0ee2-40e0-884a-c8bdcfbed57b",
"idCentroCostos": "e51a215f-18c7-409d-aa6c-0d7ce2214d64",
"idDepartamento": "0ebb2b46-7356-4529-a6e0-af97e853968f",
"idPuesto": "20b347ee-df7b-44f8-b8c6-c4fcc86bee08",
"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.