...
General information
SendMesssage
The request that must be sent in order to publish the eHealthBox content for one or more recipients will be
discussed here. You can send a message of the type “Document” or “News item”. A document contains a
PublicationId that you define and that cannot be used twice. A News item, on the other hand, can be updated
and this is done by sending a new news item with the same PublicationId. You cannot update a “Document”
type.
Request
Response
The response contains a success status code if no major error could be found in the request.
Still, remember that the system is asynchronous: a successful response does not guarantee that the message
will be correctly published at the end of the process. In chapter 8, you will find the possible business errors returned by the method.
Response status codes
Code | Component | Status | Description |
---|---|---|---|
100 | SendMessage | SUCCES | / |
801 | SendMessage | FAIL | The message exceeds the maximum authorized size. |
802 | SendMessage/ | FAIL | The specified Identifier is invalid; please verify the ID. |
803 | SendMessage/ DestinationContext | FAIL | The specified quality is invalid; please verify that quality is a quality recognized by the system. |
804 | SendMessage/ DestinationContext | FAIL | The specified type is invalid; please verify that the type is a type recognized by the system. |
805 | SendMessage/ DestinationContext | FAIL | The specified subtype is invalid; please verify that subtype is recognized by the system. |
810 | SendMessage/ BoxId | FAIL | The specified BoxId is invalid; please verify the data and that you can access it. |
814 | SendMessage/ DestinationContext | FAIL | You are not authorized to publish to this Quality. |
816 | SendMessage/ Document or Annex | FAIL | The digest of the streamed document does not match the supplied one. |
826 | SendMessage | WARNING | One or more recipients have an active Out-of-Office |
End-to-End Encryption for known recipients
...