I have tried adding monitors and hosts through REST API, but the hosts are not getting added to infrastructure. Due to which the URL monitor is not working.
Can you please let me know if that operation exists in dynatrace REST API?
If not can we add that operation from our side to REST API?
Or Will dynatrace add that operation to REST?
Please update us soon.
At the moment App Mon does not allow add monitors or tasks using the REST interface. You can however execute a task/monitor and retrieve the status of a task or monitor.
You can submit a RFE for this functionality on our ideas forum.