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": "ed563ea5-41bb-4f60-bf31-fc81333adfbf",
"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": "df99d338-47b0-459e-99c2-318797e3ce25",
"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": "662bf760-9578-4d49-817e-a843003d74b7",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-11-30T13:14:39.2909303+00:00",
"fecBaja": "2026-11-30T13:14:39.2909303+00:00",
"fecActivacion": "2026-11-30T13:14:39.2909303+00:00",
"fecInactivacion": "2026-11-30T13:14:39.2909303+00:00",
"idDireccionComercial": "1986c552-9528-4584-959d-6aeba24f6eda",
"idDireccionFiscal": "63035d50-7320-4b10-aa53-a4cb77ff8b7c",
"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": "637b97ec-e44a-4abd-8550-25e8bbcf410a",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "3f90fbaf-1b1f-490b-842c-9537cae5d954",
"idDireccionFiscal": "1a481ddc-0747-4357-9cde-73d7e07941ae",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "e27713e2-0ec5-4a82-947b-618b4c17ede9",
"idTPA": "0d0726ce-4daa-46d6-956b-ceaf43a30080",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "6fe56997-470b-4180-85d3-6996a21186b9",
"status": true,
"fecAlta": "2026-11-30T13:14:39.2909303+00:00",
"fecActivacion": "2026-11-30T13:14:39.2909303+00:00",
"fecInactivacion": "2026-11-30T13:14:39.2909303+00:00",
"idDireccionComercial": "2340ae41-2d43-4821-b844-b79bcf4d5f4d",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "0ab45d0b-aac5-4886-906c-d78a2000ff9d",
"idCliente": "06379fa7-86d3-4462-b70f-fb280e38f844",
"idPersona": "f9c9057d-3a45-41be-911e-9c05e51280ce",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "d48e71d2-91bd-42e1-b970-233fe62bd9d4",
"idPlaza": "092da475-cca1-4f18-8d97-9306adb261a4",
"idCentroCostos": "373eefa0-d9f4-4a17-bc38-ad20bff57975",
"idDepartamento": "c86103f7-fc33-493c-bf0f-d2a6b072aa22",
"idPuesto": "b352adc2-c60c-4060-8405-70387d3d919e",
"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.