| All Verbs | /survey |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| idnumber | query | int | Yes | |
| code | query | long | Yes | |
| notes | query | string | Yes | |
| listquestions | query | List<surveyQuestion> | Yes | |
| question1 | query | int | No | |
| question2 | query | int | No | |
| question3 | query | int | No | |
| question4 | query | int | No | |
| question5 | query | int | No | |
| question6 | query | int | No | |
| question7 | query | int | No | |
| question8 | query | int | No | |
| question9 | query | int | No | |
| question10 | query | int | No | |
| q1 | query | string | No | |
| q2 | query | string | No | |
| q3 | query | string | No | |
| q4 | query | string | No | |
| q5 | query | string | No | |
| q6 | query | string | No | |
| q7 | query | string | No | |
| q8 | query | string | No | |
| q9 | query | string | No | |
| q10 | query | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}