One choice - dropdown (type:'dropdown'). Get the choices from a restfull service.
Open in new window

Link to a restufull service:

var q = survey.getQuestionByName('country');
q.choicesByUrl.url = 'http://yourrestfullserviceurl';
q.choicesByUrl.run();

The path to the array of results in the returned json:

var q = survey.getQuestionByName('country');
q.choicesByUrl.path = 'MyPathToTheResult';
q.choicesByUrl.run();

The 'value' element name in the returned json:

var q = survey.getQuestionByName('country');
q.choicesByUrl.valueName = 'thePropertyNameForValue';
q.choicesByUrl.run();

The 'title' element name in the returned json (if empty, the value is used):

var q = survey.getQuestionByName('country');
q.choicesByUrl.titleName = 'thePropertyNameForTitle';
q.choicesByUrl.run();


Survey.Survey.cssType = "bootstrap";
Survey.defaultBootstrapCss.navigationButton = "btn btn-green";

window.survey = new Survey.Model({ questions: [
    { type: "dropdown", name: "country", title: "Select the country...", isRequired: true, 
     choicesByUrl: {url: "https://restcountries.eu/rest/v2/all", valueName: "name"} }
]});
survey.onComplete.add(function(result) {
	document.querySelector('#surveyResult').innerHTML = "result: " + JSON.stringify(result.data);
});


var app = new Vue({
    el: '#surveyElement',
    data: {
        survey: survey
    }
});


<!DOCTYPE html>
<html>

<head>
    <title>Welcome to Vue</title>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    
    <script src="https://surveyjs.azureedge.net/0.12.19/survey.vue.js"></script>
    
    
    <link rel="stylesheet" href="https://unpkg.com/bootstrap@3.3.7/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <div id="surveyElement">
        <survey :survey='survey'/>
    </div>
    <div id="surveyResult"></div>
    <script src="./index.js"></script>
</body>

</html>

.btn-green {
  background-color: #1ab394;
  color: #fff;
  border-radius: 3px;
}

.btn-green:hover, .btn-green:focus {
    background-color: #18a689;
    color: #fff;
}

.panel-footer {
    text-align: right;
    background-color: #fff;
}