Access Keys:
Skip to content (Access Key - 0)
Live Chat

Get all the Available Surveys

Skip to end of metadata
Go to start of metadata
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
For information regarding the entities used in the Surveys CRUD, please visit Entities Used in Surveys CRUD page.

You can get a list of all the available surveys by using the following command(s):


GET /em/api/surveys
GET /em/api/surveys.xml
GET /em/api/surveys.js

Response in XML:

HTTP/1.0 200 OK
    <name>New Survey</name>
    <instruction />
      <text>New Question</text>
      <items>aabb bb cc dd ee</items>

Response in JSON:

HTTP/1.0 200 OK
  id : "4028807b2a8e8437012a8e8bc3a20001",
  creationDate : new Date(1282233600000),
  name : "New Survey",
  questions : [
    {text : "New Question", items : "aabb\nbb\ncc\ndd\nee", minimum : 0, maximum : 268435455, optional : false, semantic : 0, type : 7}
  instruction : "",
  companyId : "1",
  creator : "lex"}
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki