Get Tasks History
Returns tasks for all tenants.
Returns tasks for all tenants with the following statuses: CANCELED,
                COMPLETED, FAILED.
Request
GET {ApplicationURL}/tasks/history
        | Name | Required | Details | 
|---|---|---|
max | 
                        No |  Positive Integer value to identify the maximum number of tasks to
                            return in a response. Default is 50.  | 
                    
offset | 
                        No |  Positive Integer value to identify starting what element in the
                            result set should be returned in a response. Can be used to organize
                            pagination in combination with the max parameter.
                            Default is 0.  | 
                    
entityTypes | 
                        No | . String array to filter tasks by
                                 Example:
                                      | 
                    
type | 
                        No | 
                             String value to filter tasks by  Example:  Deprecated: Use   | 
                    
createdBy | 
                        No | 
                             String value to filter tasks by initiator. Deprecated: Use   | 
                    
createdSince | 
                        No | 
                             Positive Integer value to filter tasks created since this timestamp. Deprecated: Use   | 
                    
createdBefore | 
                        No | 
                             Positive Integer value to filter tasks created before this timestamp. Deprecated: Use   | 
                    
status | 
                        No | 
                             Enum value to filter tasks by status. Available values:
                                     Deprecated: Use   | 
                    
orderBy | 
                        No | Enum value to sort tasks by the field. Available values:
                                STATUS, CREATED_BY,
                                START_TIME, CREATED_TIME,
                                TASK_TYPE. Default is
                            START_TIME. | 
                    
ascending | 
                        No | Boolean value to set sort direction. Default is
                                false. | 
                    
filter | 
                        No | Enables tasks filtering by a condition. Format for filter query parameter: The Condition types are: 
 AND and OR conditions. | 
                    
Response
An array of completed tasks.
[
   {
      "id":"d37146e6-1b55-46ef-975b-8dfd1248e46e",
      "createdTime":1440008511759,
      "createdBy":"User",
      "updatedTime":1440008514672,
      "updatedBy":"User",
      "type":"com.reltio.businesslogic.tasks.reindex.ReindexDataTask",
      "status":"COMPLETED",
      "name":"Reindexing of all types in tenant Merill (force)",
      "createdOnHost":"api01",
      "executedOnHost":"api01",
      "startTime":"08-19-2015 22.21",
      "endTime":"08-19-2015 22.25",
      "parameters":{
         "force":"true",
         "tenantId":"Merill"
      },
      "currentState":{
         "numberOfProcessedObjects":3246,
         "maxQueueSize":32000,
         "entityType":"all types",
         "status":"Completed"
      },
      "throughput":346,
      "duration":"4m 5s"
   }
]