Bombshell Agency Platform Service

<back to all web services

AgentDownlineAggregateRequest

The following routes are available for this service:
GET,OPTIONS/v1/AgentDownlineAggregate

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

AgentId,ProcessDateStart,ProcessDateEnd,IncludeInactive
0,0001-01-01,0001-01-01,False

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

ResponseStatus,Summary,Agents,Ranks
"{ErrorCode:String,Message:String,StackTrace:String,Errors:[{ErrorCode:String,FieldName:String,Message:String}]}","{SelectedAgentId:0,SelectedAgentNumber:String,SelectedAgentName:String,SelectedAgentRank:String,SelectedAgentPartnerId:0,HierarchyAgentCount:0,DownlineAgentCount:0,WritingAgentCount:0,ProcessDateStart:0001-01-01,ProcessDateEnd:0001-01-01,PoliciesSubmitted:0,PoliciesNetZero:0,PoliciesFirstYear:0,WritingAgentPayoutTotal:0,ManagerPayoutTotal:0,PartnerPayoutTotal:0,BrokerPayoutTotal:0,CorporatePayoutTotal:0,TotalPayout:0,AvgWritingAgentPayout:0,AvgManagerPayout:0,AvgPartnerPayout:0,AvgBrokerPayout:0,AvgCorporatePayout:0,AvgTotalPayout:0}","[{AgentId:0,AgentNumber:String,AgentName:String,Rank:String,AgentStatus:String,HierarchyLevel:0,PoliciesSubmitted:0,PoliciesNetZero:0,PoliciesFirstYear:0,WritingAgentPayout:0,ManagerPayout:0,PartnerPayout:0,BrokerPayout:0,CorporatePayout:0,TotalPayout:0,AvgWritingAgentPayout:0,AvgManagerPayout:0,AvgPartnerPayout:0,AvgBrokerPayout:0,AvgCorporatePayout:0}]","[{RoleCode:0,RoleName:String,RankLabel:String,TotalAmount:0,ListingCount:0}]"