GET v1/SurveyGroups/{surveyGroupId}/DirectoryAssignments
User roles allowed to make this request:
DomainAdministrator
PowerUser
LocalDomainManager
GlobalDomainManager
Permissions required to make this request:
SurveyGroupAssignment.Read
SurveyGroup.Read
Get Survey Group directory assignments
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
surveyGroupId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Response Message
Collection of SurveyGroupDirectoryAssignmentName | Description | Type | Additional information |
---|---|---|---|
SurveyGroupId | integer |
None. |
|
TenantId | globally unique identifier |
None. |
|
ObjectId | globally unique identifier |
None. |
|
ObjectType | AadObjectType |
None. |
|
DateAdded | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SurveyGroupId": 1, "TenantId": "5153b338-3204-46d5-a3f2-b1e0b96083f9", "ObjectId": "8beba1f1-06a3-4071-bbcc-b64055a6d209", "ObjectType": 0, "DateAdded": "2024-09-04T10:35:15.6216972+00:00" }, { "SurveyGroupId": 1, "TenantId": "5153b338-3204-46d5-a3f2-b1e0b96083f9", "ObjectId": "8beba1f1-06a3-4071-bbcc-b64055a6d209", "ObjectType": 0, "DateAdded": "2024-09-04T10:35:15.6216972+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfGetDirectoryAssignments.SurveyGroupDirectoryAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nfield.Manager.Surveys.Interactions.SurveyGroup.Assignments"> <GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <DateAdded>2024-09-04T10:35:15.6216972+00:00</DateAdded> <ObjectId>8beba1f1-06a3-4071-bbcc-b64055a6d209</ObjectId> <ObjectType>Unknown</ObjectType> <SurveyGroupId>1</SurveyGroupId> <TenantId>5153b338-3204-46d5-a3f2-b1e0b96083f9</TenantId> </GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <DateAdded>2024-09-04T10:35:15.6216972+00:00</DateAdded> <ObjectId>8beba1f1-06a3-4071-bbcc-b64055a6d209</ObjectId> <ObjectType>Unknown</ObjectType> <SurveyGroupId>1</SurveyGroupId> <TenantId>5153b338-3204-46d5-a3f2-b1e0b96083f9</TenantId> </GetDirectoryAssignments.SurveyGroupDirectoryAssignment> </ArrayOfGetDirectoryAssignments.SurveyGroupDirectoryAssignment>