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": "99f68e07-baad-4d56-af0b-e36998c3d5af",
"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": "0c372f0d-b19d-4f28-9149-fb7671d12e4c",
"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": "1e58ea24-ff26-4287-a7a2-5193b3251b25",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-05-08T14:14:22.4429742+00:00",
"fecBaja": "2026-05-08T14:14:22.4429742+00:00",
"fecActivacion": "2026-05-08T14:14:22.4429742+00:00",
"fecInactivacion": "2026-05-08T14:14:22.4429742+00:00",
"idDireccionComercial": "aae253dd-658e-4e8d-82da-b14f5f6bf073",
"idDireccionFiscal": "6c0dcdc5-53cb-4c5c-87be-1b6ee71d7d28",
"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": "4aeca852-f200-4cdf-9960-e50672bf7308",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "44cd5e0a-cc7a-425f-be24-ccb07ee88930",
"idDireccionFiscal": "5fe36ada-958a-4432-8192-4258b4c18024",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "2f25cde0-253e-4aac-9805-4dce55c38006",
"idTPA": "f99e4b52-160e-4b96-81af-f6dfc173986c",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "0c77ee97-8901-43f1-a85c-cbb1772a5f08",
"status": true,
"fecAlta": "2026-05-08T14:14:22.4429742+00:00",
"fecActivacion": "2026-05-08T14:14:22.4429742+00:00",
"fecInactivacion": "2026-05-08T14:14:22.4429742+00:00",
"idDireccionComercial": "a48a65cc-05ee-4c34-bb7a-1cee0b17fc5a",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "1eefd379-9ba0-4440-9fb7-0792cee6a360",
"idCliente": "3d548702-61ec-4a78-b89a-abed9f45a807",
"idPersona": "ec4d3bbd-dd02-4a48-a5af-fe1a9d03966f",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "5b6b3abc-ca25-46ee-8769-4d6cca420c54",
"idPlaza": "0a51fdd0-1d85-47a8-b8c5-7cc30ffd57ae",
"idCentroCostos": "838586a8-43e8-4680-96be-39a8aea98e4b",
"idDepartamento": "2eea80d3-8a73-4631-b5ed-37694bca6c33",
"idPuesto": "a316909c-67c4-4a2e-ad50-c00506525d26",
"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.