Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A choices url web service should provide its response in this JSON format:

Code Block
Eclipse
languagejstheme
titleJSON Format To Be Returned By Choices URL Web Service
{
  "success":true,
  "errorId":"-999",
  "errorText":"One-line error message here",
  "errorText2":"Long, paragraphs of detailed error message here.",
  "response": {
    "valueField": "FIELD2",
    "results":[
      {"FIELD1":"XXXXX", "FIELD2":"YYYYY", "FIELD3":"ZZZZZ"},
      {"FIELD1":"AAAAA", "FIELD2":"BBBBB", "FIELD3":"CCCCC"}
    ],
    "colWidths": [
       80,
       70,
       60
    ]
  }
}

...