Contact us Login LIVE DEMO FREE TRIAL

update(…)

Update information fields and notification settings of vehicle service task.

parameters:

  • task – JSON object:
{
    "id": 4,  // id of service task to update
    "description": "service", // new description (max 255 characters)
    "comment": "comment", // new comment (max 255 characters)
    "cost": 99.95,  // new cost
    "conditions": { // task end conditions. at least one of fields (mileage or date) must be passed.
        "mileage": { // optional
            "limit": 100, // task limit in kilometers
            "notification_interval": 10 // notify about task in specified number of kilometers
        },
        "date": { // optional
            "end": "2015-05-08 09:35:00", // task end date
            "notification_interval": 3    // notify about task in specified number of days
        },
        "engine_hours": { // optional
            "limit": 100, // task limit in hours
            "notification_interval": 10 // notify about task in specified number of hours
        },
    },
    "notifications": {
        "sms_phones": [ //array of phones in international format wo + sign
            "79221234567",
            "79227654321"
        ],
        "emails": [],
        "push_enabled": true // enable/disable push notifications
    }
}

See /vehicle/service_task/create(…).

return:

{ "success": true }

errors:

  • 204 (Entity not found) – when when vehicle or service task not found
  • 214 (Requested operation or parameters are not supported by the device) – engine hours condition passed but tracker hasn’t ignition sensor

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

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more