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": "d08de047-bd12-4e6e-9f9d-01936b67b9da",
"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": "910c2924-342a-443c-bc8a-a4ff13ffc475",
"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": "7c6fc07d-39c2-43b6-960c-e4ddcdffb5b5",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-04-04T11:48:29.4049287-04:00",
"fecBaja": "2026-04-04T11:48:29.4049287-04:00",
"fecActivacion": "2026-04-04T11:48:29.4049287-04:00",
"fecInactivacion": "2026-04-04T11:48:29.4049287-04:00",
"idDireccionComercial": "aa0f565c-1fcb-4033-ad28-de70d17bdf8e",
"idDireccionFiscal": "75629369-af29-41e9-9273-e4e046b8a227",
"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": "854f0aa4-7081-4e3f-a99c-2f35be1dd7c9",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "ff2a7e54-4cf0-40b5-a07c-e755f5668e1a",
"idDireccionFiscal": "e77b71ea-4338-4649-82bb-1ab7e349f6df",
"Direccion": {
"$ref": "2"
},
"Clientes": {
"$id": "10",
"$values": [
{
"$id": "11",
"idCliente": "b6de899d-3e36-4eef-b5bf-f623bad2b4ce",
"idTPA": "20870a8b-2154-4955-a85b-b8153718d23e",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "60093697-31bc-4861-9cde-98837ef5ed99",
"status": true,
"fecAlta": "2026-04-04T11:48:29.4049287-04:00",
"fecActivacion": "2026-04-04T11:48:29.4049287-04:00",
"fecInactivacion": "2026-04-04T11:48:29.4049287-04:00",
"idDireccionComercial": "09b18d30-3336-4ffc-a642-992aee912dae",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "2"
},
"RazonSocial": {
"$ref": "9"
},
"Derhab": {
"$id": "12",
"$values": [
{
"$id": "13",
"idDerhab": "e31565a8-1499-456b-af93-c7e9f3e9f6e1",
"idCliente": "6f26a18b-3c4f-411a-a212-cc611f221b54",
"idPersona": "a31b0313-8c6f-4420-8d35-132be211ba06",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "4877d23e-d582-46d7-b370-3efef96cc3f0",
"idPlaza": "d69349bb-9304-4b4b-b3f5-fab1b794c065",
"idCentroCostos": "5d4b59d8-74d6-43cb-9711-b51dd8d7926b",
"idDepartamento": "24e64211-ae42-4a84-829c-a760487d9d91",
"idPuesto": "aa79fde9-f1ea-4f5b-9b77-cb34bcee3bf9",
"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.