AdvisorConnect

<back to all web services

AgentDistrictRequest

The following routes are available for this service:
GET,POST,OPTIONS/v1/AgentDistrict/{AgentId}
DELETE,OPTIONS/v1/AgentDistrict

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/AgentDistrictRequest HTTP/1.1 
Host: api.test1.advisorconnect.us 
Content-Type: text/csv
Content-Length: length

AgentId,AgentDistrict
0,"[{Id:0,AgentId:0,DistrictId:0,Name:String,CampaignTypeId:0}]"

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

ResponseStatus,AgentDistrict
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{Id:0,AgentId:0,DistrictId:0,Name:String,CampaignTypeId:0}]"