[Progress Communities] [Progress OpenEdge ABL] Forum Post: setDataField REST API `value` parameter

  • Thread starter Thread starter troynguyen
  • Start date Start date
Status
Not open for further replies.
T

troynguyen

Guest
I'm trying to use the setDataField REST API to programmatically update a template text field on the Settings object. This API is documented here: Rollbase Are there any examples of what the `value` parameter is supposed to be? The documentation states "Value to be set. Must be formatted the same way as values in spreadsheet imports. For File Upload fields: Base-64 encoded binary value of file." Right now I'm POST-ing to the end point with a JSON string containing information similar to the DataField container in the server-side API: '{"name": "some_integration_name", "value": "new template text value"}' Making this request with a valid session ID, object ID, and field integration name gives me a 200 OK stating that the field has been updated, when it reality it has not. Does anyone know why this could be? I'm assuming I'm not formatting the value parameter properly

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