Contact
Close contacts for Healthcare Party and secret foreign keys.
PUT
https://demo.icure.cloud/rest/v2/contact/byHcPartySecretForeignKeys/close
Keys must be delimited by coma
Query Parameters
hcPartyId*
String
secretFKeys*
String
Create a contact with the current user
POST
https://demo.icure.cloud/rest/v2/contact
Returns an instance of created contact.
Request Body
body*
Contact
Create a batch of contacts
POST
https://demo.icure.cloud/rest/v2/contact/batch
Returns the modified contacts.
Request Body
body*
List
Delete contacts.
POST
https://demo.icure.cloud/rest/v2/contact/delete/batch
Response is a set containing the ID's of deleted contacts.
Request Body
body*
ListOfIds
List contacts for the current user (HcParty) or the given hcparty in the filter
POST
https://demo.icure.cloud/rest/v2/contact/filter
Returns a list of contacts along with next start keys and Document ID. If the nextStartKey is Null it means that this is the last page.
Query Parameters
startDocumentId
String
A Contact document ID
limit
Integer
Number of rows
Request Body
body*
FilterChainContact
List services for the current user (HcParty) or the given hcparty in the filter
POST
https://demo.icure.cloud/rest/v2/contact/service/filter
Returns a list of contacts along with next start keys and Document ID. If the nextStartKey is Null it means that this is the last page.
Query Parameters
startDocumentId
String
A Contact document ID
limit
Integer
Number of rows
Request Body
body*
FilterChainService
List contacts by opening date parties with(out) pagination
GET
https://demo.icure.cloud/rest/v2/contact/byOpeningDate
Returns a list of contacts.
Query Parameters
startKey*
Long
The contact openingDate
endKey*
Long
The contact max openingDate
hcpartyid*
String
hcpartyid
startDocumentId
String
A contact party document ID
limit
Integer
Number of rows
Get a contact
GET
https://demo.icure.cloud/rest/v2/contact/{contactId}
Path Parameters
contactId*
String
Get contacts
POST
https://demo.icure.cloud/rest/v2/contact/byIds
Request Body
body*
ListOfIds
Get an empty content
GET
https://demo.icure.cloud/rest/v2/contact/service/content/empty
Get the list of all used codes frequencies in services
GET
https://demo.icure.cloud/rest/v2/contact/service/codes/{codeType}/{minOccurences}
Path Parameters
codeType*
String
minOccurences*
Long
List services with provided ids
POST
https://demo.icure.cloud/rest/v2/contact/service
Returns a list of services
Request Body
body*
ListOfIds
List services linked to provided ids
POST
https://demo.icure.cloud/rest/v2/contact/service/linkedTo
Returns a list of services
Query Parameters
linkType
String
The type of the link
Request Body
body*
ListOfIds
List contacts found By Healthcare Party and service Id.
GET
https://demo.icure.cloud/rest/v2/contact/byHcPartyServiceId
Query Parameters
hcPartyId*
String
serviceId*
String
List contacts found By externalId.
POST
https://demo.icure.cloud/rest/v2/contact/byExternalId
Query Parameters
externalId*
String
List contacts found By Healthcare Party and form Id.
GET
https://demo.icure.cloud/rest/v2/contact/byHcPartyFormId
Query Parameters
hcPartyId*
String
formId*
String
List contacts found By Healthcare Party and form Id.
POST
https://demo.icure.cloud/rest/v2/contact/byHcPartyFormIds
Query Parameters
hcPartyId*
String
Request Body
body*
ListOfIds
List contacts found By Healthcare Party and Patient foreign keys.
POST
https://demo.icure.cloud/rest/v2/contact/byHcPartyPatientForeignKeys
Query Parameters
hcPartyId*
String
Request Body
body*
ListOfIds
List contacts found By Healthcare Party and secret foreign keys.
GET
https://demo.icure.cloud/rest/v2/contact/byHcPartySecretForeignKeys
Keys must be delimited by coma
Query Parameters
hcPartyId*
String
secretFKeys*
String
planOfActionsIds
String
skipClosedContacts
Boolean
List contacts found By Healthcare Party and secret foreign keys.
GET
https://demo.icure.cloud/rest/v2/contact/byHcPartySecretForeignKeys/delegations
Keys must be delimited by coma
Query Parameters
hcPartyId*
String
secretFKeys*
String
List services by related association id
GET
https://demo.icure.cloud/rest/v2/contact/service/associationId
Returns a list of services
Query Parameters
associationId*
String
Get ids of contacts matching the provided filter for the current user (HcParty)
POST
https://demo.icure.cloud/rest/v2/contact/match
Request Body
body*
AbstractFilterContact
Modify a contact
PUT
https://demo.icure.cloud/rest/v2/contact
Returns the modified contact.
Request Body
body*
Contact
Modify a batch of contacts
PUT
https://demo.icure.cloud/rest/v2/contact/batch
Returns the modified contacts.
Request Body
body*
List
Update delegations in healthElements.
PUT
https://demo.icure.cloud/rest/v2/contact/delegations
Keys must be delimited by coma
Request Body
body*
List
Delegates a contact to a healthcare party
POST
https://demo.icure.cloud/rest/v2/contact/{contactId}/delegate
It delegates a contact to a healthcare party (By current healthcare party). Returns the contact with new delegations.
Path Parameters
contactId*
String
Request Body
body*
Delegation
Update delegations in healthElements.
POST
https://demo.icure.cloud/rest/v2/contact/delegations
Keys must be delimited by coma
Request Body
body*
List
Last updated