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": "3dd6dd81-1178-4c30-b36f-a936d1426824",
"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": "7eb3b549-1b9e-4102-a433-b5cf10997481",
"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": "1b3d62dd-b70d-4df3-9959-1fe44f8b2191",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-04-04T11:47:23.0983081-04:00",
"fecBaja": "2026-04-04T11:47:23.0983081-04:00",
"fecActivacion": "2026-04-04T11:47:23.0983081-04:00",
"fecInactivacion": "2026-04-04T11:47:23.0983081-04:00",
"idDireccionComercial": "5613e263-c1b8-405d-bbc1-546ad73a4c88",
"idDireccionFiscal": "e4b70906-cdf6-4a85-a741-95a80df2b95e",
"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": "6c6d6856-b16f-4bbd-bfde-031f3191e11e",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "651076b3-848c-46ad-b160-04208aaed86c",
"idDireccionFiscal": "d35db8f6-15e9-40b5-b962-480760670c18",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "2b8a60c8-9bc5-4787-8e8b-5f63947f84a0",
"idTPA": "6df50e49-618e-4a81-9c5f-02d3fbe3f1d8",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "dd933d27-e9cc-4292-bea3-f8128c7a4103",
"status": true,
"fecAlta": "2026-04-04T11:47:23.0983081-04:00",
"fecActivacion": "2026-04-04T11:47:23.0983081-04:00",
"fecInactivacion": "2026-04-04T11:47:23.0983081-04:00",
"idDireccionComercial": "612c28cf-0ca1-4673-af13-25ffa72466c2",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "3afeb6c1-8ba3-496a-8e9d-131f1631e6ec",
"idCliente": "172cbe3f-b4c2-4bec-8ceb-2460536268db",
"idPersona": "42f1d58d-6a06-40b8-b60d-756f6a1b9647",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "d380493e-c583-49ce-bb63-ff93048d584b",
"idPlaza": "be78cbce-c831-469d-b93e-6f6c82b8def0",
"idCentroCostos": "422e998f-365f-455d-adc6-73da67e81667",
"idDepartamento": "03107445-4ea1-40e0-ba98-abfed2e76261",
"idPuesto": "cc20a4b8-5dfb-4ae1-8c29-8950b01bc2ab",
"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.