{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: /  {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Result Action Definition

Returns detailed information about one available result action component. The example object has the JSON structure expected for this component by the Import command.

The component ID must first be obtained from the /actions list. If no available component has the specified ID, the server returns 404 Not Found.

GET /api/taskplanner/definitions/actions/<ActionID>

REQUEST Parameter Value Type Description
ActionID string Extension name of the result action component, as returned by the /actions list
RESPONSE Fields Value Type Description
id string Extension name of the component
name string Localized display name of the component
description string Localized description of the component
example object Example component definition for the Task Planner import/export JSON format
fields object array Configurable properties, including their types, keys, localized labels, defaults, choices, and conditions

For result actions, the example object additionally contains executionqualification. See the JSON representation of a result action for its use in task definitions. The fields array describes the component's configurable properties. Every field can contain the following common values. Field types can add further values, such as selectable entries, file protocols, filters, or numeric constraints.

Field object value Value Type Description
conditions object array or null Conditions that control whether the field is visible or disabled
type string Input type, for example TEXTFIELD, SELECT, BOOLEAN, DATE, TIME, FILE, or FOLDER
key string Property key used in the task definition
label string Localized label of the field
placeholder string or null Placeholder shown when no value is configured
value string or null Default value; non-null defaults are also copied into the returned example.properties object
updateValuesOnChange boolean Whether changing this field requires the other field values to be refreshed

Example Request

# Request
GET /api/taskplanner/definitions/actions/result.email HTTP/1.1
Authorization: Bearer <access_token>
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
{
  "id": "result.email",
  "name": "Email",
  "description": "Sends text and data by email",
  "example": {
    "id": "result.email",
    "properties": {
      "plaintext": "false",
      "message": "{job-result}"
    },
    "executionqualification": "ALWAYS"
  },
  "fields": [
    {
      "type": "TEXTFIELD",
      "key": "subject",
      "label": "Subject"
    }
  ]
}

Application Example

curl -LsH "Authorization: Bearer <access_token>"              "http://127.0.0.1:9000/api/taskplanner/definitions/actions/<ActionID>"
i-net Clear Reports
Diese Anwendung verwendet Cookies um das Einloggen zu ermöglichen. Durch die weitere Nutzung dieser Anwendung stimmen Sie der Verwendung von Cookies zu.


Hilfe