Document Post in One Big API Call
In the event a single transaction is required, we will have one transaction consisting of 3 parts.
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
The second part would be to include any files that are necessary for the document. These files should be posted as a parameter of the request that’s sent to the Signority server. An example of this in java can be seen below:
Finally, the last part of the transaction is the metadata (JSON object of the document with all its details). This revisits all of the JSON objects created earlier and combines them into one JSON object at the same time.