1

Retrieve an order by ID using API

Topic: Retrieve an order by ID using API

Hi, is there a way to retrieve a single order by ID using API? I know how to use the search API (https://sdk.wialon.com/wiki/en/sidebar/ … earch_item) to search by resource ID and using flag 0x00080000 to retrieve all orders. However, this is not what I want. I just want to get a specific order by order ID.

Thanks,
Jeff

2

Retrieve an order by ID using API

Re: Retrieve an order by ID using API

Good day, jefflinhq!

Currently, it is no way to retrieve a single order using API.
Could you tell me why you need to retrieve a single order?
What business processes can this be useful for?

Thanks in advance!

3

Retrieve an order by ID using API

Re: Retrieve an order by ID using API

Thanks Voan for the reply. We need to retrieve the detailed information about an order, such as order status. Also, the search API returns all orders under a resource, including completed orders. Are all the historical orders included in the result? If not, how can I retrieve those historical orders that are not included?

4

Retrieve an order by ID using API

Re: Retrieve an order by ID using API

If not, how can I retrieve those historical orders that are not included?

Good day, jefflinhq!
There is no API request to receive orders from history.
You can get orders from the history by executing the order report
More information about the report execution API can be found here:
https://sdk.wialon.com/wiki/en/sidebar/ … xec_report

I hope that this information will be of some assistance to you.