Take a survey live (status 22). This call is used to change the status of the survey.
bapit-7
Request
...
PATCH PUT $apihost/$basepath/surveys/5000/status
($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header)
...
Body:
Code Block | ||||
---|---|---|---|---|
| ||||
[ { "op": "replace", "path": "/ps_survey_status", "value": 22 } ] |
Response
...
Response Code
200
Response Body
...
...
200
...