api.js
function getSurveySettings (defOptions, credentials, token, surveyId, callback) {
  
  if (typeof surveyId === 'function') callback = surveyId;
  if (checkRequiredParameter(surveyId)) return Promise.reject(Error(`Missing required parameter 'SurveyId'`)).nodeify(callback);
  
  var options = {
    method : 'GET',
    uri : `v1/Surveys/${surveyId}/Settings`
  };
  
  return requestWithTokenCheck(defOptions, credentials, token, options, callback);
}
function getSurveySettings (defOptions, credentials, token, surveyId, callback) {
  
  if (typeof surveyId === 'function') callback = surveyId;
  if (checkRequiredParameter(surveyId)) return Promise.reject(Error(`Missing required parameter 'SurveyId'`)).nodeify(callback);
  
  var options = {
    method : 'GET',
    uri : `v1/Surveys/${surveyId}/Settings`
  };
  
  return requestWithTokenCheck(defOptions, credentials, token, options, callback);
}
function getSurveySettings ( defOptions , credentials , token , surveyId , callback ) { if ( typeof surveyId === 'function' ) callback = surveyId ; if ( checkRequiredParameter ( surveyId ) ) return Promise . reject ( Error ( ` ` ) ) . nodeify ( callback ) ; var options = { method : 'GET' , uri : ` ${ surveyId } ` } ; return requestWithTokenCheck ( defOptions , credentials , token , options , callback ) ; }
Retrieve survey settings

{@link https://api.nfieldmr.com/help/api/get-v1-surveys-surveyid-settings}
Retrieve survey settings