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

NameDescriptionTypeAdditional information
surveyGroupId

integer

Required

Body Parameters

NativeIdentityModel
NameDescriptionTypeAdditional 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

SurveyGroupNativeAssignmentModel
NameDescriptionTypeAdditional 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-05-23T09:26:55.0445422+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-05-23T09:26:55.0445422+00:00</DateAdded>
  <NativeIdentityId>sample string 2</NativeIdentityId>
  <SurveyGroupId>1</SurveyGroupId>
</SurveyGroupNativeAssignmentModel>