[progress Communities] [progress Openedge Abl] Forum Post: Re: Urgent Help To Catch Rest...

Status
Not open for further replies.
E

egarcia

Guest
Hello, The error "An incomplete client request" happens because the format is not expected for the parameters. In particular, the structure of the temp-table. The explanation in my previous post also applies here. The JSON for the ttTableRecFields parameter should be an object instead of an array. "ttTableRecFields": The name "ttTableRecFields" will appear twice. Once as the name of the parameter and a 2nd time as the name of the temp-table. (A way to troubleshoot this and see the structure is by testing outputting the parameters.) Example: { "request": { "ttTableRecFields": { "ttTableRecFields": [{ "table_name": "Lang_ACTIVITY_DESCRIPTION", "table_field": "ACTIVITY_DESCRIPTION", "field_type": "Text", "field_length": "4", "field_required": true, "data": "行政收费" }, { "table_name": "Lang_ACTIVITY_DESCRIPTION", "table_field": "ACTIVITY_DESCRIPTION1", "field_type": "Text", "field_length": "4", "field_required": true, "data": "行政收费" }] }, "RecID": 1540, "LangID": 1 } } Please try using a JSON object as the one above. I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Top