Specification for current "Get Survey" is wrong on example page

jmobrienjmobrien Austin, TXCommunity Member Qubie ✭

Specification for current "Get Survey" is wrong on example page


I started writing this to say "JSON output on the current Get Survey doesn't work." However, I just figured out that it does work, but the specification as written is incorrect.

The specification indicates that it takes a string indicating how the response is to be formatted, either "qsf" or "json." A drop-down menu on the example output allows you to see what the two different output formats look like. However, if you actually pass the string "json" as specified, you get this:


"httpStatus":"400 - Bad Request"
"errorMessage":"Parameter format should be one of [qsf], found json."

If you want JSON, you have to leave the format parameter BLANK, with no additional "format" parameter passed:


at which point you receive output formatted consistent with the examples. This not what the specification as described seems to indicate, so it's quite confusing.

Sign In to Comment