question

SagarLad-9226 avatar image
0 Votes"
SagarLad-9226 asked SaurabhSharma-msft commented

Unable to call REST API to get the scan result purview

143697-image.png


azure-purview
image.png (60.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sagarlad-9226,

Thanks for using Microsoft Q&A !!

I am able to reproduce this issue and checking internally on the same and get back to you.
143900-image.png

Thanks
Saurabh

0 Votes 0 ·
image.png (9.5 KiB)

1 Answer

SaurabhSharma-msft avatar image
0 Votes"
SaurabhSharma-msft answered SaurabhSharma-msft commented

Hi @sagarlad-9226,
As per internal discussion it looks like issue with Try It functionality as it's just trial or a mock execution to get a feel of the API parameters and the syntax. It is not to be used on a live environment simply because you won't be able to manage the parameters properly on a documentation page.
The correct method of using the Purview APIs is documented here

Additionally, I strongly suggest using this tool : https://aka.ms/Purview-API-PS which has been built for running APIs on the live Azure environment. It makes life a whole lot easier for API users.
I have used this tool and it gives the expected results -
144716-image.png

In case you see any issues or any feedback on the tool, please let us know.

Thanks
Saurabh


Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.



image.png (93.6 KiB)
image.png (157.7 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sagarlad-9226,
Please let me know if you find above reply useful. If yes, do click on 'Mark as answer' link in above reply. This will help other community members facing similar query to refer to this solution.

Thanks
Saurabh

0 Votes 0 ·

Hi @sagarlad-9226,

I have not heard back from you. Did my answer solve your issue? If so, please mark as accepted answer. If not, please let me know how I may better assist.

Thanks
Saurabh

0 Votes 0 ·