Format
Method | POST |
---|---|
URL | /tasks/create |
Request content | TerminalPolicyRegister Object |
Successful answer | TaskResult Object |
Unexpected error | HTTP 500 |
TerminalPolicyRegister Object
Schema
repeat | String | Reserved |
---|---|---|
retries | String | Number of times this task will be retried, in case of error |
type | String | Task type identifier. In this case, "tpolicy_action" |
terminal_policy_id | String | Unique identifier of the Terminal Policy to modify |
action | String | "reassign,$TERMINAL_ID,$NEW_POLICY_ID" |
JSON example
{ "repeat": "0", "retries": "0", "type": "tpolicy_action", "terminal_policy_id": "default", "action": "reassign,3f1b622852e09f4c,kiosks" }