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": "ba6ab8f4-3194-42b8-8636-a4eee0ae9cbc",
"idPaciente": "56554412-073a-47a7-963d-b8466747a308"
},
{
"$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": "aa35c3b2-c0fd-4e65-af06-cc70bb0acbec",
"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": "0e6bd686-deb8-4908-9a15-95c5a4d0d393",
"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": "f0ed665d-2760-4898-b9b6-822faa0712be",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-03-13T20:35:35.2367021+00:00",
"fecBaja": "2026-03-13T20:35:35.2367021+00:00",
"fecActivacion": "2026-03-13T20:35:35.2367021+00:00",
"fecInactivacion": "2026-03-13T20:35:35.2367021+00:00",
"idDireccionComercial": "808080e7-1784-4baa-a44a-15f0f867f812",
"idDireccionFiscal": "7e98d37d-5bee-4743-b997-9a8ecb02db54",
"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": "53f4a39f-ebb8-4b14-bb7a-30df398bfbe7",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "d43d9bc0-a1f7-4775-9802-53f2b3f7daac",
"idDireccionFiscal": "4b35bbe9-5bd7-4772-84a6-9b7a25ccbe5c",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "7ea107e3-b3a8-483b-9f48-e04bdb21f120",
"idTPA": "911b9fc4-e27c-41d5-9b78-5e95ab1583c8",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "0f84e72b-2ddf-484f-b9a1-c99a4135024c",
"status": true,
"fecAlta": "2026-03-13T20:35:35.2367021+00:00",
"fecActivacion": "2026-03-13T20:35:35.2367021+00:00",
"fecInactivacion": "2026-03-13T20:35:35.2367021+00:00",
"idDireccionComercial": "008e0864-2c3b-4c3d-b708-8b2c7f306d3b",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "9ab64459-eb0e-4aa6-a5fb-d343ba996576",
"idCliente": "5f113ced-4ef4-4013-96d4-a31b86fb9d59",
"idPersona": "02713dcf-0d19-4f42-8031-3c5349c0687c",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "995bf6ce-d409-4bef-89c7-58b58152d1fa",
"idPlaza": "1008f3b6-40d7-4781-9947-dcc4b8bd3148",
"idCentroCostos": "cdcf5c5e-1b6a-4d5a-b6f7-c2ef62aea0bd",
"idDepartamento": "c7b19670-93f8-4c2b-85bf-0cc7d438d3f9",
"idPuesto": "c87b23f7-2973-4463-8813-ff5bd656aa2f",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}