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": "395e03d7-e973-4bdc-a74e-38f4fc2203dc",
"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": "f0f45513-511d-4a8d-99d2-543aaba5dc72",
"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": "bffec2a7-99c0-4bf3-9e2d-ddae052cbde0",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-06T14:05:03.687537+00:00",
"fecBaja": "2026-10-06T14:05:03.687537+00:00",
"fecActivacion": "2026-10-06T14:05:03.687537+00:00",
"fecInactivacion": "2026-10-06T14:05:03.687537+00:00",
"idDireccionComercial": "043f965c-d353-451d-8c91-a185e14df5db",
"idDireccionFiscal": "7e58c18b-a0ca-47ee-a9f4-3daf6c2876f8",
"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": "a4ae6801-42cf-472f-8b87-ac58add25b78",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "71af0898-f186-4efb-94c9-2d0ad5e61798",
"idDireccionFiscal": "00e620b8-4344-453c-a4eb-f179d49684de",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "9da29beb-e6f0-4ecc-a915-132c1d89609d",
"idTPA": "0caf7c3b-977a-442b-b585-775587b3112d",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "e7f43e85-87af-4b26-ad3d-cccafe441656",
"status": true,
"fecAlta": "2026-10-06T14:05:03.687537+00:00",
"fecActivacion": "2026-10-06T14:05:03.687537+00:00",
"fecInactivacion": "2026-10-06T14:05:03.687537+00:00",
"idDireccionComercial": "adc51ac1-07fb-43e1-a9b4-e85e57776dd8",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "1d9586f8-2f68-4340-9677-898ceeadbbcc",
"idCliente": "d0be9330-e2ef-4c52-89c0-d2940fae487a",
"idPersona": "3c678352-80dc-444e-9d8c-454bfc4075ca",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "5f79eec6-07af-499d-be73-0844b4afcaa2",
"idPlaza": "f2d38e51-7438-4198-8a07-2bf7a73b6898",
"idCentroCostos": "4d642bec-0955-4a81-b9e7-19601cde2c4b",
"idDepartamento": "4f120fa5-7e71-416e-be41-ac758bdc9845",
"idPuesto": "e8ee05c4-8d38-4eb1-95a6-fae43affc4b5",
"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.