POST api/PostRelDireccionBulk
Request Information
URI Parameters
None.
Body Parameters
Collection of TB_Paciente_Direccion| Name | Description | Type | Additional information |
|---|---|---|---|
| idDireccion | globally unique identifier |
None. |
|
| idPaciente | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"idDireccion": "47b1f391-3bd0-47be-8279-36116c6a25ee",
"idPaciente": "e9bf98c8-fbf9-4ba5-850d-c3d890ed9c2a"
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{
"idDireccion": "c199ddfb-a981-4bab-9d7f-931f7ff77d0d",
"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": "aa51da6b-db52-4280-a209-93a53190db6f",
"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": "b03ccb46-af70-4e9e-a533-35f333c0826f",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-11-30T13:12:13.6044853+00:00",
"fecBaja": "2026-11-30T13:12:13.6044853+00:00",
"fecActivacion": "2026-11-30T13:12:13.6044853+00:00",
"fecInactivacion": "2026-11-30T13:12:13.6044853+00:00",
"idDireccionComercial": "219a8ce9-aa4a-444b-9b9f-b6aad8a1b99e",
"idDireccionFiscal": "b4d1b577-5951-4a34-b985-6aa8d3717021",
"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": "66b8b141-6c59-4e10-bc5c-d71cf2b2b440",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "c8b7dcb8-7ee2-4799-ab6f-5ca6cc775d5c",
"idDireccionFiscal": "1a7a97f4-2800-4011-a850-1427be71b7df",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "70ee3a64-7dbf-4b1c-9129-6fd372bfcf58",
"idTPA": "7370bbb0-3c9d-4ea1-94aa-dba04ee07947",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "a0b80011-64e7-4f63-b556-fc3261f037a8",
"status": true,
"fecAlta": "2026-11-30T13:12:13.6044853+00:00",
"fecActivacion": "2026-11-30T13:12:13.6044853+00:00",
"fecInactivacion": "2026-11-30T13:12:13.6044853+00:00",
"idDireccionComercial": "98484f76-4b81-4200-8f2b-47d6809f6bf6",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "70d7dee9-ef69-4083-936a-dcc6ba69446c",
"idCliente": "b366433f-46cb-40e2-b9be-923e64796e6c",
"idPersona": "a9e5e22e-66d5-4a34-aaf3-d45e2f199f6a",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "0874bf81-f5ac-4b27-84d3-874d871b673e",
"idPlaza": "dfecd3ab-5303-400a-9559-5c2f5db9debc",
"idCentroCostos": "e788e7c1-4142-4054-8119-d257c3e97d90",
"idDepartamento": "90f7ad2d-5de2-4a64-9c9f-594d4c6538a1",
"idPuesto": "2668357d-5f79-48e4-93ae-69af64d7d1bb",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}