POST api/Post_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": "6ce7b09f-6d5c-4dfc-88eb-e195ae572c5c",
"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": "ffc74fc6-dda1-4ffe-823b-dada57dd429f",
"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": "9d404a44-6359-4119-9a8c-c7db49823557",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-09-03T14:51:27.6550777+00:00",
"fecBaja": "2026-09-03T14:51:27.6550777+00:00",
"fecActivacion": "2026-09-03T14:51:27.6550777+00:00",
"fecInactivacion": "2026-09-03T14:51:27.6550777+00:00",
"idDireccionComercial": "018ea632-f8f7-4fa7-86bb-a3da1599feb9",
"idDireccionFiscal": "ce9c40dd-bdde-4064-a962-8fd6c87646c2",
"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": "98299538-fdd5-4265-b8c9-3f9ce1f9f345",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "95ebc3fe-23a6-4b2d-993e-fa8b7d13fb3b",
"idDireccionFiscal": "164be22b-2f35-457f-a1f2-948ba7727dbf",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "428e45c9-82db-4f71-8989-82fdf5bb6cdb",
"idTPA": "3a24f10d-911a-4895-906f-7bc97bfbd962",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "6f627da1-8c92-4620-948f-1d38403126f3",
"status": true,
"fecAlta": "2026-09-03T14:51:27.6550777+00:00",
"fecActivacion": "2026-09-03T14:51:27.6550777+00:00",
"fecInactivacion": "2026-09-03T14:51:27.6550777+00:00",
"idDireccionComercial": "3e8c69d1-408b-4e43-8bbf-b0c0168fc358",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "aae63876-f525-4441-8dcb-f079b940c6e4",
"idCliente": "5cfbe909-f86d-4e8e-9b96-eef48d447e46",
"idPersona": "89a92551-1c7b-4456-bfd0-1ed1c8f5353a",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "6d14d603-acf5-475f-9c90-374dda192df3",
"idPlaza": "64bbf1cf-fd66-4c57-93ae-2626f02cde12",
"idCentroCostos": "362412c1-49c6-41bd-8ec3-ff45abdc2c95",
"idDepartamento": "71eef2be-e349-462b-af9d-ba5100daeb06",
"idPuesto": "572e5091-e7a8-4981-badd-56d95e94e82c",
"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.