...
In the successful response you can see the fields PNAME, PRID are being set by the script and the values are returned in the successful JSON. The additional colWidths is setting the column size of the widget when multiple fields are being returned (this is optional).
JSON Error Response Example
...