Bombshell Agency Platform Service

<back to all web services

TeamPolicyProductionRequest

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

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

{
	RootAgentId: 0,
	BatchIds: 
	[
		0
	],
	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
			}
		]
	},
	RootAgentId: 0,
	Agents: 
	[
		{
			AgentId: 0,
			FirstName: String,
			LastName: String,
			AgentNumber: String,
			AgentStatus: String,
			Rank: String,
			ParentAgentId: 0,
			ParentName: String,
			Depth: 0,
			TreePath: String,
			MasterAccount: 0,
			PersonId: 0,
			IsRoot: False
		}
	],
	Production: 
	[
		{
			AgentId: 0,
			BatchId: 0,
			Policies: 0,
			FirstYearPolicies: 0,
			RenewalPolicies: 0,
			PremiumPolicies: 0,
			Premium: 0,
			Payout: 0,
			Clawback: 0,
			ClawbackPolicies: 0,
			Survived: 0,
			Dead: 0,
			Pending: 0,
			PremiumBucketNone: 0,
			PremiumBucket1: 0,
			PremiumBucket2: 0,
			PremiumBucket3: 0,
			PremiumBucket4: 0
		}
	],
	ProductMix: 
	[
		{
			AgentId: 0,
			BatchId: 0,
			ProductType: String,
			Policies: 0
		}
	],
	Batches: 
	[
		{
			BatchId: 0,
			CommissionStartDate: 0001-01-01,
			CommissionEndDate: 0001-01-01,
			PaymentDate: 0001-01-01,
			Label: String,
			IsUnbatched: False
		}
	]
}