GET v1/Surveys/InterviewSimulations

User roles allowed to make this request: DomainAdministrator PowerUser RegularUser Supervisor Scripter LimitedUser QuotaManager LocalDomainManager GlobalDomainManager OperationsUser SampleManager RepositoryManager DemoUser All

Permissions required to make this request: InterviewSimulation.Read Survey.Read

retrieve all simulations

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Response Message

Collection of SurveyInterviewSimulationModel
NameDescriptionTypeAdditional information
OriginalSurveyId

Id of the original survey that started the simulation

string

None.

ClientName

Gets or sets the name of the client, e.g. Coca Cola.

string

Max length: 50

SurveyType

Gets or sets the type of the survey.

string

Required

Description

The description of the survey

string

Max length: 4096

QuestionnaireMD5

The Md5 hash of the current (compiled) questionnaire

string

Max length: 128

InterviewerInstruction

The default interviewer instruction of a survey

string

Max length: 2147483647

SurveyState

The current state of a survey

SurveyState

None.

SurveyGroupId

The survey group this survey belongs to

integer

None.

IsBlueprint

True if this survey is a blueprint, otherwise false.

boolean

None.

SurveyId

The unique id of the survey

string

Max length: 36

SurveyName

The name of the survey

string

Required

Max length: 50

Response Formats

application/json, text/json

Sample:
[
  {
    "OriginalSurveyId": "sample string 1",
    "ClientName": "sample string 2",
    "SurveyType": "sample string 3",
    "Description": "sample string 4",
    "QuestionnaireMD5": "sample string 5",
    "InterviewerInstruction": "sample string 6",
    "SurveyState": 0,
    "SurveyGroupId": 7,
    "IsBlueprint": true,
    "SurveyId": "sample string 9",
    "SurveyName": "sample string 10"
  },
  {
    "OriginalSurveyId": "sample string 1",
    "ClientName": "sample string 2",
    "SurveyType": "sample string 3",
    "Description": "sample string 4",
    "QuestionnaireMD5": "sample string 5",
    "InterviewerInstruction": "sample string 6",
    "SurveyState": 0,
    "SurveyGroupId": 7,
    "IsBlueprint": true,
    "SurveyId": "sample string 9",
    "SurveyName": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSurveyInterviewSimulationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models">
  <SurveyInterviewSimulationModel>
    <SurveyId>sample string 9</SurveyId>
    <SurveyName>sample string 10</SurveyName>
    <ClientName>sample string 2</ClientName>
    <Description>sample string 4</Description>
    <InterviewerInstruction>sample string 6</InterviewerInstruction>
    <IsBlueprint>true</IsBlueprint>
    <QuestionnaireMD5>sample string 5</QuestionnaireMD5>
    <SurveyGroupId>7</SurveyGroupId>
    <SurveyState>UnderConstruction</SurveyState>
    <SurveyType>sample string 3</SurveyType>
    <OriginalSurveyId>sample string 1</OriginalSurveyId>
  </SurveyInterviewSimulationModel>
  <SurveyInterviewSimulationModel>
    <SurveyId>sample string 9</SurveyId>
    <SurveyName>sample string 10</SurveyName>
    <ClientName>sample string 2</ClientName>
    <Description>sample string 4</Description>
    <InterviewerInstruction>sample string 6</InterviewerInstruction>
    <IsBlueprint>true</IsBlueprint>
    <QuestionnaireMD5>sample string 5</QuestionnaireMD5>
    <SurveyGroupId>7</SurveyGroupId>
    <SurveyState>UnderConstruction</SurveyState>
    <SurveyType>sample string 3</SurveyType>
    <OriginalSurveyId>sample string 1</OriginalSurveyId>
  </SurveyInterviewSimulationModel>
</ArrayOfSurveyInterviewSimulationModel>