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": "a6c3f4a8-9fab-45ae-b91a-f1087d2cec65",
"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": "04ecc315-eec4-40a9-ba7a-89b84b3ae8b5",
"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": "904f2123-22e2-4701-8fe6-4c5caaafa98f",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-22T12:59:26.395283-04:00",
"fecBaja": "2026-03-22T12:59:26.395283-04:00",
"fecActivacion": "2026-03-22T12:59:26.395283-04:00",
"fecInactivacion": "2026-03-22T12:59:26.395283-04:00",
"idDireccionComercial": "5dfeb381-dc34-4a9d-b3b7-3e1da0e3b929",
"idDireccionFiscal": "e2dd2d77-02ee-4653-8bab-78efdb9c56ec",
"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": "83182a80-e272-437e-8ada-e1f3d0af2bce",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "3f22c10a-2a3e-4a31-9ba7-8c8105ad1b7c",
"idDireccionFiscal": "2aa5b742-b80e-4f2f-bdf4-c5acd1be69ee",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "78538bbd-3ee0-498a-b356-3727a79ef891",
"idTPA": "c40fe89d-7dc5-4acd-9929-42e6be70c98e",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "a4de4744-b2ef-400c-851b-8a621ed8a925",
"status": true,
"fecAlta": "2026-03-22T12:59:26.395283-04:00",
"fecActivacion": "2026-03-22T12:59:26.395283-04:00",
"fecInactivacion": "2026-03-22T12:59:26.395283-04:00",
"idDireccionComercial": "ff408ec2-8dbe-4a7d-ace2-ddd1606a8713",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "499c4b9b-769e-4974-a5b3-fafba139a92b",
"idCliente": "46a31480-8a4f-41f8-b46c-d19051a32d53",
"idPersona": "ccfefcf2-50f7-4184-b25c-54dcdb7afb9b",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "7f5411cc-3187-4cad-ad70-816cc1b30cea",
"idPlaza": "910aca1f-a392-4e85-a233-00b50ba49368",
"idCentroCostos": "1f8f6d52-f169-4cde-8b45-fac9dac1a82a",
"idDepartamento": "c839ba41-4e9d-4014-ba16-b6eae4dd89ae",
"idPuesto": "818a60ff-fab5-4c3c-b82f-1d3365ac802f",
"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.