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

Document ID : KB000112586
Last Modified Date : 30/08/2018
Show Technical Document Details
Issue:
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.
Resolution:
Resolution is to use an API key that belongs to the same user account that you are logging into Agile Central with.