Contact us Login LIVE DEMO FREE TRIAL

schedule/

task/schedule actions:

<schedule_entry> =
   {
        {
        "id": 111,   //primary key. used in update(...), *IGNORED* in create(...) 
        "user_id": 3,   //user id. *IGNORED* in create(...)/update(...)
        "tracker_id": 22, //id of the tracker to which all generated tasks are assigned. nullable.
        "location": {   //location associated with this task. cannot be null
            "lat": 56.5,
            "lng": 60.5,
            "address": "Moltkestrasse 32", //address of the location
            "radius": 150  //radius of location zone in meters
        },
        "label": "Shop",  
        "description": "Buy things",
        "from_time": "12:34:00",  //time of day which defines start of the task within the days
        "duration": 60, //total duration in minutes between "from" and "to" for generated tasks
        "max_delay" : 5, //maximum allowed task completion delay in minutes
        "min_stay_duration": 0, //minumum duration of stay in task zone for task completion, minutes
        "parameters": <schedule_aparmeters>, // can be "weekdays" or "month_days"
        "tags": [1, 2], //array of tag ids
        "form_template_id": 1 //int, form template id, nullable
    }

<weekdays> = { //task creation based on week day
            "type": "weekdays",
            "weekdays": [1, 5, 6] //week days on which tasks will be created (1 = Monday, ... 7 = Sunday)
        }
<month_days> = { //task creation based on day of month
            "type": "month_days",
            "month_days": [1, 10, 31] //days of month on which tasks will be created (1..31)
        }

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 317 1622

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