Rally WSAPI query parameters for start and pagesize ignored when querying the AllowedValues endpoint
search cancel

Rally WSAPI query parameters for start and pagesize ignored when querying the AllowedValues endpoint

book

Article ID: 277304

calendar_today

Updated On:

Products

Rally SaaS

Issue/Introduction

Rally WSAPI query parameters for start and pagesize ignored when querying the AllowedValues endpoint.  

When querying the Allowed Values endpoint to retrieve values for a dropdown field, it appears that both pagesize and start query parameters are being ignored. The response header reflects the values that were provided for both start and pagesize. However, the response seems to always start at element #1 and return all items.

Cause

This particular endpoint is a little different because of some backend coding.

 

Resolution

To get the call for this endpoint to honor  start, pagesize, and other query information, please construct your query like this:

https://rally1.rallydev.com/slm/webservice/v2.0/AttributeDefinition/<ATTRIBUTE_DEF_OBJECTID>/AllowedValues?shouldPageConstrainedResults=true&pagesize=2&start=1