ISurveyService

Interface to work with surveys

Methods


GetAsync(string odataQuery)

Get surveys using OData filter

Parameters

odataQuery

The string with an OData query

Returns

List of Survey objects


GetAsyncByKey(string surveyId)

Get survey by unique identifier of the survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)

Returns

Survey object


Open(string surveyId)

Open the survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)


Close(string surveyId)

Close the survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)


Shutdown(string surveyId)

Shutdown the survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)


GetAssignments(string surveyId, int callCenterId)

Get all assignment information related to the specified survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)

callCenterId

Unique identifier of the call center

Returns

List of ResourceAssignment objects


CleanAssignments(string surveyId, int callCenterId)

Remove all assignments related to the specified survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)

callCenterId

Unique identifier of the call center


GetBasicProperties(string surveyId)

Get basic properties of the survey

Parameters

surveyId

Unique identifier of the survey (pXXXXXXXX)

Returns

SurveyBasicProperties object


PutBasicProperties(SurveyBasicProperties properties)

Update basic properties of the survey

Parameters

properties

Object with the survey properties