HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/PurchaseRequest HTTP/1.1
Host: api.responsible-advisor.com
Content-Type: text/csv
Content-Length: length
InputObject,Insert,Delete,Update
"{Id:0,CaseDesignId:0,Description:String,SectionName:String,PurchaseAmount:0,PurchaseYear:0,DateCreated:0001-01-01,DateModified:0001-01-01}",False,False,False
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
ResponseStatus,OutputObject
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{Id:0,CaseDesignId:0,Description:String,SectionName:String,PurchaseAmount:0,PurchaseYear:0,DateCreated:0001-01-01,DateModified:0001-01-01}"