HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/ErrorRequest HTTP/1.1
Host: vghost.bulwarkpestcontrol.com
Content-Type: text/csv
Content-Length: length
Id,DataObj,ResponseStatus
0,"[{Id:0,Employee_Id:0,Product_Id:0,Component_Id:0,Message:String,Source:String,StackTrace:String,TargetSite: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
Id,DataObj,ResponseStatus
0,"[{Id:0,Employee_Id:0,Product_Id:0,Component_Id:0,Message:String,Source:String,StackTrace:String,TargetSite:String}]","{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"