Bombshell Agency Platform Service

<back to all web services

AgentHierarchyRequest

The following routes are available for this service:
GET,OPTIONS/v1/AgentHierarchy
GET,OPTIONS/v1/AgentHierarchyById/{AgentNumber}

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/AgentHierarchyRequest HTTP/1.1 
Host: api2.exactmedicare.com 
Content-Type: text/csv
Content-Length: length

AgentNumber,IncludeInactive
String,False

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

ResponseStatus,AgentHierarchy
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","[{PackageCost:String,Package:String,AgentNumber:String,PlacementAgent:String,Company:String,FirstName:String,LastName:String,MiddleInitial:String,Email:String,HomePhone:String,CellPhone:String,WorkPhone:String,Level:String,label:String,AgentId:0,AgentStatus:String}]"