Jump to: navigation, search

Get common task attributes for modification

Method

POST

Syntax

POST /gtl/tasks/common_data/<solution_dbid>?entity_dbid=<dbid>&entity_type=<department/process/capturePoint/solution>&filter=<filter_name>&order_by=<qualified_attribute_name>&order_direction=<ascending/descending>&snapshot_id=<snapshot_id>

Request Body

Up to 9.0.012

Either:

{
        "include": [ <task_id1>, <task_id2>, ...]
}

Or:

{
        "exclude": [ <task_id1>, <task_id2>, ...]
}

From 9.0.013

Either:

{
    "content": {
        "include": [ <task_id1>, <task_id2>, ...]
    },
    "qlExpression": [<ql_item>, <ql_item>, ...]
}

Or:

{
    "content": {
        "exclude": [ <task_id1>, <task_id2>, ...]
    },
    "qlExpression": [<ql_item>, <ql_item>, ...]
}

Notes

  • It is not allowed to send both "include" and "exclude" lists.
  • snapshot_id is mandatory.
  • The value for the qlExpression field is the same object as the request body from Fetch paginated list of tasks.

Response Body

{
  "attribute_definitions":
  [
    {
      "name": "<attribute name>",
      "label": "<localized attribute label>",
      "type": "<string/date/int/img/list>",
      "values":
       [
        {
         "value": "<name of value>",
         "label": "<display name>"
        },
        ...
     ],
      "category": "core/ext/data",
    },
    ...
  ],
  "attribute_values":
  {
    "core":
    {
        <attribute definitions>
    },
    "ext":
    {
        <attribute definitions>
    },
    "data":
    {
        <attribute definitions>
    }
  }
}
  • "attribute_definitions" contains only editable attributes.
  • "attribute_values" contains only attributes that have the same value for all the selected tasks.
This page was last edited on June 30, 2020, at 16:06.
Comments or questions about this documentation? Contact us for support!