Bulwark Web API Service Host

<back to all web services

SubmitSurveyRequest

Submit Survey

The following routes are available for this service:
POST/api/Vanguard/SubmitSurvey

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

HTTP + CSV

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

POST /csv/reply/SubmitSurveyRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: text/csv
Content-Length: length

AccountInfo,Name,Email,Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8,Comments,SurveyResponseId,IsSuccessful,Error,ResponseStatus
String,String,String,0,0,0,0,0,0,0,String,String,0,False,String,"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

AccountInfo,Name,Email,Q1,Q2,Q3,Q4,Q5,Q6,Q7,Q8,Comments,SurveyResponseId,IsSuccessful,Error,ResponseStatus
String,String,String,0,0,0,0,0,0,0,String,String,0,False,String,"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"