Bombshell Agency Platform Service

<back to all web services

AFConnectActiveAgentListRequest

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

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/AFConnectActiveAgentListRequest HTTP/1.1 
Host: api.appreciationfinancial.com 
Content-Type: text/jsv
Content-Length: length

{
	AgentEmail: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Agents: 
	[
		{
			AgentId: String,
			FirstName: String,
			LastName: String,
			Rank: String,
			IsActive: False,
			Email: String,
			BusinessEmail: String,
			Phone: String,
			AVP: 
			{
				AgentId: String,
				FirstName: String,
				LastName: String
			},
			Upline1: 
			{
				AgentId: String,
				FirstName: String,
				LastName: String
			},
			Upline2: 
			{
				AgentId: String,
				FirstName: String,
				LastName: String
			},
			Upline3: 
			{
				AgentId: String,
				FirstName: String,
				LastName: String
			},
			Upline4: 
			{
				AgentId: String,
				FirstName: String,
				LastName: String
			},
			Location: 
			{
				City: String,
				State: String,
				Zip: String
			},
			LicensedStates: 
			[
				String
			],
			CurrentSchoolCount: 0,
			MaxSchoolCount: 0,
			AssignedSchools: 
			[
				{
					AgentName: String,
					AVPName: String,
					DistrictId: 0,
					DistrictName: String,
					SchoolId: 0,
					SchoolName: String,
					Line1: String,
					City: String,
					State: String,
					County: String,
					Website: String,
					Status: String
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}