Contact us Login LIVE DEMO FREE TRIAL

update

Update existing form values of given task.

required subuser rights: task_update

parameters:
name description type
task_id task id int
values map of field_id-value object JSON object

values object example

{
    "111-aaa-whatever": {
      "type": "text",
      "value": "text field value"
    }
}

For value object description, see form/form-fields-and-values/

return:

{
    "success": true
}

errors:

  • 201 – Not found in database (if task with the specified id does not exist)
  • 242 – There were errors during content validation (if given values are invalid for the form). Example:
{
    "success": false,
    "status": {
        "code": 242,
        "description": "There were errors during content validation"
    },
    "errors": [
        {
            "field_id": "111-aaa-whatever",
            "error": "text length constraints are not met"
        }
    ]
}
  • 255 – Invalid task state (if task has already done or failed or no values was submitted)
  • 101 – In demo mode this function is disabled (if current user has “demo” flag)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...