Click or drag to resize

TookanWebhookData Class

Tookan Webhook data. IMPORTANT : - There are inconsistencies in date fields "completed_datetime": "2019-06-06 14:52:44", "job_pickup_datetime": "06/06/2019 01:00 pm", "job_date": "2019-06-06T00:00:00.000Z", "job_date_utc": "2019-06-06T00:00:00.000Z", - There are inconsistencies in phone fields. Maybe it's because numbers are entered like this. "job_pickup_phone": "+1 408-478-5791", "fleet_phone": "+14084785791", - Some datetime fields has "invalid date" string in them. I think they didn't check null values. For pickup tasks, delivery datetime field has "invalid date" in them. "job_pickup_datetime": "06/06/2019 01:00 pm", "job_delivery_datetime": "Invalid date", - Some date fields contain empty string "started_datetime": "2019-06-06 16:56:19", "completed_datetime": "", Opposite also same for delivery tasks. "job_pickup_datetime": "Invalid date", "job_delivery_datetime": "06/06/2019 05:45 pm", - Latitude and longitude fields have different precisions and they are strings. "job_pickup_latitude": "33.87154", "job_pickup_longitude": "-117.92466100000001", "fleet_latitude": "33.8715254", "fleet_longitude": "-117.9244901", - If task is not started, "days_started" field contains "-" instead of empty string or 0. "days_started": "-", "days_started": "0", - "distance_in" field contains the distance unit. But, "total_distance" field also contains a unit. "total_distance_traveled" field's type is integer, while "total_distance" field's type is string. "distance_in": "KM", "total_distance": "0.00 Km", "total_distance_travelled": 0,
Inheritance Hierarchy
SystemObject
  NetQuarry.ServicesTookanWebhookData

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

The TookanWebhookData type exposes the following members.

Constructors
  NameDescription
Public methodTookanWebhookData
Initializes a new instance of the TookanWebhookData class
Top
Properties
  NameDescription
Public propertyaccess_token
The access token.
Public propertyacknowledged_datetime
The acknowledged date/time.
Public propertyacknowledged_datetime_formatted
The acknowledged date/time, formatted.
Public propertyagent_workflow
The agent workflow.
Public propertyarrived_datetime
The arrived date/time.
Public propertyarrived_datetime_formatted
The arrived date/time, formatted.
Public propertyauto_assignment
The auto assignment.
Public propertybarcode
The barcode.
Public propertycompleted_by_admin
Specifies whether or not the item was completed by an administrator.
Public propertycompleted_datetime
The completed date/time.
Public propertycompleted_datetime_formatted
The completed date/time, formatted.
Public propertycreated_by
The creator.
Public propertycreation_datetime
The creation date/time.
Public propertycustom_fields
The list of custom fields.
Public propertycustomer_comment
The customer comment.
Public propertycustomer_email
The customer email address.
Public propertycustomer_id
The customer ID.
Public propertycustomer_phone
The customer phone number.
Public propertycustomer_rating
The customer rating.
Public propertycustomer_username
The customer username.
Public propertydays_started
The days started.
Public propertydispatcher_id
The dispatcher ID.
Public propertydistance_in
The distance in.
Public propertydomain
The domain.
Public propertydriver_comment
The driver comment.
Public propertyexternal_fleet_id
The external fleet ID.
Public propertyfleet_email
The fleet email address.
Public propertyfleet_id
The fleet ID.
Public propertyfleet_image
The fleet image.
Public propertyfleet_latitude
The fleet latitude.
Public propertyfleet_longitude
The fleet longitude.
Public propertyfleet_name
The fleet name.
Public propertyfleet_phone
The fleet phone number.
Public propertyfleet_rating
The fleet rating.
Public propertyfleet_vehicle_color
The fleet vehicle color.
Public propertyfleet_vehicle_description
The fleet vehicle description.
Public propertyfleet_vehicle_type
The fleet vehicle type.
Public propertyform_id
The format ID.
Public propertyformat
The format.
Public propertyfull_tracking_link
The full tracking link.
Public propertygeofence
The geofence.
Public propertyhas_delivery
Specifies whether or not the item is to be delivered.
Public propertyhas_pickup
Specifies whether or not the item is to be picked up.
Public propertyis_active
Specifies whether or not the item is active.
Public propertyis_customer_rated
Specifies whether or not the item is customer rated.
Public propertyis_routed
Specifies whether or not the item has been routed.
Public propertyjob_address
The job address.
Public propertyjob_date
The job date.
Public propertyjob_date_utc
The job date, in UTC.
Public propertyjob_delivery_datetime
The job delivery date/time.
Public propertyjob_delivery_datetime_formatted
The job delivery date/time, formatted.
Public propertyjob_description
The job description.
Public propertyjob_details_by_fleet
The job details, by fleet.
Public propertyjob_hash
The job hash.
Public propertyjob_id
The job ID.
Public propertyjob_latitude
The job latitude.
Public propertyjob_longitude
The job longitude.
Public propertyjob_pickup_address
The job pick-up address.
Public propertyjob_pickup_datetime
The job pickup date/time.
Public propertyjob_pickup_datetime_formatted
The job pickup date/time, formatted.
Public propertyjob_pickup_email
The job pick-up email address.
Public propertyjob_pickup_latitude
The job pick-up latitude.
Public propertyjob_pickup_longitude
The job pick-up longitude.
Public propertyjob_pickup_name
The job pick-up name.
Public propertyjob_pickup_phone
The job pick-up phone number.
Public propertyjob_state
The job state.
Public propertyjob_status
The job status.
Public propertyjob_time
The job time.
Public propertyjob_time_formatted
The job time, formatted.
Public propertyjob_time_utc
The job time, in UTC.
Public propertyjob_token
The job token.
Public propertyjob_type
The job type.
Public propertyjob_vertical
The job vertical.
Public propertylicense
The license.
Public propertymatched_pickup_delivery_relationship
The matched pickup/delivery relationship.
Public propertymerchant_id
The merchant ID.
Public propertyopen_tracking_link
Specifies whether or not there is an open tracking link.
Public propertyorder_id
The order ID.
Public propertypartner_order_id
The partner order ID.
Public propertypickup_delivery_relationship
The pickup/delivery relationship.
Public propertypromo_used
The promotion that was used.
Public propertyrecurring_count
The number of recurrences.
Public propertyrecurring_id
The recurring ID.
Public propertyref_images
The referal images.
Public propertyremarks
Remarks.
Public propertyride_type
The ride type.
Public propertystarted_datetime
The started date/time.
Public propertystarted_datetime_formatted
The started date/time, formatted.
Public propertytags
Tags.
Public propertytask_history
The task history.
Public propertytask_state
The task state.
Public propertytask_status
The task status.
Public propertyteam_id
The team ID.
Public propertytimestamp_diff
The timestamp difference.
Public propertytimezone
The timezone.
Public propertytookan_shared_secret
The Tookan shared secret.
Public propertytotal_distance
The total distance.
Public propertytotal_distance_travelled
The total distance travelled.
Public propertytotal_time_spent_at_task_till_completion
The total time spent at task until completion.
Public propertytracking_link
The tracking link.
Public propertytransport_desc
The transport description.
Public propertytransport_type
The transport type.
Public propertyuser_id
The user ID.
Public propertyvertical
The vertical.
Public propertywebhook_type
The webhook type.
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