HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/ControlCenter_TMRetention_SummaryRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/csv
Content-Length: length
HrEmpId,DataObj,ResponseStatus
0,"[{Id:0,ZoneName:String,Map:String,PerNettRet:0,Outof:0,Tier1:0,Tier2:0,Tier3:0,Bonus: ,Bonus2: ,Bonus3: ,DateFor:""0001-01-01T00:00:00.0000000Z"",AllAvg:0,Ranking:0,EmployeeId:0}]","{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
HrEmpId,DataObj,ResponseStatus
0,"[{Id:0,ZoneName:String,Map:String,PerNettRet:0,Outof:0,Tier1:0,Tier2:0,Tier3:0,Bonus: ,Bonus2: ,Bonus3: ,DateFor:""0001-01-01T00:00:00.0000000Z"",AllAvg:0,Ranking:0,EmployeeId:0}]","{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"