• Not Answered

Using REST GET Request with Multiple Attributes

I am running Community 3.1 and running a REST endpoint request for activities. It is a GET request and I have been specifying various parameters to filter what is being returned. The request URL is "/api.ashx/v2/activities.xml" with the attributes and values appended to the URL after a '?'. I have tried a number of attributes and they all work individually. The problem I have is that when I try to use more than 1 parameter with '&' between them, it appears that only the first parameter that I specify is seen and the rest are ignored. I get the feeling I am missing something really trivial. Any clue to what I am missing would be appreciated.

1 Reply

  • Can you capture a fiddler trace of the request?  The only thing I can think of is if perhaps you're accidently encoding the ampersand - e.g.

    activities.xml?PageSize=1&PageIndex=1

    is becoming

    activities.xml?PageSize=1%26PageIndex=1

Related