It looks like you have a JavaScript object that you convert to a JSON string, jstring
. It is just a string. If you want to access the properties represented in the string, use the original object, l
. Ie, l.parameter.code
function doPost(l) {
var doc = DocumentApp.openById('1to3-JzhE27-LK0Zw7hEsdYgiSd7xQq7jjp13m6YwRh0');
var jstring = Utilities.jsonStringify(l);
doc.appendParagraph(jstring);
dosomething(l.parameter.code);
}