Click or drag to resize

ITookanCreateDeliveryTask Method

Creates a delivery task

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
TookanCreateTaskReponse CreateDeliveryTask(
	string order_id,
	string phone,
	string address,
	string description,
	string timezoneOffset,
	DateTime deliveryDateTime,
	string fullName = null,
	string email = null,
	Nullable<decimal> latitude = null,
	Nullable<decimal> longitude = null,
	string tags = null
)

Parameters

order_id
Type: SystemString
Your can pass this key as your own transaction number which can be used to identify tasks in tookan
phone
Type: SystemString
The contact number of the person from whom the pickup should be collected
address
Type: SystemString
Contact address
description
Type: SystemString
The description of the task to be done
timezoneOffset
Type: SystemString
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)
deliveryDateTime
Type: SystemDateTime
This is time before which the product should be delivered
fullName (Optional)
Type: SystemString
The name of the person from whom the pickup should be collected
email (Optional)
Type: SystemString
The email of the person from whom the pickup should be collected
latitude (Optional)
Type: SystemNullableDecimal
This is the latitiude of the pickup location
longitude (Optional)
Type: SystemNullableDecimal
This is the longitude of the pickup location
tags (Optional)
Type: SystemString

Return Value

Type: TookanCreateTaskReponse
The reponse object.
See Also