Need Help With Alert / HTTP Post / API Calls


I can get solarwinds to raise a request in our ticketing system (Manage Engine) via a http post, when the post is made I get the below reply, where I can see a request has been created with the ID of 2





I want to close the request that was raised when the alert is no longer active, So in the reset actions I need to put another http post this time with the request ID in it.  This is where I am having the issue because I can not specify what the correct request id is.

Does anyone know how I can get this working?