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": "6f66a97c-8bc2-4a79-a61a-2d9bd91ae2d9",
"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": "9a942570-b383-4e11-9676-2e3c861a15dd",
"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": "032e3759-fa0b-4f30-9c19-c435c90a0658",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-22T12:58:27.3934527-04:00",
"fecBaja": "2026-03-22T12:58:27.3934527-04:00",
"fecActivacion": "2026-03-22T12:58:27.3934527-04:00",
"fecInactivacion": "2026-03-22T12:58:27.3934527-04:00",
"idDireccionComercial": "461d82be-ef2b-40ca-ba87-660d72e8b258",
"idDireccionFiscal": "be863d4c-fb34-4c87-9487-6de473abd6ef",
"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": "fbe21656-893d-4882-9c90-46c9c830b0ef",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "5f266588-e8ef-4dac-b790-d2e736fd7417",
"idDireccionFiscal": "63134e25-6c94-4ad9-8e68-d2c5979122bc",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "13c34fb6-0179-4f4f-b604-5f1a427e2c56",
"idTPA": "2ba44c36-3302-4b0a-9940-71c6e3ceb79d",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "5e700726-c882-4ce2-a646-92c998f632b6",
"status": true,
"fecAlta": "2026-03-22T12:58:27.3934527-04:00",
"fecActivacion": "2026-03-22T12:58:27.3934527-04:00",
"fecInactivacion": "2026-03-22T12:58:27.3934527-04:00",
"idDireccionComercial": "62971647-a894-4555-af6e-22ca6b09b123",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "819cd459-2fd0-46ba-a818-2408da6123b0",
"idCliente": "083314ba-77fc-456b-ac08-7a22f16be968",
"idPersona": "fb5b7d56-5396-4f50-bfe2-b17c1dcb8f37",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "8b75744f-59de-4af2-a1df-a9abc72cabb8",
"idPlaza": "e7d791a5-73ba-4302-8dd0-8a2062de2376",
"idCentroCostos": "72102b9e-4689-4c15-bcd9-7756b704587c",
"idDepartamento": "d0d1444a-75d6-4b05-ac25-8a9f87d1d5d4",
"idPuesto": "651c2f5d-be46-4df8-834b-5e471fcd01fb",
"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.