Message
Creates a message
POST
https://demo.icure.cloud/rest/v2/message
Request Body
body*
Message
Deletes a message delegation
DELETE
https://demo.icure.cloud/rest/v2/message/{messageId}/delegate/{delegateId}
Path Parameters
messageId*
String
delegateId*
String
Deletes multiple messages
POST
https://demo.icure.cloud/rest/v2/message/delete/batch
Request Body
body*
ListOfIds
Get all messages (paginated) for current HC Party
GET
https://demo.icure.cloud/rest/v2/message
Query Parameters
startKey
String
startDocumentId
String
limit
Integer
Get all messages (paginated) for current HC Party and provided from address
GET
https://demo.icure.cloud/rest/v2/message/byFromAddress
Query Parameters
fromAddress
String
startKey
String
startDocumentId
String
limit
Integer
hcpId
String
List messages found By Healthcare Party and secret foreign keys.
GET
https://demo.icure.cloud/rest/v2/message/byHcPartySecretForeignKeys
Keys must be delimited by coma
Query Parameters
secretFKeys*
String
Get all messages (paginated) for current HC Party and provided to address
GET
https://demo.icure.cloud/rest/v2/message/byToAddress
Query Parameters
toAddress
String
startKey
String
startDocumentId
String
limit
Integer
reverse
Boolean
hcpId
String
Get all messages (paginated) for current HC Party and provided transportGuid
GET
https://demo.icure.cloud/rest/v2/message/byTransportGuid
Query Parameters
transportGuid
String
received
Boolean
startKey
String
startDocumentId
String
limit
Integer
hcpId
String
Get all messages starting by a prefix between two date
GET
https://demo.icure.cloud/rest/v2/message/byTransportGuidSentDate
Query Parameters
transportGuid
String
from
Long
to
Long
startKey
String
startDocumentId
String
limit
Integer
hcpId
String
Get children messages of provided message
GET
https://demo.icure.cloud/rest/v2/message/{messageId}/children
Path Parameters
messageId*
String
Gets a message
GET
https://demo.icure.cloud/rest/v2/message/{messageId}
Path Parameters
messageId*
String
Get children messages of provided message
POST
https://demo.icure.cloud/rest/v2/message/children/batch
Request Body
body*
ListOfIds
Get children messages of provided message
POST
https://demo.icure.cloud/rest/v2/message/byInvoice
Request Body
body*
ListOfIds
Get all messages for current HC Party and provided transportGuids
POST
https://demo.icure.cloud/rest/v2/message/byTransportGuid/list
Query Parameters
hcpId*
String
Request Body
body*
ListOfIds
Updates a message
PUT
https://demo.icure.cloud/rest/v2/message
Request Body
body*
Message
Adds a delegation to a message
PUT
https://demo.icure.cloud/rest/v2/message/{messageId}/delegate
Path Parameters
messageId*
String
Request Body
body*
List
Set read status for given list of messages
PUT
https://demo.icure.cloud/rest/v2/message/readstatus
Request Body
body*
MessagesReadStatusUpdate
Set status bits for given list of messages
PUT
https://demo.icure.cloud/rest/v2/message/status/{status}
Path Parameters
status*
Integer
Request Body
body*
ListOfIds
Last updated