Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
I think you left out (or missed) the closing bracket, or
for the terminating "catch(e)" statement's body.
The Strings are properly concatenated, I think.
The statement about
var updateResponse = updateIncident.invoke( myRequest );
is obscure to me, since I don't know the "updateIncident.invoke()" class/method/whatever.
But I don't see anything overtly wrong with it.
(I regret that I am not able to offer Live Phone Call service at this time; However, your request is still open to other Experts in this category, and one of them may pick up on it at any time.)
Thanks for your patience.