Name | Type | Description |
---|---|---|
request | SearchOrdersRequest | |
cancellationToken | CancellationToken |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/OpenOrders/SearchOrders
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
request={
"LocationId": "6a96c539-791d-4045-9d2b-4360469a72e3",
"SearchTerm": "sample string 1"
}&cancellationToken={
"IsCancellationRequested": false,
"CanBeCanceled": false,
"WaitHandle": {
"Handle": {
"value": 1400
},
"SafeWaitHandle": {
"IsInvalid": false,
"IsClosed": false
}
}
}
This is an example of the response JSON. Results will vary depending on your data.
{
"OpenOrders": [
{
"ViewId": 0,
"LocationId": "00000000-0000-0000-0000-000000000000",
"TotalOrders": 0,
"OrderIds": null,
"Count": 0
}
],
"ProcessedOrders": [
"34cb4ede-07ce-45a4-a798-d55487a9ff4f"
]
}