Click or drag to resize

TookanCreateTaskRequest Class

Data class to create task
Inheritance Hierarchy

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public class TookanCreateTaskRequest : TookanBaseRequest

The TookanCreateTaskRequest type exposes the following members.

Constructors
  NameDescription
Public methodTookanCreateTaskRequest
Initializes a new instance of the TookanCreateTaskRequest class
Top
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
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also