curl --location --request POST 'https://api-pruebas.phoqo.cl/pruebas/v2/patients/search' \
--header 'empresa: ' \
--header 'grupo: ' \
--header 'x-application: PHOQO' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"limit": 0,
"page": 0,
"sort": [
{
"NombreDeCampoAOrdernar": "desc"
}
],
"fields": [
"*"
],
"filters": {
"NombreCampoAFiltrar": {
"eq": "active",
"in": [
"string"
],
"lk": "string",
"gt": 0,
"gte": 0,
"lt": "string",
"lte": "string"
}
},
"match": {
"q": "string",
"fields": "string",
"type": "string",
"operator": "string"
}
}'[
{
"dateCreation": "string",
"id": "string",
"email": "string",
"identificationType": "passport",
"identificationNumber": "string",
"identification": "string",
"name": "string",
"gender": "male",
"birthDate": "string",
"nationality": "string",
"phone": "string",
"dateUpdate": "string",
"companyId": "string"
}
]