Forum Discussion
PBIRS January 2020 : API Issue ?
Try getting the item by ID rather than path. You can see info at: https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/CatalogItems/GetCatalogItemContent.
- vivien576 years agoSuper User
Hello,
Thanks for your feedback.
The problem is : the ID is different because it depends on the environment (DEV, UAT, PROD). While the path is generic.
Moreover, it worked with the May 2019 version and i didn't red that it was depreciated feature (in January 2020 version).
Thank in advance for your return,
Vivien
- d_gosbell6 years agoSuper User
This does sound like a bug, I just checked on a Sep 2019 instance and the path= format works there too, but not on a Jan 2020 instance.
Jon-Heide the documentation you linked to has the following note about the Id for this call so I think it should be supported:
Id *string($string)(path)The key (GUID or path) that uniquely identifies the object.
GUID example: 01234567-89ab-cdef-0123-456789abcdef
path example: path='/folder1/folder2/item'
If the path itself contains single quote, it should be escaped - add another single quote.And if you make the call without the /Content/$value you do get back a valid json payload when using the path= syntax.
- vivien576 years agoSuper User
Good morning all,
Via the opening of a ticket at Microsoft, they confirm that it is a bug. They are working on it.