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

Either:

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

Or:

{
  "exclude": [ <task_id1>, <task_id2>, ...]
}
  • It is not allowed to send both "include" and "exclude" lists.
  • snapshot_id is mandatory.

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.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on 19 December 2017, at 04:03.