Perceptive Content Integration API - Re-index documents in queue

This article demonstrates how a custom application can get information on a document in a workflow queue and update its metadata through a few code examples. Always open a session before calling the Integration API and close it afterwards (https://kb.wisc.edu/ecms/102520). This example comes from an asynchronous .Net WebAPI written in C#.
This is sequence is best demonstrated through a few existing documents:

Get information on workflow queues - Get Items in Workflow Queues using the Get View Result call

Update Document Metadata

Update Document Properties (currently unavailable)

Add Item to Workflow Queue