{
  "opencollection": "1.0.0",
  "info": {
    "name": "Flowable REST Access Tokens History PlanItem API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "History PlanItem",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List of historic plan item instances",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/flowable-rest/service/cmmn-history/historic-planitem-instances",
            "params": [
              {
                "name": "planItemInstanceId",
                "value": "",
                "type": "query",
                "description": "The id of the historic planItem instance."
              },
              {
                "name": "planItemInstanceName",
                "value": "",
                "type": "query",
                "description": "The name of the historic planItem instance."
              },
              {
                "name": "planItemInstanceState",
                "value": "",
                "type": "query",
                "description": "The state of the historic planItem instance."
              },
              {
                "name": "caseDefinitionId",
                "value": "",
                "type": "query",
                "description": "The id of the definition of the case were the historic planItem instance is defined."
              },
              {
                "name": "caseInstanceId",
                "value": "",
                "type": "query",
                "description": "The id of the case instance were the historic planItem instance existed."
              },
              {
                "name": "caseInstanceIds",
                "value": "",
                "type": "query",
                "description": "The ids of the case instances were the historic planItem instance existed."
              },
              {
                "name": "stageInstanceId",
                "value": "",
                "type": "query",
                "description": "The id of the stage were the historic planItem instance was contained."
              },
              {
                "name": "elementId",
                "value": "",
                "type": "query",
                "description": "The id of the planItem model of the historic planItem instance."
              },
              {
                "name": "planItemDefinitionId",
                "value": "",
                "type": "query",
                "description": "The id of the planItem model definition of the historic planItem instance."
              },
              {
                "name": "planItemDefinitionType",
                "value": "",
                "type": "query",
                "description": "The type of planItem of the historic planItem instance."
              },
              {
                "name": "createdBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were created before this date."
              },
              {
                "name": "createdAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were created after this date."
              },
              {
                "name": "lastAvailableBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in available before this date."
              },
              {
                "name": "lastAvailableAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in available state after this date."
              },
              {
                "name": "lastEnabledBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in enabled state before this date."
              },
              {
                "name": "lastEnabledAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in enabled state after this date."
              },
              {
                "name": "lastDisabledBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in disable state before this date."
              },
              {
                "name": "lastDisabledAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in disabled state after this date."
              },
              {
                "name": "lastStartedBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in active state before this date."
              },
              {
                "name": "lastStartedAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in active state after this date."
              },
              {
                "name": "lastSuspendedBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in suspended state before this date."
              },
              {
                "name": "lastSuspendedAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were last in suspended state after this date."
              },
              {
                "name": "completedBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were completed before this date."
              },
              {
                "name": "completedAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were completed after this date."
              },
              {
                "name": "terminatedBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were terminated before this date."
              },
              {
                "name": "terminatedAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were terminated after this date."
              },
              {
                "name": "occurredBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that occurred before this date."
              },
              {
                "name": "occurredAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that occurred after after this date."
              },
              {
                "name": "exitBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that exit before this date."
              },
              {
                "name": "exitAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that exit after this date."
              },
              {
                "name": "endedBefore",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that ended before this date."
              },
              {
                "name": "endedAfter",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that ended after this date."
              },
              {
                "name": "startUserId",
                "value": "",
                "type": "query",
                "description": "Return only historic planItem instances that were started by this user."
              },
              {
                "name": "referenceId",
                "value": "",
                "type": "query",
                "description": "The id of process that was referenced by this historic planItem instance."
              },
              {
                "name": "referenceType",
                "value": "",
                "type": "query",
                "description": "The type of reference to the process referenced by this historic planItem instance."
              },
              {
                "name": "tenantId",
                "value": "",
                "type": "query",
                "description": "Only return instances with the given tenantId."
              },
              {
                "name": "withoutTenantId",
                "value": "",
                "type": "query",
                "description": "If true, only returns instances without a tenantId set. If false, the withoutTenantId parameter is ignored.\n"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "List of historic plan item instances"
        },
        {
          "info": {
            "name": "Get a historic plan item instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/flowable-rest/service/cmmn-history/historic-planitem-instances/:planItemInstanceId",
            "params": [
              {
                "name": "planItemInstanceId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a historic plan item instance"
        },
        {
          "info": {
            "name": "Query for historic plan item instances",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/flowable-rest/service/cmmn-query/historic-planitem-instances",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "All supported JSON parameter fields allowed are exactly the same as the parameters found for getting a collection of historic plan item instances, but passed in as JSON-body arguments rather than URL-parameters to allow for more advanced querying and preventing errors with request-uri’s that are too long."
        }
      ]
    }
  ],
  "bundled": true
}