Endpoints
- https://meo.sn4mobile.com/api/prod/voc/v1/questions - production environment
- https://meo.sn4mobile.com/api/test/voc/v1/questions - test environment
Request parameters
Parameter | Description | |
---|---|---|
id | The unique id of the survey | M |
M = Mandatory |
GET https://meo.sn4mobile.com/api/test/voc/v1/questions/{id}
Request and response example
curl 'https://meo.sn4mobile.com/api/test/voc/v1/questions/3340' -u ABCDEF:123456
Successful API request returns results in JSON format.
{ "surveyId": 3340, "surveyName": "Asiakaspalvelun laadunseuranta", "questions": [ { "questionId": 6118, "questionText": "Kuinka todennäköisesti suosittelisit yrityksemme asiakaspalvelua ystävillesi tai kollegoillesi? (0=erittäin epätodennäköisesti, 10=erittäin todennäköisesti)", "questionType": 0, "correctAnswer": -1, "correctAnswerReply": "Kysymys 2/3: Saitko hoidettua asiasi yhdellä puhelinsoitolla? Vastaa viestiin maksutta EYOY KYLLÄ tai EYOY EN.", "incorrectAnswerReply": "", "npsQuestion": 1, "yesnoQuestion": 0, "indexQuestion": 1, "trendQuestion": 1, "fcrQuestion": 0, "upsaleQuestion": 0, "zeroAllowed": 1, "answerOrder": 1, "answerOptions": [ { "answerUniqueId": 10947, "answerDescription": "0", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 0 }, { "answerUniqueId": 10948, "answerDescription": "1", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 1 }, { "answerUniqueId": 10949, "answerDescription": "2", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 2 }, { "answerUniqueId": 10950, "answerDescription": "3", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 3 }, { "answerUniqueId": 10951, "answerDescription": "4", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 4 }, { "answerUniqueId": 10952, "answerDescription": "5", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 5 }, { "answerUniqueId": 10953, "answerDescription": "6", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 6 }, { "answerUniqueId": 10954, "answerDescription": "7", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 7 }, { "answerUniqueId": 10955, "answerDescription": "8", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 8 }, { "answerUniqueId": 10956, "answerDescription": "9", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 9 }, { "answerUniqueId": 10957, "answerDescription": "10", "answerDescriptionUI": "", "answerType": 0, "collectionOrder": 10 } ] }, { "questionId": 6119, "questionText": "Saitko hoidettua asiasi yhdellä puhelinsoitolla?", "questionType": 0, "correctAnswer": -1, "correctAnswerReply": "Kysymys 3/3: Tarjottiinko sinulle muita tuotteita tai palveluitamme? Vastaa viestiin maksutta EYOY KYLLÄ tai EYOY EI.", "incorrectAnswerReply": "", "npsQuestion": 0, "yesnoQuestion": 1, "indexQuestion": 0, "trendQuestion": 1, "fcrQuestion": 1, "upsaleQuestion": 0, "zeroAllowed": 0, "answerOrder": 2, "answerOptions": [ { "answerUniqueId": 10958, "answerDescription": "Kyllä", "answerDescriptionUI": "[finland,KYLLÄ][sweden,JA]", "answerType": 0, "collectionOrder": 0 }, { "answerUniqueId": 10959, "answerDescription": "Ei", "answerDescriptionUI": "[finland,EN][sweden,NEJ]", "answerType": 0, "collectionOrder": 1 } ] }, { "questionId": 6120, "questionText": "Tarjottiinko sinulle muita tuotteita tai palveluitamme?", "questionType": 0, "correctAnswer": -1, "correctAnswerReply": "Kiitos vastauksistasi. Voit antaa meille avointa palautetta toimintamme kehittämiseksi vastaamalla maksutta viestiin EYOY ja kirjoittamalla vapaan palautteesi. Ystävällisin terveisin", "incorrectAnswerReply": "", "npsQuestion": 0, "yesnoQuestion": 1, "indexQuestion": 0, "trendQuestion": 1, "fcrQuestion": 0, "upsaleQuestion": 1, "zeroAllowed": 0, "answerOrder": 2, "answerOptions": [ { "answerUniqueId": 10960, "answerDescription": "Kyllä", "answerDescriptionUI": "[finland,KYLLÄ][sweden,JA]", "answerType": 0, "collectionOrder": 0 }, { "answerUniqueId": 10961, "answerDescription": "Ei", "answerDescriptionUI": "[finland,EI][sweden,NEJ]", "answerType": 0, "collectionOrder": 1 } ] }, { "questionId": 6121, "questionText": "Avoin palaute", "questionType": 1, "correctAnswer": -1, "correctAnswerReply": "Olemme vastaanottaneet avoimen palautteesi. Huomioimme palautteesi Aktian palveluita kehittäessämme.", "incorrectAnswerReply": "", "npsQuestion": 0, "yesnoQuestion": 0, "indexQuestion": 0, "trendQuestion": 0, "fcrQuestion": 0, "upsaleQuestion": 0, "zeroAllowed": 0, "answerOrder": -1 } ] }