POST /messages/create-business-transaction

Uploads a document and creates a business transaction that needs to be validated.

The call creates a business transaction by uploading a raw binary format (application/octet-stream) and then validates that transaction. 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 validation step ensures that the document fulfills the corresponding business and semantic requirements.

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.

Additional documents are added through the POST /messages/:mid/documents call. This is possible if the value of the more parameter was set to true when the message was created.

Language
URL
Click Try It! to start a request and see the response here!