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": "ced5c058-57c4-4293-9645-e6e814281ed2",
"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": "ca7d4e7e-350c-4a4e-a71c-1028fef2b78c",
"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": "b9562204-b520-4a9c-9d84-7740c839e29b",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-11-30T13:14:44.2127718+00:00",
"fecBaja": "2026-11-30T13:14:44.2127718+00:00",
"fecActivacion": "2026-11-30T13:14:44.2127718+00:00",
"fecInactivacion": "2026-11-30T13:14:44.2127718+00:00",
"idDireccionComercial": "8eb6ccb0-d574-46ee-8423-466465dc0e0e",
"idDireccionFiscal": "b12f86e7-3175-452b-b7a9-5531eb08fda6",
"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": "534c0408-2742-481f-a822-62df0ea220a3",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "b498e4da-4bcd-4fda-bb1f-f9665d8b85e1",
"idDireccionFiscal": "c247ab60-e972-4d2a-bb46-f215419bee4c",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "052463fe-13a7-4bbf-a1f8-4cf9662fc81c",
"idTPA": "2731ad1b-b42c-476a-9d65-473bd9e57aec",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "d5fa7060-38c1-45dc-8eab-0abcf6c37a54",
"status": true,
"fecAlta": "2026-11-30T13:14:44.2127718+00:00",
"fecActivacion": "2026-11-30T13:14:44.2127718+00:00",
"fecInactivacion": "2026-11-30T13:14:44.2127718+00:00",
"idDireccionComercial": "8c553e99-cac2-4b6b-942d-f98e4d472579",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "0b8aa82d-1bf1-437c-8bff-2eb1118cd216",
"idCliente": "e67a7bf4-8f52-4e2f-99ed-c6abc5552b10",
"idPersona": "89e1e2b5-a44e-41cc-b53a-69f950489985",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "c8298e54-089f-4dd6-bd62-36a3bdba67f0",
"idPlaza": "76edfff9-b74a-4348-b06c-19bfbb9419cf",
"idCentroCostos": "2cd47699-52b0-4e5e-a723-258590503458",
"idDepartamento": "a9b2f05a-13e2-472c-9eff-26406988ae96",
"idPuesto": "5506e9e1-7515-45af-98a1-cb93c5a37a2e",
"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.