OrderBy
Order by Filter
Section titled “Order by Filter ”A list of items can be returned in a specific order. To specify the ordering, provide a property to order by and whether the order is ascending or descending.
Example
Section titled “Example ”Order contacts by email address
-
Ascending
EmailAddressbecomes
https://api.xero.com/api.xro/2.0/Contacts?order=EmailAddressin the query string.
-
Descending
EmailAddress DESCbecomes
https://api.xero.com/api.xro/2.0/Contacts?order=EmailAddress%20DESCin the query string.