Hi MS Techie
Thanks for reaching out on Microsoft Q&A!
Your triggerBody contains an array (value), so the answer is not a one-off as it depends on whether this array could potentially contain more records.
When assuming you only need the first record of the array, you can use this code to get the correct value:
first(triggerBody()['value'])['resourceData']['@odata.id']
If you want every value, you could use a ‘For each’ or ‘Select’ action to loop over every record to retrieve the values (depending on your requirements, or you could set the ‘splitOn’ value in your Logic App:
Please click ‘Accept answer’ if you find my response helpful. Feel free to drop additional queries in the comments below!
Kind regards,
Sonny