API "/api/ca/v1/objects" does not return the Table Order
search cancel

API "/api/ca/v1/objects" does not return the Table Order


Article ID: 231648


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


When I use the API /api/ca/v1/objects, the TableOrder field returned by the API is always blank. According to the documentation, it should contain the order in which the objects will be generated (by the TDM generator).

Tested on version 4.9.291 of the TDM portal.



Release : 4.9.1

Component : TDM Web Portal





  • Download the latest TDM Portal patch compatible with TDM version 4.9.1 from below page: 
    • https://support.broadcom.com/external/content/release-announcements/Test-Data-Manager-TDM-Patches/16649


  • Use below knowledge article to apply the patch:
    • https://knowledge.broadcom.com/external/article?articleId=10931



Additional Information

Question after applying the patch:

Tested fix 4.9.380 this morning.

The API call /TDMModelService/api/ca/v1/objects?projectId=$projectId&versionId=$versionId  shows atable order value of -1 (this is what the 4.9.380 fixed)
The API call /TDMModelService/api/ca/v1/registeredTables?projectId=$projectId&versionId=$versionId shows atable order of 1
The portal screen “SELECT TABLES” (in generators part) show anorder value of 1

Why the values are not the same?Why minus 1? I was expecting a value of 1

I got an explanation from Dahman on this. (-1)

Let's say you have Project v1 and register 3 tables. 

You then create v2 and those tables registered in v1 will get inherited in v2.

Now you go back to v1 and register a 4th table.

Version 1 will show 1,2,3,4

Since v2 inherits from v1 version 2 will show 1,2,3,-1.