Article under construction.
Method | Request URI |
---|---|
POST | https://{company-name}.helloid.com/api/v1/selfservice/products/{productGUID} |
POST | https://{company-name}.helloid.com/api/v1/selfservice/products/{productCode} |
Example request:
{ "executeOnState": 1, "automationStoreTaskId": "67189053-e609-4286-97e7-fd76a3e558d0", "automationStoreTaskVersion": "1.0.*", "variables": [ { "name": "var1", "value": "Variable1", "typeConstraint": "string", "secure": false } ] }
Example response:
{ "actionGUID": "e1713184-1809-47cd-ae88-c50b95b344ca", "name": "Example PowerShell task", "options": 1, "objectGUID": "87ed7ecc-0ee7-4d9c-a718-341d2f6861fe", "executeOnState": 1, "automationStoreTaskId": "67189053-e609-4286-97e7-fd76a3e558d0", "automationStoreTaskVersion": "1.0.*", "executionType": "powershell", "executionEntry": "main.ps1", "executionEnvironment": "helloid-agent", "executionMinimumVersion": "4.1.0", "variables": [ { "id": "789a80ee-7af2-4ccb-80de-65627354f6e1", "name": "var1", "value": "Variable1", "typeConstraint": "string", "secure": false, "isScriptVariable": false } ] }