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": "9b22260e-8e80-4ccf-9ab2-85dc824d150d", "ObjectId": "70e3b394-0bd3-44f8-bf49-b9d14693eeff", "ObjectType": 0, "DateAdded": "2024-05-20T16:43:22.2764149+00:00" }, { "SurveyGroupId": 1, "TenantId": "9b22260e-8e80-4ccf-9ab2-85dc824d150d", "ObjectId": "70e3b394-0bd3-44f8-bf49-b9d14693eeff", "ObjectType": 0, "DateAdded": "2024-05-20T16:43:22.2764149+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-05-20T16:43:22.2764149+00:00</DateAdded> <ObjectId>70e3b394-0bd3-44f8-bf49-b9d14693eeff</ObjectId> <ObjectType>Unknown</ObjectType> <SurveyGroupId>1</SurveyGroupId> <TenantId>9b22260e-8e80-4ccf-9ab2-85dc824d150d</TenantId> </GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <DateAdded>2024-05-20T16:43:22.2764149+00:00</DateAdded> <ObjectId>70e3b394-0bd3-44f8-bf49-b9d14693eeff</ObjectId> <ObjectType>Unknown</ObjectType> <SurveyGroupId>1</SurveyGroupId> <TenantId>9b22260e-8e80-4ccf-9ab2-85dc824d150d</TenantId> </GetDirectoryAssignments.SurveyGroupDirectoryAssignment> </ArrayOfGetDirectoryAssignments.SurveyGroupDirectoryAssignment>