BAwarranty Server V1

<back to all web services

survey

The following routes are available for this service:
All Verbs/survey
survey Parameters:
NameParameterData TypeRequiredDescription
idnumberqueryintYes
codequerylongYes
notesquerystringYes
listquestionsqueryList<surveyQuestion>Yes
question1queryintNo
question2queryintNo
question3queryintNo
question4queryintNo
question5queryintNo
question6queryintNo
question7queryintNo
question8queryintNo
question9queryintNo
question10queryintNo
q1querystringNo
q2querystringNo
q3querystringNo
q4querystringNo
q5querystringNo
q6querystringNo
q7querystringNo
q8querystringNo
q9querystringNo
q10querystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/oneway/survey HTTP/1.1 
Host: ssl.buildersaccess.com 
Content-Type: text/jsv
Content-Length: length

{
	idnumber: 0,
	code: 0,
	notes: String,
	listquestions: 
	[
		{
			idnumber: String,
			question: String,
			score: 0,
			text: String
		}
	],
	question1: 0,
	question2: 0,
	question3: 0,
	question4: 0,
	question5: 0,
	question6: 0,
	question7: 0,
	question8: 0,
	question9: 0,
	question10: 0,
	q1: String,
	q2: String,
	q3: String,
	q4: String,
	q5: String,
	q6: String,
	q7: String,
	q8: String,
	q9: String,
	q10: String
}