Jump to: navigation, search

Single task modification - fetch task modifiable data

Method

GET

Syntax

GET /gtl/task/modifiable/<solution_dbid>/<task_id>

Response Body

{
 "attribute_definitions":
 [
   {
     "name": "<attribute name>",
     "label": "<localized attribute label>",
     "type": "<string/date/int/list>",
     "values":
      [
       {
        "value": "<name or value>",
        "label": "<display name>"
       },
     "editable_list": <true/false>,
       ...
    ],
     "category": "core/ext/data",
   },
   ...
 ],
 "attribute_values":
   {
     "core":
     {
       "<attribute_name>":
       {
          "value": <value>
       },...
     },
     "ext":
     {
       ...
     },
     "data":
     {
       ...
     }
   }
}
  • Only modifiable attributes are included in the content,
  • "editable_list" applies to the "list" type attributes only. If true, it is allowed to enter a value out of the "values" list. Currently, the "list" type is treated as the "string" type; support for the "list" type is not implemented.

Feedback

Comment on this article:

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