0

I am trying to retrieve Journeys by specifying the orderBy in the URL parameters in a REST request (documentation). Here is the request URL parameters:

Method: GET, RequestUri: 'https://www.exacttargetapis.com/interaction/v1/interactions?$page=1&$pageSize=50&orderBy=Name+ASC&mostRecentVersionOnly=False'

This obviously does not work if there are more than one pages (each page is set to have 50 records). Is there something I need to specify to make this work? Or what am I doing wrong?

Regards,

1 Answer 1

1

Looking at the documentation, there's a typo in the docs on this page. The parameter of the query string to order results is "$orderBy" and not "orderBy".

This usage correctly orders results:

https://www.exacttargetapis.com/interaction/v1/interactions?$page=1&$pageSize=50&extras=stats&$orderBy=name%20ASC

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .