Bulwark Web API Service Host

<back to all web services

TerritoryReferralRequest

Get TerritoryReferral

The following routes are available for this service:
GET,POST/api/Vanguard/TerritoryReferral

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/TerritoryReferralRequest HTTP/1.1 
Host: vghost.bulwarkpestcontrol.com 
Content-Type: text/csv
Content-Length: length

Id,Customer_Id,Office_Id,StartOn,EndOn,SoldOn,ActiveOnly,Employee_Id,DataObj,ResponseStatus
0,0,0,"""0001-01-01T00:00:00.0000000Z""","""0001-01-01T00:00:00.0000000Z""","""0001-01-01T00:00:00.0000000Z""",False,0,"[{Id:0,Employee_Id:0,Customer_Id:0,ReferredBy:String,Active:False}]","{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,Customer_Id,Office_Id,StartOn,EndOn,SoldOn,ActiveOnly,Employee_Id,DataObj,ResponseStatus
0,0,0,"""0001-01-01T00:00:00.0000000Z""","""0001-01-01T00:00:00.0000000Z""","""0001-01-01T00:00:00.0000000Z""",False,0,"[{Id:0,Employee_Id:0,Customer_Id:0,ReferredBy:String,Active:False}]","{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}"