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": "87508b19-d247-494b-822b-bfc0d00ff731", "ObjectId": "a433bfc9-773b-422a-a77f-aec769569e6c", "ObjectType": 0, "DateAdded": "2024-07-27T03:31:37.1559899+00:00" }, { "SurveyGroupId": 1, "TenantId": "87508b19-d247-494b-822b-bfc0d00ff731", "ObjectId": "a433bfc9-773b-422a-a77f-aec769569e6c", "ObjectType": 0, "DateAdded": "2024-07-27T03:31:37.1559899+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-07-27T03:31:37.1559899+00:00</DateAdded> <ObjectId>a433bfc9-773b-422a-a77f-aec769569e6c</ObjectId> <ObjectType>Unknown</ObjectType> <SurveyGroupId>1</SurveyGroupId> <TenantId>87508b19-d247-494b-822b-bfc0d00ff731</TenantId> </GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <GetDirectoryAssignments.SurveyGroupDirectoryAssignment> <DateAdded>2024-07-27T03:31:37.1559899+00:00</DateAdded> <ObjectId>a433bfc9-773b-422a-a77f-aec769569e6c</ObjectId> <ObjectType>Unknown</ObjectType> <SurveyGroupId>1</SurveyGroupId> <TenantId>87508b19-d247-494b-822b-bfc0d00ff731</TenantId> </GetDirectoryAssignments.SurveyGroupDirectoryAssignment> </ArrayOfGetDirectoryAssignments.SurveyGroupDirectoryAssignment>