PUT v1/SurveyGroups/{surveyGroupId}/AssignLocal
User roles allowed to make this request:
DomainAdministrator
PowerUser
LocalDomainManager
GlobalDomainManager
Permissions required to make this request:
SurveyGroupAssignment.Write
SurveyGroupAssignment.Read
SurveyGroup.Read
Assign native user to survey group
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyGroupId | integer |
Required |
Body Parameters
NativeIdentityModelName | Description | Type | Additional information |
---|---|---|---|
NativeIdentityId |
Native identity id |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "NativeIdentityId": "sample string 1" }
application/xml, text/xml
Sample:
<NativeIdentityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models"> <NativeIdentityId>sample string 1</NativeIdentityId> </NativeIdentityModel>
application/x-www-form-urlencoded
Sample:
NativeIdentityId=sample
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
Response Message
SurveyGroupNativeAssignmentModelName | Description | Type | Additional information |
---|---|---|---|
SurveyGroupId |
Survey group id |
integer |
None. |
NativeIdentityId |
Native identity id |
string |
None. |
DateAdded |
Creation date |
date |
None. |
Response Formats
application/json, text/json
Sample:
{ "SurveyGroupId": 1, "NativeIdentityId": "sample string 2", "DateAdded": "2024-09-03T20:49:08.6923347+00:00" }
application/xml, text/xml
Sample:
<SurveyGroupNativeAssignmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models"> <DateAdded>2024-09-03T20:49:08.6923347+00:00</DateAdded> <NativeIdentityId>sample string 2</NativeIdentityId> <SurveyGroupId>1</SurveyGroupId> </SurveyGroupNativeAssignmentModel>