In BC version 16 I have published an API page as a webservice and after inserting data successfully I would like to include specific data in the response that can be used by the application calling the webservice.
Is this possible and if so how do I do this?
Thank You
0
Answers
From an external application we are inserting data into the table behind the api page.
Are you suggesting that I create another field in the table that contains the data I want to send back in the response and populate that field onafterinsert of the data?
Will that field and value exist in the response?
I created a global variable on the API page called responseMessage, and populated it as you suggested and on a successful Post the response did not include this variable.
Do I need to declare the variable in a particular way?