REST Interface for BPEL-related Task Resources - Task Template Query Tables Resource - GET Method

Use this method to retrieve a list of query tables containing task template data.

Sample Method Invocation

GET /rest/bpm/htm/v1/taskTemplates/queryTables[?sourceAttributes={string}][&userParametersAllowed={boolean}][&authorizationType={string}][&kind={string}]

Parameters

Optional Parameters
NameValue TypeDescription
sourceAttributes string
Specifies a comma-separated list of source attributes; only query tables with the specified source attributes are returned. The format of a source attribute is queryTableName.attributeName in uppercase letters, for example: TASK_TEMPL.STATE or TASK_TEMPL.NAME.
userParametersAllowed boolean
Specifies whether query tables with user parameters are returned. User parameters can be used in filters of query tables, for example: STATE=PARAM(aState). Note that the $LOCALE parameter is a system parameter.
ValueDescription
true (default)
All query tables are returned.
false
Only query tables without user parameters are returned.
authorizationType string
Specifies that only query tables requiring this authorization type are returned.
ValueDescription
NONE
Only query tables requiring no authorization are returned.
INSTANCE_BASED
Only query tables requiring instance-based authorization are returned.
ROLE_BASED
Only query tables requiring role-based authorization are returned.
kind string Specifies that only query tables of this kind are returned.
ValueDescription
PREDEFINED
Only predefined query tables are returned.
COMPOSITE
Only composite query tables are returned.
SUPPLEMENTAL
Only supplemental query tables are returned.

Request Content

None.

Response Content

List of query tables containing task template data.

The default content-type is application/json.

MIME Type: application/json


+ View Schema
{  "description": "Query Table List", 
   "type": "object",
   "properties":
   {  "identifier" : {"type": "string"},
      "items": 
      [
         {  "name": {"type": "string",
               "description": "Query table name."
            },
            "displayName": {"type": "string",
               "description": "Query table display name (localized)."
            },
            "description": {"type": "string",
               "description": "Query table description (localized)."
            },
            "kind": {"type": "string",
               "description": "Query table kind.", 
               "enum":
               [
                  "PREDEFINED",
                  "COMPOSITE",
                  "SUPPLEMENTAL"
               ]
            },
            "authorizationType": {"type": "string",
               "description": "Type of authorization required for performing queries using this query table.",
               "enum":
               [
                  "NONE",
                  "INSTANCE_BASED",
                  "ROLE_BASED"
               ]
            },
            "entityTypeName": {"type": "string",
               "description": "Type of entities that are returned as the result of the query."
            },
            "keyAttribute": {"type": "string",
               "description": "Name of the attribute uniquely identifying an entity."
            },
            "locales": {"type": ["string"],
               "description": "List of  locales defined for the display names and descriptions of this query table."
            }
         }
      ]
   }
}

Error Response Content

Detailed error information.

The default content-type is application/json.

MIME Type: application/json


+ View Schema
{  "description": "Error Response", 
   "type": "object",
   "properties":
   {  "errorNumber": {"type": "string",
         "description": "Message ID of the exception."
      },
      "errorMessage": {"type": "string",
         "description": "Message text of the exception."
      },
      "errorMessageParameters": {"type": ["string"], "optional": true,
         "description":"Message text parameters of the exception."
      },
      "programmersDetails": {"type": "object", "optional": true,
         "description":"Additional, exception details, for example, a stack trace."
      }
   }
} 

Status Codes

The method returns one of the following status codes:
CodeDescription
200 OK
Successful completion - requested data returned. Note that the list may be empty.
400 Bad RequestThe parameters are not valid or they are missing.
406 Not AcceptableThe requested content type or content encoding is not supported.
500 Internal Server ErrorA severe problem has occurred, programmer's details are provided.

Available Since

6.2.0.1

Parent Topic: Task Template Query Tables Resource