post
https://integrationgateway.falconflex.ai/api/v1/tasks/init
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 Type | transportTypeId |
|---|---|
| No Preference | 1 |
| Bicycle | 2 |
| Bike | 3 |
| Car | 4 |
| Truck | 5 |
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" } |