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": "2a7723d9-15f3-45c8-90a9-b6774442a0e1",
"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": "02398cfa-3271-4128-a0e1-6b82b9421d45",
"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": "01f83792-5307-4e5f-8d15-3ca1735c5762",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-21T02:18:08.8919577-04:00",
"fecBaja": "2026-03-21T02:18:08.8919577-04:00",
"fecActivacion": "2026-03-21T02:18:08.8919577-04:00",
"fecInactivacion": "2026-03-21T02:18:08.8919577-04:00",
"idDireccionComercial": "dadfac43-7d40-47f7-b00f-f962268b59ce",
"idDireccionFiscal": "d1dacb65-63bd-4bc8-82d9-162e05cd1896",
"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": "b1ed8137-1583-4df9-a407-332c7a901d3e",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "48877fad-1a55-4aad-9d20-82eba4bc1453",
"idDireccionFiscal": "422e6497-cd73-46ab-8fbe-b58a06c6b0bc",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "91f1637b-e933-45f6-9301-0a060c9873b7",
"idTPA": "2897dbd1-0f5e-4299-9750-fc14d45e8dcf",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "42bb5313-7149-4726-9068-34b835cbc220",
"status": true,
"fecAlta": "2026-03-21T02:18:08.8919577-04:00",
"fecActivacion": "2026-03-21T02:18:08.8919577-04:00",
"fecInactivacion": "2026-03-21T02:18:08.8919577-04:00",
"idDireccionComercial": "6d607beb-0f6c-472a-9fc9-05278a286a3c",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "5061bf3c-bbea-4d72-b331-1dce8b6a0daf",
"idCliente": "413ddb34-9e1f-46e2-b18d-8d2a508f9ba7",
"idPersona": "e01cdc6d-97a8-4ab0-b155-aa0dacc4f3a3",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "50e242f8-5597-4db9-8c68-0b4d5fe81ba0",
"idPlaza": "75ad6d93-55f1-4109-b96e-ce84aad3d4fe",
"idCentroCostos": "6b4ce60c-f93a-413d-8379-41b1bec9c978",
"idDepartamento": "51512d84-684c-4e53-a4db-620d7bb297c5",
"idPuesto": "50af47fb-dae9-4ba3-ac6e-6f8bee741a42",
"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.