TaxComm Platform Service

<back to all web services

BatchesRequest

The following routes are available for this service:
GET,POST,PUT,DELETE,OPTIONS/v1/BatchView/{fipsCode}
GET,POST,PUT,DELETE,OPTIONS/v1/BatchView/
GET,POST,PUT,DELETE,OPTIONS/v1/BatchView/{fipsCode}/{status}

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/BatchesRequest HTTP/1.1 
Host: taxcommapi.trendsic.net 
Content-Type: text/csv
Content-Length: length

fipsCode,status,BatchView
0,String,"[{ID:0,tax_year:0,fips_code:0,batch_no:0,TotalCount:0,batch_created:0001-01-01,status:String,batch_submitted:0001-01-01}]"

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

ResponseStatus,BatchView
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{ID:0,tax_year:0,fips_code:0,batch_no:0,TotalCount:0,batch_created:0001-01-01,status:String,batch_submitted:0001-01-01}]"