Uploads a generic document and creates a message.
The call sends the primary document of the message to the server using a raw binary format (application/octet-stream).
You can also submit the data as a stream that is formatted as a base64-encoded ASCII text.
In this case, the HTTP Content-Type header must be set to application/base64.
The document must be sent as the request body.
The message data is not validated at this stage, which means that the message validation status is always set to unknown.
The call also informs the server of whether more data is expected or not and then updates the message status.
If no more documents will be added, the call sets the status of the message to received.
Otherwise, the message remains open and the message status is notset.
This upload is meant for generic documents (for example, images) and non-standard documents (for example, documents that cannot be validated).
For standard business documents, use the POST /messages/create-business-transaction method.
The sender and the receiver must agree on the message envelope parameters, such as ServiceType, Service, and Action.
