HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/SiteItemRequest HTTP/1.1
Host: api.consumertaxadvocate.com
Content-Type: text/csv
Content-Length: length
SiteItemTypeId,SiteItem
0,"{Id:0,ItemType:0,ItemName:String,ItemValue:String,DateCreated:0001-01-01,UpdatedBy:String}"
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
SiteItems,ResponseStatus
"[{Id:0,ItemType:0,ItemName:String,ItemValue:String,DateCreated:0001-01-01,UpdatedBy:String}]","{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"