Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

API & Integration

Reply
Highlighted

WAPI - sorting search results

Techie
Posts: 5
1194     0

Is it possible at all?

 

I tried to find any information here and in the docs, but had no luck.

 

For example this WAPI request:

GET <wapi_url>/scheduledtask?_paging=1&_return_as_object=1&max_results=4

will return all the scheduled tasks sorted by creation day with the oldest on the top.

 

What if we want to reverse the sorting order and the newest objects show at the top (sort by task_id, descending)?

 

Thank you.

Highlighted

Re: WAPI - sorting search results

Not applicable
Posts: 10
1195     0

I'm also experiencing such a problem.

 

Any suggestion?

Highlighted

Re: WAPI - sorting search results

Techie
Posts: 1
1195     0

Is there any advancement regarding sorting?

Highlighted

Re: WAPI - sorting search results

Community Manager
Community Manager
Posts: 152
1195     0

I don't expect this to be addressed, as sorting and other formatting changes can be handled client-side.

Highlighted

Re: WAPI - sorting search results

Techie
Posts: 5
1195     0

Client side sorting, filtering and searching doesn't play well with server side pagination enabled (_paging=1).

Showing results for 
Search instead for 
Do you mean 

Recommended for You