PUT v1/Surveys/{surveyId}/SurveyGroup
User roles allowed to make this request:
DomainAdministrator
PowerUser
LocalDomainManager
GlobalDomainManager
OperationsUser
Permissions required to make this request:
Survey.Move
Survey.Read
Move a survey to another survey group
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyId | string |
Required |
Body Parameters
SurveyMoveModelName | Description | Type | Additional information |
---|---|---|---|
SurveyGroupId |
New Survey Group for the survey |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SurveyGroupId": 1 }
application/xml, text/xml
Sample:
<SurveyMoveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models"> <SurveyGroupId>1</SurveyGroupId> </SurveyMoveModel>
application/x-www-form-urlencoded
Sample:
SurveyGroupId=1
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
Response Message
SurveyMoveModelName | Description | Type | Additional information |
---|---|---|---|
SurveyGroupId |
New Survey Group for the survey |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "SurveyGroupId": 1 }
application/xml, text/xml
Sample:
<SurveyMoveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models"> <SurveyGroupId>1</SurveyGroupId> </SurveyMoveModel>