Create an order export job
Creates an asynchronous job to export orders to CSV.gz file. Returns a job_id that can be used to check status. Download link will be sent via email when ready.
Request
- Base URLhttps://v3.api.hypertrack.com
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Unique customer provided identifier of the worker to used retrieve orders associated with the specified worker
Unique customer provided identifier of the place to be used retrieve orders associated with the specified place
String representing the search term. Search will be done on order_handle, ops_group_handle, worker_handle and metadata fields.
Unique Handle of Ops Group to fetch orders for
JSON encoded string for order metadata to filter orders by
Filter for risk status of order
JSON object containing city, state, or country used to filter orders
String representation of Order status to fetch orders for. It can be comma separated list, each item in list can be one of completed, cancelled, rescheduled, disabled, ongoing, unplanned, assigned, planned. eg. ?status=completed,cancelled or ?status=completed to filter for one status
Filter for orders associated with this device id.
Geohash of the area where order destination must lie.
Filter for orders in this plan id.
Unique Handle of the route to fetch orders for
Date (YYYY-MM-DD) used as a filter to retrieve orders that are created on a given date.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders that created within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders that created within a timeframe.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are planned on a given date.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders planned within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders planned within a timeframe.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are scheduled on a given date.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are scheduled on a given date irrespective of timezone.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are completed on a given date irrespective of timezone.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders which have scheduled_at within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders that which have scheduled_at within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders of that day in all timezone.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders of that day in all timezone.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are cancelled on a given date.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders that cancelled within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders that cancelled within a timeframe.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are completed on a given date.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders that completed within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders that completed within a timeframe.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are rescheduled on a given date.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders that rescheduled within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders that rescheduled within a timeframe.
Date (YYYY-MM-DD) used as a filter to retrieve orders for which route started on a given date.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders for which route started within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders for which route started within a timeframe.
Timestamp (YYYY-MM-DD HH:mm:ss) of the start of window to retrieve orders of that day for all timezone for completed orders.
Timestamp (YYYY-MM-DD HH:mm:ss) of the end of window to retrieve orders of that day for all timezone for completed orders.
Start Date (YYYY-MM-DD ) of the window to retrieve orders from that day for all timezone for created orders.
End Date (YYYY-MM-DD ) of the window to retrieve orders till that day for all timezone for created orders.
Date (YYYY-MM-DD) used as a filter to retrieve orders that are created on a given date irrespective of timezone.
Unique customer provided identifier of the driver to used retrieve orders associated with the specified driver
Filter for fulfillment attempt number
Flag to fetch order's aggregated data.
Limit to number of results in response
Encoded value provided by our API to retrieve the next page of orders
Boolean to send the outage in aggregation
Parameter to filter for tracked and untracked orders
List of outage category as comma separated strings used for filtering associated orders within time range
JSON encoded string metadata associated with the worker to filter orders
Boolean flag to filter orders based on whether the worker is inside the destination or not.
List of order handles as comma separated strings used to fetch a specific subset of orders.
Optional list of email addresses to send the export download link. Falls back to the account email when omitted.
Response
Successful response
Unique identifier for the export job
Current status of the export job: pending, processing, completed, failed
Human-readable message about the job
Changes
No recorded changes to this operation across all 1 revision of this API.