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": "8e9261a4-1bb1-4817-913f-dfe8830c574c",
"idPaciente": "ca690aa0-0711-4b5e-b3d2-99b4ef3a1811"
},
{
"$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": "aba2c90e-da15-4585-be89-5053fae439e5",
"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": "be945396-a8e5-417f-bef5-e457bbf464ef",
"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": "6f2d0389-1086-42e4-bbd3-b458be89658a",
"codTPA": "sample string 2",
"nomComercial": "sample string 3",
"RFC": "sample string 4",
"nomFiscal": "sample string 5",
"status": true,
"fecAlta": "2026-09-03T14:50:39.1350914+00:00",
"fecBaja": "2026-09-03T14:50:39.1350914+00:00",
"fecActivacion": "2026-09-03T14:50:39.1350914+00:00",
"fecInactivacion": "2026-09-03T14:50:39.1350914+00:00",
"idDireccionComercial": "a69302df-c374-4a42-b90b-24368adba66c",
"idDireccionFiscal": "5f8eec3d-a4b7-4b2a-a737-598a5b0b2bd7",
"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": "736b4e06-2775-466a-b758-4a4c5b19160e",
"RazonSocial1": "sample string 2",
"RFC": "sample string 3",
"idTipoPersona": "70c8fe61-78e3-4a92-8742-ef1dd686d9d0",
"idDireccionFiscal": "fa5b8692-0ccf-41b8-b536-6715045b1011",
"Direccion": {
"$ref": "1"
},
"Clientes": {
"$id": "9",
"$values": [
{
"$id": "10",
"idCliente": "9ac1a612-abed-4d91-8e53-321ee4c30d23",
"idTPA": "fb5577ca-5ad6-4d58-8712-e7ad9d67db96",
"codCliente": "sample string 3",
"nomComercial": "sample string 4",
"idRazonSocial": "bbab71d5-cf46-4ba1-b0d9-c119699eb6c0",
"status": true,
"fecAlta": "2026-09-03T14:50:39.1350914+00:00",
"fecActivacion": "2026-09-03T14:50:39.1350914+00:00",
"fecInactivacion": "2026-09-03T14:50:39.1350914+00:00",
"idDireccionComercial": "53a7ea4f-dddc-43a1-be31-730f9541f97f",
"sitioWEB": "sample string 10",
"Direccion": {
"$ref": "1"
},
"RazonSocial": {
"$ref": "8"
},
"Derhab": {
"$id": "11",
"$values": [
{
"$id": "12",
"idDerhab": "ceb9401b-23b8-4d9d-a540-8fac4c2e0bfc",
"idCliente": "5d7fea74-4b73-46d5-a20e-3f83f828385b",
"idPersona": "a0344b47-a728-4dbc-9d54-6e49a21f179f",
"registro": "sample string 4",
"beneficiario": "sample string 5",
"idZona": "fda8d61e-4212-4306-b43f-4919df1f19c9",
"idPlaza": "d8f4c08a-df4a-4006-8302-768062053d35",
"idCentroCostos": "1b739b31-9874-4be4-95df-a548852a7a54",
"idDepartamento": "3ccbefb2-1b07-4a43-989a-53c987305701",
"idPuesto": "29fd3bb7-44fa-47c5-a55f-480115df15ef",
"Clientes": {
"$ref": "10"
}
},
{
"$ref": "12"
}
]
}
},
{
"$ref": "10"
}
]
}
},
{
"$ref": "8"
}
]
},
"Clientes": {
"$id": "13",
"$values": [
{
"$ref": "10"
},
{
"$ref": "10"
}
]
}
}