Slackbot
05/30/2022, 3:47 PMJiri Zajic
05/30/2022, 4:40 PMdisplayForm
key populated? Are you working with a hosted GoodData platform (codename Bear), or with a self-hosted GoodData.CN (codename Tiger)?Jitender Singh
05/30/2022, 4:49 PM<attribute-name>
, so are they both same ?Jiri Zajic
05/30/2022, 4:56 PMAggregationlevelcode
, not AggregationLevelCode
, so I don't think they're the same. To get the name of the attribute, try this API endpoint: https://www.gooddata.com/developers/cloud-native/doc/1.7/api/api_reference_all/#/entities/getEntity%40Labels. I think that the URL should look something like this for you: http(s)://your.domain/api/entities/workspaces/<your-workspace-id>/labels/GLActivity.AggregationLevelCode
(or maybe just http(s)://your.domain/api/entities/workspaces/<your-workspace-id>/labels/AggregationLevelCode
). Please note that you will get the name of the label (=displayForm), not the attribute! But from the label (=displayForm) you will get the ID of the attribute, and then you can GET the attribute to get the name. But most likely all you need is the label (=displayForm) name.Jitender Singh
05/30/2022, 5:01 PMJiri Zajic
05/30/2022, 5:06 PMJitender Singh
05/30/2022, 5:07 PMhttp(s)://your.domain/api/entities/workspaces/<your-workspace-id>/labels/<attribute-id>
I am getting the result and later one is giving 404Jiri Zajic
05/30/2022, 5:09 PM