Message

Creates a message

POST https://demo.icure.cloud/rest/v2/message

Request Body

NameTypeDescription

body*

Message

Deletes a message delegation

DELETE https://demo.icure.cloud/rest/v2/message/{messageId}/delegate/{delegateId}

Path Parameters

NameTypeDescription

messageId*

String

delegateId*

String

Deletes multiple messages

POST https://demo.icure.cloud/rest/v2/message/delete/batch

Request Body

NameTypeDescription

body*

ListOfIds

Get all messages (paginated) for current HC Party

GET https://demo.icure.cloud/rest/v2/message

Query Parameters

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

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

NameTypeDescription

messageId*

String

Gets a message

GET https://demo.icure.cloud/rest/v2/message/{messageId}

Path Parameters

NameTypeDescription

messageId*

String

Get children messages of provided message

POST https://demo.icure.cloud/rest/v2/message/children/batch

Request Body

NameTypeDescription

body*

ListOfIds

Get children messages of provided message

POST https://demo.icure.cloud/rest/v2/message/byInvoice

Request Body

NameTypeDescription

body*

ListOfIds

Get all messages for current HC Party and provided transportGuids

POST https://demo.icure.cloud/rest/v2/message/byTransportGuid/list

Query Parameters

NameTypeDescription

hcpId*

String

Request Body

NameTypeDescription

body*

ListOfIds

Updates a message

PUT https://demo.icure.cloud/rest/v2/message

Request Body

NameTypeDescription

body*

Message

Adds a delegation to a message

PUT https://demo.icure.cloud/rest/v2/message/{messageId}/delegate

Path Parameters

NameTypeDescription

messageId*

String

Request Body

NameTypeDescription

body*

List

Set read status for given list of messages

PUT https://demo.icure.cloud/rest/v2/message/readstatus

Request Body

NameTypeDescription

body*

MessagesReadStatusUpdate

Set status bits for given list of messages

PUT https://demo.icure.cloud/rest/v2/message/status/{status}

Path Parameters

NameTypeDescription

status*

Integer

Request Body

NameTypeDescription

body*

ListOfIds

Last updated