| 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 .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/oneway/survey HTTP/1.1
Host: ssl.buildersaccess.com
Content-Type: application/xml
Content-Length: length
<survey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BASchedulingSDK">
<code>0</code>
<idnumber>0</idnumber>
<listquestions>
<AppResponse.surveyQuestion>
<_x003C_idnumber_x003E_k__BackingField>String</_x003C_idnumber_x003E_k__BackingField>
<_x003C_question_x003E_k__BackingField>String</_x003C_question_x003E_k__BackingField>
<_x003C_score_x003E_k__BackingField>0</_x003C_score_x003E_k__BackingField>
<_x003C_text_x003E_k__BackingField>String</_x003C_text_x003E_k__BackingField>
</AppResponse.surveyQuestion>
</listquestions>
<notes>String</notes>
<q1>String</q1>
<q10>String</q10>
<q2>String</q2>
<q3>String</q3>
<q4>String</q4>
<q5>String</q5>
<q6>String</q6>
<q7>String</q7>
<q8>String</q8>
<q9>String</q9>
<question1>0</question1>
<question10>0</question10>
<question2>0</question2>
<question3>0</question3>
<question4>0</question4>
<question5>0</question5>
<question6>0</question6>
<question7>0</question7>
<question8>0</question8>
<question9>0</question9>
</survey>