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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/AgentDownlineAggregateRequest HTTP/1.1 
Host: api2.exactmedicare.com 
Content-Type: application/json
Content-Length: length

{"AgentId":0,"ProcessDateStart":"0001-01-01T00:00:00.0000000","ProcessDateEnd":"0001-01-01T00:00:00.0000000","IncludeInactive":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]},"Summary":{"SelectedAgentId":0,"SelectedAgentNumber":"String","SelectedAgentName":"String","SelectedAgentRank":"String","SelectedAgentPartnerId":0,"HierarchyAgentCount":0,"DownlineAgentCount":0,"WritingAgentCount":0,"ProcessDateStart":"0001-01-01T00:00:00.0000000","ProcessDateEnd":"0001-01-01T00:00:00.0000000","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},"Agents":[{"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}],"Ranks":[{"RoleCode":0,"RoleName":"String","RankLabel":"String","TotalAmount":0,"ListingCount":0}]}