Accelerate the Value of Data

Getting the Tasks List

Use this API to retrieve the tasks list. By default, all tasks are returned. You can also filter the results by specifying the tenant, profile, or task status. When you do this, only the tasks for the specified values are displayed.

For example: if you want to view the tasks associated with a tenant called tenant, a profile called profile, and a task status of active, enter these values in the tenant, profile, and status parameters respectively.

The API parameters are listed in Table 1: Get Tasks List.

Table 1. Get Tasks List
ParametersNameRequiredDescription
HeadersContentTypeYes Format must be Content-Type:application/json.
HeadersAuthorizationYes Contains information about the authentication access token. Format must be Bearer 'access token.
Path/QuerytenantYesContains the Reltio tenant name.
Path/QueryprofileYesContains the Salesforce Profile ID. In most cases, the Profile ID is the Salesforce Organization ID, and it has 18 digits.
QuerystatusNoContains the task status. The supported task statuses are active and inactive.
QueryoffsetNoContains the result offset.
QuerylimitNoContains the number of results that will be displayed.

Request for One Tenant

This request returns tasks for a single tenant.

GET {connector}/tasks/{tenant}/{profile}

Response

[
    {
        "id": 1,
        "type": "sync",
        "status": "completed",
        "createdBy": "username",
        "created": "2021-05-24T09:37:08.614Z",
        "profile": "tenant1+profile1"
    },
   
]