Please enable JavaScript to view this site.

EventPro Software User Manual

Breadcrumb Trail: EventPro API

Sorting ("orderBy" Parameter)

Scroll Prev Top Next More

The "orderBy" parameter can be used to sort the data returned.

You can use the "orderBy" parameter to sort by a single field or multiple fields, and to sort descending (desc) or ascending (asc).

The default sort is ascending, and does not need to be set.

 

Let's look at examples using the List Events endpoint:

Order Events by the Booking Number:

ohttps://connect.eventpro.net/API/DataService.svc/events?orderBy=BookNo

Order Events by the Date From descending, then by the Booking Number:

ohttps://connect.eventpro.net/API/DataService.svc/events?orderBy=DateFrom desc, BookNo

 

© 2023 EventPro Software, a wholly owned subsidiary of Profit Systems Inc. All Rights Reserved.