Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

CodeComponentStatusDescription
100SendMessageSUCCES/
801

SendMessage

FAILThe message exceeds the maximum authorized size.
802

SendMessage/
DestinationContext

FAILThe specified Identifier is invalid; please verify the ID.
803SendMessage/
DestinationContext
FAILThe specified quality is invalid; please
verify that quality is a quality recognized
by the system.
804SendMessage/
DestinationContext
FAILThe specified type is invalid; please verify
that the type is a type recognized by the
system.
805SendMessage/
DestinationContext
FAILThe specified subtype is invalid; please
verify that subtype is recognized by the
system.
810SendMessage/
BoxId
FAILThe specified BoxId is invalid; please
verify the data and that you can access it.
814SendMessage/
DestinationContext
FAILYou are not authorized to publish to this
Quality.
816SendMessage/
Document or Annex
FAILThe digest of the streamed document
does not match the supplied one.
826SendMessageWARNINGOne or more recipients have an active Out-of-Office

End-to-End Encryption for known recipients

...