Revision as of 11:03, December 19, 2017 by Peter Chaplin (talk | contribs) (Update with the copy of version: DRAFT900)
Contents
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.
Comments or questions about this documentation? Contact us for support!
