post
https://integrationgateway.falconflex.ai/api/v1/tasks/location-points/get-distance
PickupLocationTypeId / DeliveryLocationTypeId
Specifies whether the location is an existing location, an international location or a location in Qatar. The values corresponding to each type are:
| Location | PickupLocationTypeId / DeliveryLocationTypeId |
|---|---|
| Existing | 1 |
| International | 2 |
| Qatar | 3 |
Pickup / Delivery
The value for the pickup or delivery body parameters would depend on pickupLocationTypeId or deliveryLocationTypeId respectively.
| LocationTypeId | pickup / delivery |
|---|---|
| 1 | ID of an existing location-point, for example: "63283adc3374eaaba031bfde" |
| 2 | International Location, for example: { "Address": "Dummy", "Name": "Jhon Doe", "PhoneNumber": "+97400000000", "Latitude": 25.8871, "Longitude": 51.33455, "Notes": "vip" } |
| 3 | Qatar Location, for example: { "Address": "Dummy", "Name": "Jhon Doe", "PhoneNumber": "+97400000000", "ZoneNumber": 69, "StreetNumber": 349, "BuildingNumber": 28, "Notes": "vip" } |