[Solved] UPDATE/COPY SURVEY api call error

0

Hi,

I am using the UPDATE/COPY SURVEY – Update and/or copy a specified survey, API call to copy an existing survey to a new survey but it is not working. instead of creating new survey and copying the previous survey to it, the existing surveys name changes to the new survey name. 

Thank you

Dominic Sharpe selected answer

    Best answer

    0

    I use this call on a regular basis and it looks to be functioning correctly.

    I use the following call:

    https://restapi.surveygizmo.com/v4/survey/123456?_method=POST

    referenced under:

    http://apihelp.surveygizmo.com/help/article/link/survey-object#updateobject

    Note that when you want to copy a survey, you need to use the ‘copy’ parameter set as ‘true’

    So your call might look something like this:

    https://restapi.surveygizmo.com/v4/survey/123456?_method=POST&api_token=xxx&api_token_secret=xxx&copy=true

    If you do not specify the copy parameter as true, you will end up just updating the original survey.

    I hope this helps!

    Dominic Sharpe selected as best answer
      ×

      Login

      Question stats

      • Active
      • Views1043 times
      • Answers1 answer
      • Followers1 follower