HealthcareParty
Create a healthcare party
POST
https://demo.icure.cloud/rest/v2/hcparty
One of Name or Last name+First name, Nihii, and Public key are required.
Request Body
body*
HealthcareParty
Create a healthcare party
POST
https://demo.icure.cloud/rest/v2/hcparty/inGroup/{groupId}
One of Name or Last name+First name, Nihii, and Public key are required.
Path Parameters
groupId*
String
Request Body
body*
HealthcareParty
Delete healthcare parties
POST
https://demo.icure.cloud/rest/v2/hcparty/delete/batch
Deleting healthcareParties. Response is an array containing the id of deleted healthcare parties.
Request Body
body*
ListOfIds
Delete a healthcare party
POST
https://demo.icure.cloud/rest/v2/hcparty/delete/batch/inGroup/{groupId}
Deleting a healthcareParty. Response is an array containing the id of deleted healthcare party.
Path Parameters
groupId*
String
Request Body
body*
ListOfIds
List healthcare parties with(out) pagination
GET
https://demo.icure.cloud/rest/v2/hcparty
Returns a list of healthcare parties.
Query Parameters
startKey
String
A healthcare party Last name
startDocumentId
String
A healthcare party document ID
limit
Integer
Number of rows
desc
Boolean
Descending
Find healthcare parties by name with(out) pagination
GET
https://demo.icure.cloud/rest/v2/hcparty/byName
Returns a list of healthcare parties.
Query Parameters
name
String
The Last name search value
startKey
String
A healthcare party Last name
startDocumentId
String
A healthcare party document ID
limit
Integer
Number of rows
desc
Boolean
Descending
Find healthcare parties by name with(out) pagination
GET
https://demo.icure.cloud/rest/v2/hcparty/bySpecialityAndPostCode/{type}/{spec}/{firstCode}/to/{lastCode}
Returns a list of healthcare parties.
Path Parameters
type*
String
The type of the HCP (persphysician)
spec*
String
The speciality of the HCP
firstCode*
String
The first postCode for the HCP
lastCode*
String
The last postCode for the HCP
Query Parameters
limit
Integer
Number of rows
Find healthcare parties by nihii or ssin with(out) pagination
GET
https://demo.icure.cloud/rest/v2/hcparty/byNihiiOrSsin/{searchValue}
Returns a list of healthcare parties.
Path Parameters
searchValue*
String
Query Parameters
startKey
String
A healthcare party Last name
startDocumentId
String
A healthcare party document ID
limit
Integer
Number of rows
desc
Boolean
Descending
Get the current healthcare party if logged in.
GET
https://demo.icure.cloud/rest/v2/hcparty/current
General information about the current healthcare Party
Get the HcParty encrypted AES keys indexed by owner
GET
https://demo.icure.cloud/rest/v2/hcparty/byKeys/{healthcarePartyId}
(key, value) of the map is as follows: (ID of the owner of the encrypted AES key, encrypted AES key)
Path Parameters
healthcarePartyId*
String
Get healthcareParties by their IDs
POST
https://demo.icure.cloud/rest/v2/hcparty/byIds
General information about the healthcare Party
Request Body
body*
ListOfIds
Get a healthcareParty by his ID
GET
https://demo.icure.cloud/rest/v2/hcparty/{healthcarePartyId}
General information about the healthcare Party
Path Parameters
healthcarePartyId*
String
Get public key of a healthcare party
GET
https://demo.icure.cloud/rest/v2/hcparty/{healthcarePartyId}/publicKey
Returns the public key of a healthcare party in Hex
Path Parameters
healthcarePartyId*
String
Find healthcare parties by name with(out) pagination
GET
https://demo.icure.cloud/rest/v2/hcparty/byNameStrict/{name}
Returns a list of healthcare parties.
Path Parameters
name*
String
The Last name search value
Find children of an healthcare parties
GET
https://demo.icure.cloud/rest/v2/hcparty/{parentId}/children
Return a list of children hcp.
Path Parameters
parentId*
String
Modify a Healthcare Party.
PUT
https://demo.icure.cloud/rest/v2/hcparty
No particular return value. It's just a message.
Request Body
body*
HealthcareParty
Modify a Healthcare Party.
PUT
https://demo.icure.cloud/rest/v2/hcparty/inGroup/{groupId}
No particular return value. It's just a message.
Path Parameters
groupId*
String
Request Body
body*
HealthcareParty
Last updated
Was this helpful?