Service: QuestionnaireService

Version: 1_34 (other versions, change log, ZUMSTEIN_V3.12-SNAPSHOT) Active version. This version can be subject to minor retro-compatible changes without warnings.

SOAP Demo endpoint: https://myinstit.ws.secutix.com/tnseb/external-remoting/com.secutix.service.realtime.questionnaire.v1_34.QuestionnaireService.webservice?wsdl

REST Demo endpoint (only POST): https://myinstit.ws.secutix.com/tnseb/backend-apis/questionnaireService/v1_34/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "myinstit" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.

Methods:

assignQuestionnaireToMovement

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Assign a questionnaireId to a movement.

Parameters

questionnaireIdLong     
movementIdLong     

Return value

WebMethodResult
requestIdInteger     
statusCodeString (8)     
statusDetailString     

clearQuestionnaireForMovement

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Clear answeredQuestionnaire of a movement. 1) Delete answerQuestions. 2) Update movement before delete answeredQuestionnaire because of restriction FK_MOVEMENT_ANSWERQUESTNR. 3) Delete answeredQuestionnaire. NOTE: I don´t delete questionnaireId from movement because questionnaire has to be associated to the movement.

Parameters

movementIdLongtarget movement ID to empty.

Return value

WebMethodResult

filterQuestionnairesAssociatedWithCurrentSalesChannel

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method to filter out questionnaireIds that are not associated with the current Sales Channel.

Parameters

questionnaireIdsList of LongThe list of questionnaireIds to evaluate

Return value

QuestionnaireIdsResult
Questionnaire IDs Result implementation DTO. Contains the IDs of a list of questionnaires. May be empty if no matching questionnaires have been found.
questionnaireIdsList of Long     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getExistingQuestionnaireId

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Gets (if exists) the questionnaire id associated to a sales channel in a particular season that contains all of the question codes in the list.

Parameters

salesChannelIdLong     
seasonIdLong     
questionCodesList of String     

Return value

QuestionnaireIdResult
Questionnaire ID Result implementation DTO. Contains the ID of a found questionnaire. May be null if no matching questionnaire has been found.
questionnaireIdLong     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

getQuestionnaireAnswer

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method to the answers for a questionnaire linked to the given movement.

Parameters

ticketIdsList of Long     
movementIdsList of Long     

Return value

QuestionnaireAnswerResult
answerQuestionnaireList of AnswerQuestionnaire     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

AnswerQuestionnaire
answerQuestionsList of AnswerQuestion     
beneficiaryInfoBeneficiaryInfo     
movementIdLong     
questionnaireIdLong     
ticketIdLong     

AnswerQuestion
answerCodesList of String     
questionCodeString (8)     

BeneficiaryInfo
beneficiaryBirthPlaceString     
beneficiaryBirthRegionString     
beneficiaryBirthdateDate     
beneficiaryCountryCodeString (8)     
beneficiaryFirstnameString     
beneficiaryIdNumberString     
beneficiaryLastnameString     

getQuestionnaireById

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Method to the answers for a questionnaire linked to the given movement.

Parameters

questionnaireIdsList of Long     

Return value

QuestionnairesResult
questionnairesList of Questionnaire     
questionsList of Question     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

Questionnaire
codeString (8)     
idLong     
questionnaireQuestionsList of QuestionnaireQuestion     

QuestionnaireQuestion
mandatoryAnswerboolean     
questionIdLong     
rankInteger     

Question
answerElementsList of AnswerElement     
answerType(ADDRESS|BOOLEAN|NUMBER|
DATE|PHONE|COUNTRY|EMAIL|
TEXT|LIST_SINGLE|
LIST_MULTI)
     
autoCopiedAnswerboolean     
codeString (8)     
defaultAnswerString     
externalDescriptionExternalNameThis field is described more information about a question. - 2000 characters max for each translation
externalNameExternalName60 characters max for each translation
idLong     
internalNameExternalName60 characters max for each translation

AnswerElement
codeString (8)     
defaultValueboolean     
externalNameExternalName60 characters max for each translation
idLong     
internalNameExternalName60 characters max for each translation
rankInteger     

ExternalName
translationsList of Translation     

Translation
localeString (2)     
valueString