First, you need to add your query param to the existing ones, e.g.
https://xyz.logic.azure.com:443/workflows/id/triggers/manual/paths/invoke?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=code&SelectedData="%7BsiteURL%3AXYZ.sharepoint.com%2Fsites%2FXYZDev%7D"
https://xyz.logic.azure.com:443/workflows/id/triggers/manual/paths/invoke
?api-version=2016-10-01
&sp=%2Ftriggers%2Fmanual%2Frun
&sv=1.0
&sig=code
&SelectedData="%7BsiteURL%3AXYZ.sharepoint.com%2Fsites%2FXYZDev%7D"
Then, you should be able to get them in your Logic App using
@triggerOutputs()['queries']['SelectedData']
As you can see, there is no need to add a schema to the Http Trigger to get a query parameter
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…