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": "460617f1-bb6f-422e-9acf-1e861e6ac907",
"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": "e08e93ed-ba10-441c-aca6-5c9b536010a5",
"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": "075f635b-62f5-49df-838d-d1e4b9e3ccd0",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-10-06T14:04:37.4181484+00:00",
"fecBaja": "2026-10-06T14:04:37.4181484+00:00",
"fecActivacion": "2026-10-06T14:04:37.4181484+00:00",
"fecInactivacion": "2026-10-06T14:04:37.4181484+00:00",
"idDireccionComercial": "49f6438b-56e8-4d06-95c2-93f83b70cd9f",
"idDireccionFiscal": "474d70c4-0805-4c7a-b178-0bfab8424409",
"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": "fcc794a6-5456-4807-b3ec-fd09b7d52e77",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "a71af22b-7e5b-4d69-819c-ebb9d1a68507",
"idDireccionFiscal": "d5e6fde1-fcda-4a30-b5be-bac7c770be96",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "2297f308-fb1c-4c2c-b4ce-07fd275d5108",
"idTPA": "323aa0b5-cc5b-4925-a248-f951c55534e2",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "954d0f2c-c0c1-4584-8d00-2dd56edaa44b",
"status": true,
"fecAlta": "2026-10-06T14:04:37.4181484+00:00",
"fecActivacion": "2026-10-06T14:04:37.4181484+00:00",
"fecInactivacion": "2026-10-06T14:04:37.4181484+00:00",
"idDireccionComercial": "85749aad-9e01-4270-b385-57552905822d",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "25816194-0ee8-413b-a8cc-26dba49d23b2",
"idCliente": "c7ff5f94-a2b5-4343-9596-6113193cba07",
"idPersona": "cfa1e021-3d83-4e70-8fc6-801ce19cefbb",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "57531853-7810-43fb-9d2e-f79ad9b9ebc4",
"idPlaza": "11533503-5ae2-48e5-bf31-149da816c584",
"idCentroCostos": "06e88b3a-23fd-4093-9c12-6728838a58e0",
"idDepartamento": "23942665-1c81-4170-8444-7614b33d1941",
"idPuesto": "78d4f7b4-febd-40ea-90b1-7fcc301ea642",
"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.