POST api/Put_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": "78a67502-67b3-4a5f-ac85-58e5156b3b12",
"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": "663e68d0-fe8f-4d3e-a25c-0a4905c8f331",
"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": "b5fa211d-6267-4c23-8c1d-1359cd8be4f5",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-29T14:45:13.2327817+00:00",
"fecBaja": "2026-10-29T14:45:13.2327817+00:00",
"fecActivacion": "2026-10-29T14:45:13.2327817+00:00",
"fecInactivacion": "2026-10-29T14:45:13.2327817+00:00",
"idDireccionComercial": "3a17cce5-90a7-4ef5-a691-72e0f905cdfd",
"idDireccionFiscal": "8eee8025-e90d-42fd-9023-332d051f7e88",
"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": "05294c7d-01a3-4cbf-b5cd-dca7bf14344d",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "138ea20e-1557-40c2-96cf-b33798939b06",
"idDireccionFiscal": "5b3423e5-ac11-47b8-af6f-0e3292b217a3",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "c822f45b-01b2-4603-801d-01a9b9a716f8",
"idTPA": "ce6267d6-bb07-4937-bd61-f5ddb164adf4",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "607415d2-92da-483e-997d-d938ce20f4cb",
"status": true,
"fecAlta": "2026-10-29T14:45:13.2327817+00:00",
"fecActivacion": "2026-10-29T14:45:13.2327817+00:00",
"fecInactivacion": "2026-10-29T14:45:13.2327817+00:00",
"idDireccionComercial": "dd6be760-e590-469b-8d0d-beacbeeb412d",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "eb0007e1-a331-4695-a1a4-35a390062a1f",
"idCliente": "236f716e-8507-4852-888e-a3ec03aee972",
"idPersona": "72828fa9-7ff4-4a4b-9879-03cdf7b6a1fc",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "6734cf99-ca79-4e3b-b6cb-cd559ffb2ef5",
"idPlaza": "6af410aa-d2b3-4599-8fa6-44e8c85b067e",
"idCentroCostos": "bc8892b5-37f6-426a-9164-37f865bf4cb2",
"idDepartamento": "5e465260-e72f-4118-afcb-2c36e9d5b798",
"idPuesto": "060ed59d-85df-4d69-88e8-d688093b9ed3",
"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.