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

HTTP + JSV

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

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

{
	AgentId: 0,
	ProcessDateStart: 0001-01-01,
	ProcessDateEnd: 0001-01-01,
	IncludeInactive: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-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
	},
	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
		}
	]
}