Click or drag to resize

TookanCreateTaskRequest Properties

The TookanCreateTaskRequest type exposes the following members.

Properties
  NameDescription
Public propertyapi_key
API key
(Inherited from TookanBaseRequest.)
Public propertyauto_assignment
If this value is 1 The task will be auto assigned to the members of the specific team mentioned. or if this value is 0 it will be unassigned task created.
Public propertycustomer_address
This is the address of the customer to whom the product should be delivered
Public propertycustomer_email
(Optional) This is email of the customer to whom the product should be delivered
Public propertycustomer_phone
This is the contact number of the customer to whom the product should be delivered
Public propertycustomer_username
(Optional) This is the name of the customer to whom the product should be delivered
Public propertyfleet_id
This is unique agent id given to each agent, if given the task will be assigned to the respective agent. You can get it from dashboard Menu>More>agents.
Public propertygeofence
This is used to enable the geofencing.
Public propertyhas_delivery
For a delivery task this value is 1 For a Pickup task this is fixed to 0
Public propertyhas_pickup
For a Pickup task, this is fixed to 1 For a delivery task this value is 0
Public propertyjob_delivery_datetime
This is time before which the product should be delivered
Public propertyjob_description
The description of the task to be done
Public propertyjob_pickup_address
The address from which the pickup should be collected.
Public propertyjob_pickup_datetime
This is time before which the pickup should be collected
Public propertyjob_pickup_email
(Optional) The email of the person from whom the pickup should be collected
Public propertyjob_pickup_latitude
(Optional) This is the latitiude of the pickup location if you have it. Otherwise leave it blank. We will get it through geocoding API
Public propertyjob_pickup_longitude
(Optional) This is the longitude of the pickup location if you have it. Otherwise leave it blank. We will get it through geocoding API
Public propertyjob_pickup_name
(Optional) The name of the person from whom the pickup should be collected
Public propertyjob_pickup_phone
The contact number of the person from whom the pickup should be collected
Public propertylatitude
Latitude for delivery
Public propertylayout_type
For a Pickup task this is fixed to 0 For a delivery task this value is 0
Public propertylongitude
longitude for delivery
Public propertynotify
This is used to enable the notifications.
Public propertyorder_id
You can pass this key as your own transaction number which can be used to identify tasks in tookan
Public propertytags
This is a string containing comma separated tags as filters for agents in auto assignment.
Public propertyteam_id
This is the Unique id of every team. You can get it from the dashBoard. More>teams>respective id of the team will displayed.
Public propertytimezone
Timezone difference with UTC in minutes for e.g., For PST:+480 (PDT: +420), For MST +420 (MDT:+360) for EST: +300(EDT:+240), for AEST: -600 (AEDT: -660), for IST: -330, for CST: +360 (CDT:+300)
Public propertytracking_link
If this value is 1 it will return a url in the response where the driver's movement can be tracked.if not no url will be returned
Top
See Also