GroupService
Class to work with interviewer groups
Constructors
- GroupService(IRestClient restClient)
-
Creates and initializes an instance of GroupService class
Methods
- GetAsync(string odataQuery)
-
Get interviewer groups using OData filter
Parameters
- odataQuery
-
The string with an OData query
List of Group objects
- GetAsync(int groupId)
-
Get interviewer group by unique identifier of the group
Parameters
- groupId
-
Unique identifier of the interviewer group
The Group object
- Create(Group group)
-
Create a new interviewer group
Parameters
- group
-
The instance of the group object
Unique identifier of the new interviewer group
- Update(Group group)
-
Update an existing interviewer group
Parameters
- group
-
The instance of the group object
Unique identifier of the interviewer group
- Delete(int groupId)
-
Delete an existing interviewer group
Parameters
- groupId
-
Unique identifier of the interviewer group
- GetInterviewersAsync(int groupId, int callCenterId)
-
Get all interviewers belonging to the specified group
Parameters
- groupId
-
Unique identifier of the interviewer group
- callCenterId
-
Unique identifier of the call center
List of Interviewer objects
- GetAssignments(int groupId, int callCenterId)
-
Get all assignment information related to the specified group
Parameters
- groupId
-
Unique identifier of the interviewer group
- callCenterId
-
Unique identifier of the call center
List of SurveyAssignment objects
- AssignOnSurvey(int groupId, string surveyId, int callCenterId)
-
Assign the specified group to the specified survey
Parameters
- groupId
-
Unique identifier of the interviewer group
- surveyId
-
Unique identifier of the survey (pXXXXXXXX)
- callCenterId
-
Unique identifier of the call center
- DeAssignFromSurvey(int groupId, string surveyId, int callCenterId)
-
Unassign the specified group from the specified survey
Parameters
- groupId
-
Unique identifier of the interviewer group
- surveyId
-
Unique identifier of the survey (pXXXXXXXX)
- callCenterId
-
Unique identifier of the call center
- AssignOnCall(int groupId, string surveyId, int interviewId, int callCenterId)
-
Assign the specified group to the specified call
Parameters
- groupId
-
Unique identifier of the interviewer group
- surveyId
-
Unique identifier of the survey (pXXXXXXXX)
- interviewId
-
Unique identifier of the interview
- callCenterId
-
Unique identifier of the call center
- DeAssignFromCalls(int groupId, string surveyId, int callCenterId)
-
Unassign the specified group from all calls on the specified survey