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": "9f26f105-5c34-4c3c-9884-bec4473f593e",
"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": "2cbde4e2-17b0-4e85-9ace-81c5368d2ee7",
"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": "d035f4cf-278c-48b3-86ee-a642575ada88",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-13T20:37:24.7223318+00:00",
"fecBaja": "2026-03-13T20:37:24.7223318+00:00",
"fecActivacion": "2026-03-13T20:37:24.7223318+00:00",
"fecInactivacion": "2026-03-13T20:37:24.7223318+00:00",
"idDireccionComercial": "055561df-da0f-48f9-80ff-082d53f6fe80",
"idDireccionFiscal": "d886c3de-0df8-49a3-9a42-e6c1dd7fbaa3",
"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": "6339eb48-cbb8-4d85-b67d-2ddd08cca476",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "fc1510b4-4d37-4c0d-b60b-72064df3df30",
"idDireccionFiscal": "12ca7e20-dffa-41ef-9bd5-f6698b86eeae",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "6959dbd0-ba64-4aef-b778-0f2be7aba770",
"idTPA": "b40f9ec6-bef0-4a05-b443-6cf6d168f20a",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "76bbab72-8bb8-4aa9-8e3b-a3717694e437",
"status": true,
"fecAlta": "2026-03-13T20:37:24.7223318+00:00",
"fecActivacion": "2026-03-13T20:37:24.7223318+00:00",
"fecInactivacion": "2026-03-13T20:37:24.7223318+00:00",
"idDireccionComercial": "5a1ce4d2-9c6f-495d-ac78-8797fcbee2e2",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "49ad77d1-81fb-45ef-976f-074edfc7dae0",
"idCliente": "b0985607-4e77-4686-9c22-dfde17ecb7b2",
"idPersona": "8ba181b9-8c6e-4c27-95df-2c31b2c23a21",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "267af26c-dd24-44bb-a8ef-d408afaaa203",
"idPlaza": "d0f2c5f8-975f-41b7-bc41-76131a6ef6a1",
"idCentroCostos": "8809f35c-9998-44e7-888e-561930bec825",
"idDepartamento": "425c20dc-7ad7-4791-86ba-781b3a2aed54",
"idPuesto": "4f9989ae-d5e8-4970-bf88-fd08ed00d3fd",
"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.