02 - Upsert and Get

The process creates two sample documents, sends them to the Docs/Content REST service, to read them back (GET Content) immediately using the id returned by the POST.

The Process

The process uses invoices as sample documents.

j.Invoice Profile

It uses InvoiceNo as a unique Id: Two data records with the same invoice number refer to the same invoice -> overwrite previous record. Once a document has been added (updated) the Process receives the following response, which you can use to read back the document by id:

Get a document Id

To get the stored document's id check the POST response before the GET operation:

POST /Docs response

You can use the document id directly in your browser to display (GET) the stored document: <ServiceUrl>/docs/content?id=b26e6b3e-bf47-423a-f7-0f02f05dbf2a

Last updated