URL Endpoints for Review

From Grooper Wiki

This article is about the current version of Grooper.

Note that some content may still need to be updated.

2025

Three different URL endpoints can be used to open Review tasks in the Grooper Web Client, given certain information like the Grooper Repository ID, settings Batch Process name, inventory_2 Batch Id and more. This allows Grooper users to link directly to a Batch in Review with a URL.

About

An endpoint is a URL that links to a specific resource in a web-based application (Ex: https://servername/path/endpoint). Grooper has four endpoints designed to start or continue work in the Review step of a Batch Process.

  • ReviewAll - Directs users to available Review tasks. Use this to start reviewing all available work for all Batches.
  • ReviewBatch - Directs a user to Review tasks for a specific Batch. Use this to start reviewing a specific Batch.
  • ReviewTask - Directs a user to a specific Review task. This option has no known use at this point. It may be useful for scripted solutions and/or improved on in future versions.
  • Scan (version 2024 and above) - Creates a new Batch and directs a user to a Review step with a Scan Viewer to start scanning paper documents into it.

The ReviewAll endpoint

https://{serverName}/Grooper/Review/ReviewAll?repositoryId={repositoryId}&processName={processName}

Use this endpoint to direct a user to available Review tasks in a Grooper Repository. Accessing this link will take the user to available Review tasks in the Tasks page.


Required Parameters: repositoryId (GUID)

You must pass the Grooper Repository ID in the URL.


The following URL would take a user to the first available task in a Grooper Repo whose ID is 00000000-0000-0000-0000-000000000000. After completing this task, the user would be directed to the next available task. And the task after that until all available tasks are completed.

https://servername/Grooper/Review/ReviewAll?repositoryId=00000000-0000-0000-0000-000000000000


Optional Parameters: processName (string), stepName (string), queueName (string), caller (string)

You can optionally pass the following in the URL

  • A Batch Process's name to filter Review tasks by a Batch Process
  • A step's name in a Batch Process to filter Review tasks by step name.
  • A Review Queue's name to filter Review tasks by members in a Review Queue.
  • A "caller" to route the user to a particular page (like the Batches Page or the Tasks Page) after completing all Review tasks. If no caller is set, the user will be taken to the Grooper Home Page.


The following URL would take a user to available tasks for steps named "Data Review" (&stepname=Data%20Review) for a Batch Process named "Invoices" (&processName=Invoices) and return the user to the Tasks Page when finished (&caller=Grooper/Tasks).

https://servername/Grooper/Review/ReviewAll?repositoryId=00000000-0000-0000-0000-00000000000&processName=Invoices&stepName=Data%20Review&caller=Grooper/Tasks

The ReviewBatch endpoint

https://{serverName}/Grooper/Review/ReviewBatch?repositoryId={repositoryId}&batchId={batchId}

Use this endpoint to direct a user to Review tasks available for a specific Batch.


Required Parameters: repositoryId (GUID), batchID (GUID)

You must pass the Grooper Repository ID and The Batch ID in the URL.


The following URL would take the user to the first available task in a Batch whose ID is 00000000-0000-0000-0000-000000000000 in a Grooper Repository whose ID is 00000000-0000-0000-0000-000000000000.

https://servername/Grooper/Review/ReviewBatch?repositoryId=00000000-0000-0000-0000-000000000000&batchId=00000000-0000-0000-0000-000000000000


Optional Parameters: caller (string)

You may optionally pass a "caller" to route the user to a particular page (like the Batches Page or the Tasks Page) after completing all Review tasks. If no caller is set, the user will be taken to the Grooper Home Page.


The following URL would take the user back to the Batches Page after all available Review tasks are completed for the Batch.

>https://servername/Grooper/Review/ReviewBatch?repositoryId=00000000-0000-0000-0000-000000000000&batchId=00000000-0000-0000-0000-000000000000&caller=Grooper/Batches

The ReviewTask endpoint

https://{serverName}/Grooper/Review/ReviewTask?repositoryId={repositoryId}&taskId={taskId}

Use this endpoint to direct a user to a specific Review task.

  • Please note this endpoint was created as a scaffold for custom scripts and potentially for future development. There is no way to know what a Review task's ID is before that task is created (when the Review step's Processing Job is created). This makes accessing this ID tricky using Grooper's current code base. Its practical use currently is limited as you must know the task ID to use it.


Required Parameters: repositoryId (GUID), taskID (int)

You must pass the Grooper Repository ID and Review task's ID in the URL.


The following URL would take the user to a Review task whose ID is "1" in a Grooper Repository whose ID is 00000000-0000-0000-0000-000000000000.

https://servername/Grooper/Review/ReviewTask?repositoryId=00000000-0000-0000-0000-000000000000&taskId=1


Optional Parameters: caller (string)

You may optionally pass a "caller" to route the user to a particular page (like the Batches Page or the Tasks Page) after completing all Review tasks. If no caller is set, the user will be taken to the Grooper Home Page.


The following URL would take the user back to the Tasks Page after the single task is completed.

https://servername/Grooper/Review/ReviewTask?repositoryId=00000000-0000-0000-0000-000000000000&taskId=1&caller=Grooper/Tasks

The Scan endpoint

http://{serverName}/Grooper/Review/Scan?repositoryId={repositoryId}&processName={processName}&batchName={batchName}

This endpoint creates a new Batch using a Batch Process whose first step is a "scan step" (a Review step with a Scan Viewer). Use this endpoint to hit a link and start scanning documents into a new Grooper Batch.

Required Parameters: repositoryId (GUID), processName (string), batchName (string)

You must pass the following in the URL:

  • repositoryId - The Grooper Repository's ID
  • processName - The name of the published Batch Process used for scanning
  • batchName - Whatever you would like to name the new Batch


The following URL would create a new Batch, using the Batch Process named "Scanned Invoices" (&processName=Scanned%20Invoices), name it "Scan_Session_001" (&batchName=Scan_Session_001) and take the user to the Review step to start scanning (in a Grooper Repository whose ID is 00000000-0000-0000-0000-000000000000):

http://serverName/Grooper/Review/Scan?repositoryId=00000000-0000-0000-0000-000000000000&processName=Scanned%20Invoices&batchName=Scan_Session_001

How to Find Your Repository ID

The Repository ID for a Grooper Repository can be found on the root node. In the Design Page:

  1. Select the Grooper Root node.
  2. Under Repository Info, copy the value in the Repository ID property.