Rally - WSAPI: Results from API Calls in Two Applications are Different
search cancel

Rally - WSAPI: Results from API Calls in Two Applications are Different

book

Article ID: 112586

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

Using Postman with an API returns a different ResultCount than viewing the same WSAPI query from the Object Model.

Environment

Release:
Component: ACAPI

Cause

When using a WSAPI query from the Object Model, you are using the login credentials that you have logged into Rally with.  It is also possible to have accessed the Object Model using BASIC credentials if you were not logged into Rally.

If you are using Postman with an API key, that API key may not belong to the user ID that you log into Rally with, however it may belong to another user.

If this is the case, then the two user accounts may not be assigned the same resources within Rally and the ResultCounts will differ.

Resolution

Resolution is to use an API key that belongs to the same user account that you are logging into Rally with.