typically you need to use port 8280 to access to CO web-services.
Hope it helps,
I have validated that the port set is 8000
Also i was able to use the scenario where Data mart Id was passed as an input
i.e. http://<app-server-name>:8000/dh-services/data/DataMart/<DataMartID> works and gives the data as expected.
I double checked and you're right: the endpoint dh-services/data/DataMartIdentifier does not work. In fact it was dismissed in a previous product version and the documentation page was not aligned as well - good catch, I'll ask to fix that.
You should use /dh-services/data/DataMart/<DataMartID> instead, as you found by yourself.
Is there a way to use the Name of the data mart instead of the ID ?
Since the ID will change across different environments, would like to know how to use the name instead ?
If not can we include the product team on this ?
Also any idea what was the reason of deprecating the DataMartIdentifier approach ?
unfortunately there is no public API for that - but that could be a good Idea to propose.
Just as a workaround, you can use a private call that returns the list of all data marts:
To see only custom data marts, you can use the ownership parameter as follows:
From the response you can extract a mapping between data marts names and IDs.
Please note that since this API is private it is not officially supported - you can use it but it could change in future.
Similarly, if you have access to the DB you can query the table ER_DEF to obtain environment-specific IDs, i.e:
select erid, name, ownership from er_def where ownership=1 and name like '%your_datamart_name%'