POST api/Put_Direccion
Request Information
URI Parameters
None.
Body Parameters
Collection of 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:
[
{
"$id": "2",
"idDireccion": "692ad7dc-0042-471a-a336-83bec3caeb87",
"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": "3",
"id": "5e305da4-a7cb-4b0a-8e2a-b93e6bb985f4",
"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": "4",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
},
"TPA": {
"$id": "5",
"$values": [
{
"$id": "6",
"idTPA": "aa7fec1a-15a5-4356-a125-357cdb1e4046",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-07-10T14:09:46.1263684+00:00",
"fecBaja": "2026-07-10T14:09:46.1263684+00:00",
"fecActivacion": "2026-07-10T14:09:46.1263684+00:00",
"fecInactivacion": "2026-07-10T14:09:46.1263684+00:00",
"idDireccionComercial": "12a71bed-ef96-4c90-b01c-2379e51a264c",
"idDireccionFiscal": "89bd1126-3926-40f4-8a00-0dc646a6df92",
"sitioWEB": "sample string 9",
"Direccion": {
"$ref": "2"
},
"Direccion1": {
"$ref": "2"
}
},
{
"$ref": "6"
}
]
},
"TPA1": {
"$id": "7",
"$values": [
{
"$ref": "6"
},
{
"$ref": "6"
}
]
},
"RazonSocial": {
"$id": "8",
"$values": [
{
"$id": "9",
"idRazonSocial": "49154a92-92ba-42eb-a22b-569ea9c0f59f",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "52c71727-6385-4248-aab5-bba8c4d584d5",
"idDireccionFiscal": "1a53f39a-a171-4bb3-81ca-e5b396fd167c",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "b8195307-cf9b-4526-aee1-fa2c22c90f00",
"idTPA": "84e4a5b6-ef18-461d-bad3-0c95a0cd573a",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "bc2d7653-2bfb-470f-91c9-f7ca2e5a780a",
"status": true,
"fecAlta": "2026-07-10T14:09:46.1263684+00:00",
"fecActivacion": "2026-07-10T14:09:46.1263684+00:00",
"fecInactivacion": "2026-07-10T14:09:46.1263684+00:00",
"idDireccionComercial": "8f6ae9fc-332d-4e39-815d-0e1ebf014ee8",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "50cc1229-5f6b-493b-9474-777ea077f363",
"idCliente": "23e491b4-65f9-43ce-bc1b-e021eaa4560f",
"idPersona": "a90d8b51-d5b9-479b-a37e-f4448b51ea49",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "a1202652-524f-4c21-aff5-6a27a6529fb8",
"idPlaza": "096c529c-c1cf-40b7-9d26-0f55b3a2c12f",
"idCentroCostos": "0bd21d69-9b94-47f1-8ed1-5578852f0de1",
"idDepartamento": "c0a568c8-1b7b-44c6-b324-a6ff0b7ce49b",
"idPuesto": "b3a0a520-3fb8-45af-abd7-963f3d0fe5a5",
"Clientes": {
"$ref": "11"
}
},
{
"$ref": "13"
}
]
}
},
{
"$ref": "11"
}
]
}
},
{
"$ref": "9"
}
]
},
"Clientes": {
"$id": "14",
"$values": [
{
"$ref": "11"
},
{
"$ref": "11"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.