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": "82093a09-4431-4061-a8b5-df7039eed26b",
"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": "6db43626-4fcf-4338-b535-a4c3df0b7906",
"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": "92a82fb2-8e67-4b31-86a1-c2115d76e744",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-07-10T14:09:13.7968926+00:00",
"fecBaja": "2026-07-10T14:09:13.7968926+00:00",
"fecActivacion": "2026-07-10T14:09:13.7968926+00:00",
"fecInactivacion": "2026-07-10T14:09:13.7968926+00:00",
"idDireccionComercial": "da63d484-e8a0-4d88-aa20-e015992216d9",
"idDireccionFiscal": "597b7afb-d395-4c74-bd4f-f6effc1e9927",
"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": "5e19e49b-6a19-42cc-9094-794f2f334439",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "17bf43f8-2ba2-4f9d-99c6-a9230309ae02",
"idDireccionFiscal": "3fe9c11a-6e39-43e7-9768-5ebbf7bab51e",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "df297be6-fea0-4ed5-9ece-037b5d7b696f",
"idTPA": "350e0369-c8b3-4f8f-a1c9-ca8a34e59e73",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "fb4ab215-ccaa-4e90-97d5-cedc65435908",
"status": true,
"fecAlta": "2026-07-10T14:09:13.7968926+00:00",
"fecActivacion": "2026-07-10T14:09:13.7968926+00:00",
"fecInactivacion": "2026-07-10T14:09:13.7968926+00:00",
"idDireccionComercial": "e8be674c-1c32-42b6-98f3-ab3ceca4b1fd",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "ff6a6fb7-e640-4e67-8f3a-ca23de3b3562",
"idCliente": "a4703fb3-fb91-457f-b49f-a94086b7f75c",
"idPersona": "080bf0a2-1f33-4dd4-a1c8-64883194d138",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "57bffce7-274e-4da9-af90-18fdb8c286b3",
"idPlaza": "94ec7237-f283-461a-972c-7b460558d3c7",
"idCentroCostos": "bbcca571-f22e-4674-b1f8-caa69d888bef",
"idDepartamento": "641b0012-43e5-4c65-beda-dd60504f7d43",
"idPuesto": "18875718-2208-4802-8fd0-3d7c32f69a85",
"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.