How can we pass application variables to REST JSON body?
Pass the logged in user to the REST api
I am new here and to VBCS. I have a REST api that I am trying to use with my POST method. I am trying to pass the $application.user.userid , which is the logged in user as a field in my json body to update the audit columns in my table. How can this be done?
“ inventoryid” : “1”,
”created by”: should be the value of my logged in user
Do I need to assign this as part of the action chain before calling the REST api on hitting the create button? Any pointers on how to do this?