Package org.openapitools.client.api
Class HistoricActivityInstanceApi
- java.lang.Object
-
- org.openapitools.client.api.HistoricActivityInstanceApi
-
public class HistoricActivityInstanceApi extends Object
-
-
Constructor Summary
Constructors Constructor Description HistoricActivityInstanceApi()HistoricActivityInstanceApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()HistoricActivityInstanceDtogetHistoricActivityInstance(String id)Get Retrieves a historic activity instance by id, according to the `HistoricActivityInstance` interface in the engine.okhttp3.CallgetHistoricActivityInstanceAsync(String id, ApiCallback<HistoricActivityInstanceDto> _callback)Get (asynchronously) Retrieves a historic activity instance by id, according to the `HistoricActivityInstance` interface in the engine.okhttp3.CallgetHistoricActivityInstanceCall(String id, ApiCallback _callback)Build call for getHistoricActivityInstanceList<HistoricActivityInstanceDto>getHistoricActivityInstances(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId)Get List Queries for historic activity instances that fulfill the given parameters.okhttp3.CallgetHistoricActivityInstancesAsync(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback<List<HistoricActivityInstanceDto>> _callback)Get List (asynchronously) Queries for historic activity instances that fulfill the given parameters.okhttp3.CallgetHistoricActivityInstancesCall(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback _callback)Build call for getHistoricActivityInstancesCountResultDtogetHistoricActivityInstancesCount(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId)Get List Count Queries for the number of historic activity instances that fulfill the given parameters.okhttp3.CallgetHistoricActivityInstancesCountAsync(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback<CountResultDto> _callback)Get List Count (asynchronously) Queries for the number of historic activity instances that fulfill the given parameters.okhttp3.CallgetHistoricActivityInstancesCountCall(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback _callback)Build call for getHistoricActivityInstancesCountApiResponse<CountResultDto>getHistoricActivityInstancesCountWithHttpInfo(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId)Get List Count Queries for the number of historic activity instances that fulfill the given parameters.ApiResponse<List<HistoricActivityInstanceDto>>getHistoricActivityInstancesWithHttpInfo(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId)Get List Queries for historic activity instances that fulfill the given parameters.ApiResponse<HistoricActivityInstanceDto>getHistoricActivityInstanceWithHttpInfo(String id)Get Retrieves a historic activity instance by id, according to the `HistoricActivityInstance` interface in the engine.List<HistoricActivityInstanceDto>queryHistoricActivityInstances(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto)Get List (POST) Queries for historic activity instances that fulfill the given parameters.okhttp3.CallqueryHistoricActivityInstancesAsync(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback<List<HistoricActivityInstanceDto>> _callback)Get List (POST) (asynchronously) Queries for historic activity instances that fulfill the given parameters.okhttp3.CallqueryHistoricActivityInstancesCall(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback _callback)Build call for queryHistoricActivityInstancesCountResultDtoqueryHistoricActivityInstancesCount(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto)Get List Count (POST) Queries for the number of historic activity instances that fulfill the given parameters.okhttp3.CallqueryHistoricActivityInstancesCountAsync(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback<CountResultDto> _callback)Get List Count (POST) (asynchronously) Queries for the number of historic activity instances that fulfill the given parameters.okhttp3.CallqueryHistoricActivityInstancesCountCall(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback _callback)Build call for queryHistoricActivityInstancesCountApiResponse<CountResultDto>queryHistoricActivityInstancesCountWithHttpInfo(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto)Get List Count (POST) Queries for the number of historic activity instances that fulfill the given parameters.ApiResponse<List<HistoricActivityInstanceDto>>queryHistoricActivityInstancesWithHttpInfo(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto)Get List (POST) Queries for historic activity instances that fulfill the given parameters.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
HistoricActivityInstanceApi
public HistoricActivityInstanceApi()
-
HistoricActivityInstanceApi
public HistoricActivityInstanceApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHistoricActivityInstanceCall
public okhttp3.Call getHistoricActivityInstanceCall(String id, ApiCallback _callback) throws ApiException
Build call for getHistoricActivityInstance- Parameters:
id- The id of the historic activity instance to be retrieved. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getHistoricActivityInstance
public HistoricActivityInstanceDto getHistoricActivityInstance(String id) throws ApiException
Get Retrieves a historic activity instance by id, according to the `HistoricActivityInstance` interface in the engine.- Parameters:
id- The id of the historic activity instance to be retrieved. (required)- Returns:
- HistoricActivityInstanceDto
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHistoricActivityInstanceWithHttpInfo
public ApiResponse<HistoricActivityInstanceDto> getHistoricActivityInstanceWithHttpInfo(String id) throws ApiException
Get Retrieves a historic activity instance by id, according to the `HistoricActivityInstance` interface in the engine.- Parameters:
id- The id of the historic activity instance to be retrieved. (required)- Returns:
- ApiResponse<HistoricActivityInstanceDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHistoricActivityInstanceAsync
public okhttp3.Call getHistoricActivityInstanceAsync(String id, ApiCallback<HistoricActivityInstanceDto> _callback) throws ApiException
Get (asynchronously) Retrieves a historic activity instance by id, according to the `HistoricActivityInstance` interface in the engine.- Parameters:
id- The id of the historic activity instance to be retrieved. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getHistoricActivityInstancesCall
public okhttp3.Call getHistoricActivityInstancesCall(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback _callback) throws ApiException
Build call for getHistoricActivityInstances- Parameters:
sortBy- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getHistoricActivityInstances
public List<HistoricActivityInstanceDto> getHistoricActivityInstances(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId) throws ApiException
Get List Queries for historic activity instances that fulfill the given parameters. The size of the result set can be retrieved by using the [Get Historic Activity Instance Count](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query-count/) method.- Parameters:
sortBy- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)- Returns:
- List<HistoricActivityInstanceDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHistoricActivityInstancesWithHttpInfo
public ApiResponse<List<HistoricActivityInstanceDto>> getHistoricActivityInstancesWithHttpInfo(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId) throws ApiException
Get List Queries for historic activity instances that fulfill the given parameters. The size of the result set can be retrieved by using the [Get Historic Activity Instance Count](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query-count/) method.- Parameters:
sortBy- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)- Returns:
- ApiResponse<List<HistoricActivityInstanceDto>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHistoricActivityInstancesAsync
public okhttp3.Call getHistoricActivityInstancesAsync(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback<List<HistoricActivityInstanceDto>> _callback) throws ApiException
Get List (asynchronously) Queries for historic activity instances that fulfill the given parameters. The size of the result set can be retrieved by using the [Get Historic Activity Instance Count](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query-count/) method.- Parameters:
sortBy- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getHistoricActivityInstancesCountCall
public okhttp3.Call getHistoricActivityInstancesCountCall(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback _callback) throws ApiException
Build call for getHistoricActivityInstancesCount- Parameters:
activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getHistoricActivityInstancesCount
public CountResultDto getHistoricActivityInstancesCount(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId) throws ApiException
Get List Count Queries for the number of historic activity instances that fulfill the given parameters. Takes the same parameters as the [Get Historic Activity Instance](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query/) method.- Parameters:
activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)- Returns:
- CountResultDto
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHistoricActivityInstancesCountWithHttpInfo
public ApiResponse<CountResultDto> getHistoricActivityInstancesCountWithHttpInfo(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId) throws ApiException
Get List Count Queries for the number of historic activity instances that fulfill the given parameters. Takes the same parameters as the [Get Historic Activity Instance](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query/) method.- Parameters:
activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)- Returns:
- ApiResponse<CountResultDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHistoricActivityInstancesCountAsync
public okhttp3.Call getHistoricActivityInstancesCountAsync(String activityInstanceId, String processInstanceId, String processDefinitionId, String executionId, String activityId, String activityName, String activityType, String taskAssignee, Boolean finished, Boolean unfinished, Boolean canceled, Boolean completeScope, Date startedBefore, Date startedAfter, Date finishedBefore, Date finishedAfter, String tenantIdIn, Boolean withoutTenantId, ApiCallback<CountResultDto> _callback) throws ApiException
Get List Count (asynchronously) Queries for the number of historic activity instances that fulfill the given parameters. Takes the same parameters as the [Get Historic Activity Instance](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query/) method.- Parameters:
activityInstanceId- Filter by activity instance id. (optional)processInstanceId- Filter by process instance id. (optional)processDefinitionId- Filter by process definition id. (optional)executionId- Filter by the id of the execution that executed the activity instance. (optional)activityId- Filter by the activity id (according to BPMN 2.0 XML). (optional)activityName- Filter by the activity name (according to BPMN 2.0 XML). (optional)activityType- Filter by activity type. (optional)taskAssignee- Only include activity instances that are user tasks and assigned to a given user. (optional)finished- Only include finished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)unfinished- Only include unfinished activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)canceled- Only include canceled activity instances. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)completeScope- Only include activity instances which completed a scope. Value may only be `true`, as `false` behaves the same as when the property is not set. (optional)startedBefore- Restrict to instances that were started before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)startedAfter- Restrict to instances that were started after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedBefore- Restrict to instances that were finished before the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)finishedAfter- Restrict to instances that were finished after the given date. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`. (optional)tenantIdIn- Filter by a comma-separated list of ids. An activity instance must have one of the given tenant ids. (optional)withoutTenantId- Only include historic activity instances that belong to no tenant. Value may only be `true`, as `false` is the default behavior. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
queryHistoricActivityInstancesCall
public okhttp3.Call queryHistoricActivityInstancesCall(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback _callback) throws ApiException
Build call for queryHistoricActivityInstances- Parameters:
firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)historicActivityInstanceQueryDto- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
queryHistoricActivityInstances
public List<HistoricActivityInstanceDto> queryHistoricActivityInstances(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto) throws ApiException
Get List (POST) Queries for historic activity instances that fulfill the given parameters. The size of the result set can be retrieved by using the [Get Historic Activity Instance Count](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query-count/) method.- Parameters:
firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)historicActivityInstanceQueryDto- (optional)- Returns:
- List<HistoricActivityInstanceDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
queryHistoricActivityInstancesWithHttpInfo
public ApiResponse<List<HistoricActivityInstanceDto>> queryHistoricActivityInstancesWithHttpInfo(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto) throws ApiException
Get List (POST) Queries for historic activity instances that fulfill the given parameters. The size of the result set can be retrieved by using the [Get Historic Activity Instance Count](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query-count/) method.- Parameters:
firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)historicActivityInstanceQueryDto- (optional)- Returns:
- ApiResponse<List<HistoricActivityInstanceDto>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
queryHistoricActivityInstancesAsync
public okhttp3.Call queryHistoricActivityInstancesAsync(Integer firstResult, Integer maxResults, HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback<List<HistoricActivityInstanceDto>> _callback) throws ApiException
Get List (POST) (asynchronously) Queries for historic activity instances that fulfill the given parameters. The size of the result set can be retrieved by using the [Get Historic Activity Instance Count](https://docs.camunda.org/manual/7.18/reference/rest/history/activity-instance/get-activity-instance-query-count/) method.- Parameters:
firstResult- Pagination of results. Specifies the index of the first result to return. (optional)maxResults- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)historicActivityInstanceQueryDto- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
queryHistoricActivityInstancesCountCall
public okhttp3.Call queryHistoricActivityInstancesCountCall(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback _callback) throws ApiException
Build call for queryHistoricActivityInstancesCount- Parameters:
historicActivityInstanceQueryDto- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
queryHistoricActivityInstancesCount
public CountResultDto queryHistoricActivityInstancesCount(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto) throws ApiException
Get List Count (POST) Queries for the number of historic activity instances that fulfill the given parameters.- Parameters:
historicActivityInstanceQueryDto- (optional)- Returns:
- CountResultDto
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
queryHistoricActivityInstancesCountWithHttpInfo
public ApiResponse<CountResultDto> queryHistoricActivityInstancesCountWithHttpInfo(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto) throws ApiException
Get List Count (POST) Queries for the number of historic activity instances that fulfill the given parameters.- Parameters:
historicActivityInstanceQueryDto- (optional)- Returns:
- ApiResponse<CountResultDto>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
queryHistoricActivityInstancesCountAsync
public okhttp3.Call queryHistoricActivityInstancesCountAsync(HistoricActivityInstanceQueryDto historicActivityInstanceQueryDto, ApiCallback<CountResultDto> _callback) throws ApiException
Get List Count (POST) (asynchronously) Queries for the number of historic activity instances that fulfill the given parameters.- Parameters:
historicActivityInstanceQueryDto- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-