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

Update a Specific Survey

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.
Updating a survey will cause all the survey results to be cleared.
For information regarding the entities used in the Surveys CRUD, please visit Entities Used in Surveys CRUD page.

You can update a specific survey by using the following command(s):


PUT /em/api/surveys/{id}
PUT /em/api/surveys/{id}.xml
PUT /em/api/surveys/{id}.js

Request in XML:

    <name>New Survey</name>
    <instruction />
      <text>New Question</text>
      <items>aabb bb cc dd ee</items>

Request in JSON:

  name : "New Survey",
  questions : [
    {text : "New Question", items : "aabb\nbb\ncc\ndd\nee", minimum : 0, maximum : 268435455, optional : false, semantic : 0, type : 7}
  instruction : ""


HTTP/1.0 200 OK
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki