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": "e9cec33e-f6b9-461c-b3c5-a8df345bf851",
"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": "88058a44-ff51-434e-b9a9-156b0b642e3f",
"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": "37c8682a-5d5a-48c8-86f6-e4c7088f7dd7",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-05-08T14:15:02.4742966+00:00",
"fecBaja": "2026-05-08T14:15:02.4742966+00:00",
"fecActivacion": "2026-05-08T14:15:02.4742966+00:00",
"fecInactivacion": "2026-05-08T14:15:02.4742966+00:00",
"idDireccionComercial": "b0949644-b14f-4f72-b4fe-70f9db062e96",
"idDireccionFiscal": "763ae159-1ed9-40bc-9520-2aa15801d457",
"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": "3f5a4d71-8f74-42e9-8867-438b2fada96e",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "e047fff7-29e1-4ecd-a81a-4c5de0a46748",
"idDireccionFiscal": "9f5a9a3d-23b7-4f18-af98-04affd1ed26e",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "8e7ea3d1-1d13-4d12-981e-c6c2c8041b2d",
"idTPA": "bc04215b-4fa4-42ab-b3ff-b7e1f585b10f",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "97e48a3a-9adc-4d9f-9403-5b1641d89e2b",
"status": true,
"fecAlta": "2026-05-08T14:15:02.4742966+00:00",
"fecActivacion": "2026-05-08T14:15:02.4742966+00:00",
"fecInactivacion": "2026-05-08T14:15:02.4742966+00:00",
"idDireccionComercial": "753a4c97-d461-4e7e-b9da-e57f994142cb",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "644cf2f0-0221-4170-a282-a3744f507658",
"idCliente": "e7a91acc-05f7-4b06-8349-10f5dadfe86c",
"idPersona": "3679d20e-c65d-4da4-884a-c5e3d512098e",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "76eda89b-fcb4-4575-99ed-d71e7b18662a",
"idPlaza": "af8cd7cb-6439-4eb7-8024-4c5eade01e75",
"idCentroCostos": "e55ff687-5d71-47b0-8a96-daff644fa9c0",
"idDepartamento": "e46ac274-87de-4210-8e12-ff179baf2e6b",
"idPuesto": "fc12036c-93cc-4477-99d5-cc49de596ad5",
"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.