search cancel

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

book

Article ID: 112586

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

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

Cause

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

If you are using Postman with an API key, that API key may not belong to the user ID that you log into Agile Central 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 withing Agile Central and the ResultCounts will differ.

Environment

Release:
Component: ACAPI

Resolution

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