I have tried the below Rest API from website as well from .net, and its returning 405 status code always. Can you please help here.
https://learn.microsoft.com/en-us/rest/api/datafactory/integration-runtimes/get-monitoring-data
Thanks,
Sridhar
Hello
@sridhar
,
Following up to see if the below suggestion was helpful. And, if you have any further query do let us know.
---------
Please don't forget to click on
or upvote
button whenever the information provided helps you.
Thanks for the question and using MS Q&A platform.
As per the
Common REST API error codes
document - 405 Error means - The resource doesn't support the specified HTTP verb.
Note:
You need to specific Self-hosted Integration runtimes.
If you specify Azure IR you will see this error message: Response code: 405 with empty JSON.
If you specify Azure IR with VNet option enabled you see this error message: Response code: 405 with below JSON.
As per the repro, I had tried to get the Self-Hosted integration runtime monitoring data, which includes the monitor data for all the nodes under this integration runtime which worked as excepted.
Hope this will help. Please let us know if any further queries.
------------------------------
Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is
how
Want a reminder to come back and check responses? Here is how to subscribe to a
notification
If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of
Q&A Volunteer Moderators