Create Task Async

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This API allows for creating a Task. Following are some additional details for some of the body parameters.

TransportType

In order to provide more flexibility, different tasks can be assigned to different modes of transport. The current supported transport type and their IDs are shown in the table below:

Transport TypetransportTypeId
No Preference1
Bicycle2
Bike3
Car4
Truck5
Pickup / Delivery

The value for the pickup or delivery body parameters.

pickup / delivery
International Location, for example: { "Address": "Dummy", "Name": "Jhon Doe", "PhoneNumber": "+97400000000", "Latitude": 25.8871, "Longitude": 51.33455, "Notes": "vip" }
Body Params
boolean
Defaults to false

Raise an error when the same ClientGeneratedId was sent (Existing Order returned by default)

string

Optional Identifier. If you do not have an identifier for the Task, FalconFlex will generate one automatically upon Task creation

int32
required

Specifies the type of transport to be used for the task. For allowed values, refer to the table above.

double
required

Specifies the amount to be collected. A value = 0 sets the task's payment status as Paid. A value > 0 sets the payment status as Unpaid.

date
required

The timestamp by which the task has to be picked up. The AutoAssignment process starts <=15mins before this.

string

The timestamp by which the task has to be delivered.

Pickup
object
required

This parameter provides the data for the pickup location of the Task. For allowed values, refer to the table above (Use JSON without stringification)

Delivery
object
required

This parameter provides the data for the delivery location of the Task. For allowed values, refer to the table above (Use JSON without stringification)

string
Defaults to null

Any notes to be displayed for the Task

boolean
Defaults to false

Whether a message with tracking link should be sent to the phone number mentioned on the Delivery address

boolean
Defaults to false

Whether proof of delivery is required for the Task

boolean

Whether proof of Pickup is required for the Task

TaskItems
array of objects
required

The list of items which are to be delivered

TaskItems*
UserMetaDataDtos
array of objects

Array of MetaData objects which you want to define for the Task

UserMetaDataDtos
SkillCriteria
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json