You can search for the port orders associated with your account using a range of criteria to help you find the information you're looking for.
Method
GET /portordersBody Parameters
-
numbers
arrayReturn all Port Orders that contain any of the numbers specified.
-
completion_date
stringReturn all Port Orders with the specified completion date.
-
status
stringReturn all Port Orders with the specified status.
-
alias
stringReturn all Port Orders whose alias matches the specified string.
-
modified_after
stringReturn all Port Orders that have been modified since the specified date.
-
modified_before
stringReturn all Port Orders that contain any of the numbers specified.
-
created_after
stringReturn all Port Orders that were modified before the date specified.
-
created_before
stringReturn all Port Orders that were created since the specified date.
-
completed_after
stringReturn all Port Orders that were completed since the specified date.
-
completed_before
stringReturn all Port Orders that were completed before the specified date.
-
completed_before
stringYou can order by one or more of the following fields: Status, group_status, completion_date, numbers, alias, and modified_date.
-
limit
integerLimits the number of items to retrieve. A maximum of 200 items can be retrieved with 10 being the default value if not specified.
-
offset
integerOffsets the list of requests by your specified value. For example, if you have 4 requests and you entered 1 as your offset value, then only 3 of your requests will be displayed in the response.
Response Format
On success, the HTTP status code in the response header is 200 OK and the response body contains status information of the specified port order ID.
Success
200 OK
{
"data": {
"attributes": {
"orders": {
"data": [
"attributes": {
"alias": "My Order",
"id": "42323",
"status": "pending",
...
},
],
},
"type": "portorder_list"
}
}