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": "c3cd1a57-daa6-4402-bb06-4d32d660f1b1",
"idPaciente": "7ddfd59a-60ca-455a-8f70-a6b8cbe5b9e6"
},
{
"$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": "e496ca51-c903-416a-bca2-73e32640d714",
"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": "bed17a36-a1d8-4942-8eac-eb8aae70d2a7",
"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": "b37a837b-6c53-4af8-a6b5-446131b3fcfc",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-06-18T03:31:15.4629232+00:00",
"fecBaja": "2026-06-18T03:31:15.4629232+00:00",
"fecActivacion": "2026-06-18T03:31:15.4629232+00:00",
"fecInactivacion": "2026-06-18T03:31:15.4629232+00:00",
"idDireccionComercial": "79829e1a-ae1f-4b49-b2e7-875575a2489d",
"idDireccionFiscal": "5cea23de-0c1b-41c5-8f79-b9a5e09f845f",
"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": "accb50c2-80e6-409d-ad3b-f9e876a38e20",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "69745bd1-44bd-4341-bc03-4585479da1b6",
"idDireccionFiscal": "bbbccc18-fbb9-49c8-ac01-4a96ab1c2197",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "5b8a5a4d-de93-4b61-b95b-f6b4b84c5849",
"idTPA": "0b8bfc6d-a269-4de8-bdd6-6e8eaf8f4fce",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "2be31d19-a7ce-4204-aa57-276279563845",
"status": true,
"fecAlta": "2026-06-18T03:31:15.4629232+00:00",
"fecActivacion": "2026-06-18T03:31:15.4629232+00:00",
"fecInactivacion": "2026-06-18T03:31:15.4629232+00:00",
"idDireccionComercial": "267826c6-0b07-4515-ac60-427b4324bec6",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "e64bd967-4f7d-4ab2-8abc-be6b19d3b8bb",
"idCliente": "350f83e1-5fe9-45cc-be9b-671ccea7bd15",
"idPersona": "051d81d3-e384-4170-b5f0-0c06177bee53",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "e514954d-db29-434a-8377-db429ed7225f",
"idPlaza": "7d49bd59-810b-4bde-bf1b-c8acf73ea143",
"idCentroCostos": "d1274f09-1a54-4c72-8bb0-47fe638165e4",
"idDepartamento": "2c37717b-8a8a-4630-bb74-1b9e6f4159e1",
"idPuesto": "d5cfe50a-e7b1-4818-ba32-ef9b7c4d8ada",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}