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

NameDescriptionTypeAdditional information
surveyGroupId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Response Message

Collection of SurveyGroupDirectoryAssignment
NameDescriptionTypeAdditional 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": "e445998c-3d60-4b1d-a1ad-4dd4a23e5cc6",
    "ObjectId": "53ee85a4-d54e-413d-a691-c0e0cb6d800e",
    "ObjectType": 0,
    "DateAdded": "2024-06-14T03:54:13.9779826+00:00"
  },
  {
    "SurveyGroupId": 1,
    "TenantId": "e445998c-3d60-4b1d-a1ad-4dd4a23e5cc6",
    "ObjectId": "53ee85a4-d54e-413d-a691-c0e0cb6d800e",
    "ObjectType": 0,
    "DateAdded": "2024-06-14T03:54:13.9779826+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-06-14T03:54:13.9779826+00:00</DateAdded>
    <ObjectId>53ee85a4-d54e-413d-a691-c0e0cb6d800e</ObjectId>
    <ObjectType>Unknown</ObjectType>
    <SurveyGroupId>1</SurveyGroupId>
    <TenantId>e445998c-3d60-4b1d-a1ad-4dd4a23e5cc6</TenantId>
  </GetDirectoryAssignments.SurveyGroupDirectoryAssignment>
  <GetDirectoryAssignments.SurveyGroupDirectoryAssignment>
    <DateAdded>2024-06-14T03:54:13.9779826+00:00</DateAdded>
    <ObjectId>53ee85a4-d54e-413d-a691-c0e0cb6d800e</ObjectId>
    <ObjectType>Unknown</ObjectType>
    <SurveyGroupId>1</SurveyGroupId>
    <TenantId>e445998c-3d60-4b1d-a1ad-4dd4a23e5cc6</TenantId>
  </GetDirectoryAssignments.SurveyGroupDirectoryAssignment>
</ArrayOfGetDirectoryAssignments.SurveyGroupDirectoryAssignment>