POST api/Put_DireccionItem
Request Information
URI Parameters
None.
Body Parameters
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:
{
"idDireccion": "b19bf9b3-fb51-4f70-a800-618aa53daae5",
"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": "2",
"id": "406a93b8-1b2d-45a7-b41f-b3fbb8f30644",
"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": "3",
"$values": [
{
"$ref": "1"
},
{
"$ref": "1"
}
]
}
},
"TPA": {
"$id": "4",
"$values": [
{
"$id": "5",
"idTPA": "dc780c19-cd4d-4862-a4f2-aca6f42aecb0",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-22T13:01:53.7508663-04:00",
"fecBaja": "2026-03-22T13:01:53.7508663-04:00",
"fecActivacion": "2026-03-22T13:01:53.7508663-04:00",
"fecInactivacion": "2026-03-22T13:01:53.7508663-04:00",
"idDireccionComercial": "b06a5fb8-7eec-41a5-9ed4-6b8a64f0b77d",
"idDireccionFiscal": "6f561a2d-33d6-49a7-8422-371f50661c40",
"sitioWEB": "sample string 9",
"Direccion": {
"$ref": "1"
},
"Direccion1": {
"$ref": "1"
}
},
{
"$ref": "5"
}
]
},
"TPA1": {
"$id": "6",
"$values": [
{
"$ref": "5"
},
{
"$ref": "5"
}
]
},
"RazonSocial": {
"$id": "7",
"$values": [
{
"$id": "8",
"idRazonSocial": "aecf0e73-7180-4102-9a40-0ad998eae645",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "e840d370-04bc-4393-ba62-f047f3f0d26d",
"idDireccionFiscal": "fabea06a-2c46-4b2e-a694-cafd47452731",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "1afdf28f-2b91-46bf-8ed3-cb8e84324892",
"idTPA": "6e8fa471-49c5-4ec4-a996-a4665eaa0511",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "4795b519-d12b-45dc-886e-3cce1594ed12",
"status": true,
"fecAlta": "2026-03-22T13:01:53.7508663-04:00",
"fecActivacion": "2026-03-22T13:01:53.7508663-04:00",
"fecInactivacion": "2026-03-22T13:01:53.7508663-04:00",
"idDireccionComercial": "59b26e8a-678a-46c9-8ef8-c57b58c6bc72",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "9bfcc773-1574-4461-9628-da29a9779ad4",
"idCliente": "6cce4c85-94ae-4229-901e-d2b8f2a44451",
"idPersona": "6cb5ca4a-a153-4674-9927-ad0e222758b9",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "72d1385f-75d3-48a5-84ce-bedce3f0431c",
"idPlaza": "e3eb00d3-34da-441d-a0c7-7abdb509ed82",
"idCentroCostos": "65918a4f-65bb-4d61-b469-8c008fd0c1c4",
"idDepartamento": "f6060ad5-2ead-4d08-940a-796ab7c26446",
"idPuesto": "67309e95-9468-485b-9b2f-10d882e475d1",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.