NAV

<back to all web services

CallCenterProfileGet

The following routes are available for this service:
GET/call-center/profile/{BeeNumber}
GET/call-center/profiles/{BeeNumber}

export class CallCenterAddress
{
    public addressLine1?: string;
    public addressLine2?: string;
    public addressLine3?: string;
    public city?: string;
    public stateCode?: string;
    public postalCode?: string;
    public countryCode?: string;

    public constructor(init?: Partial<CallCenterAddress>) { (Object as any).assign(this, init); }
}

export class CallCenterProfileGetResponse
{
    public responseStatus?: ResponseStatus;
    public fullName?: string;
    public firstName?: string;
    public middleName?: string;
    public lastName?: string;
    public beeNumber?: number;
    public accountStatus?: string;
    public collectionTag?: string;
    public reinstatedTag?: string;
    public reinstatedDate?: string;
    public primaryPhone?: string;
    public secondaryPhone?: string;
    public loa?: number;
    public accountType?: string;
    public amountDue?: number;
    public birthday?: string;
    public language?: string;
    public mailingAddress?: CallCenterAddress;
    public shippingAddress?: CallCenterAddress;
    public apptDate?: string;
    public appointmentCampYear?: string;
    public uplineAccount?: number;
    public uplineName?: string;
    public awardSalesCurrentCamp?: number;
    public awardSalesPriorCamp?: number;
    public awardSalesCurrentCycle?: number;
    public awardSalesPriorCycle?: number;
    public awardSalesCurrentBonus?: number;
    public awardSalesPriorBonus?: number;
    public awardSalesPreviousCamp?: number;
    public bonusSalesPreviousCamp?: number;
    public lastPaymentDate?: string;
    public lastPaymentAmount?: number;
    public totalPastDue?: number;
    public pastDue?: number;
    public pastDue2?: number;
    public pastDue3?: number;
    public currentBalance?: number;
    public awardSalesTier?: string;
    public noCodeBilledNotShipped?: string;
    public creditCardPaymentAllowed?: string;
    public termsVersion?: string;
    public termsAcknowledgeDate?: string;
    public coApplicantName?: string;
    public coApplicantSsn?: string;
    public coApplicantBirthday?: string;
    public coApplicantRelation?: string;
    public updatedForCampaign?: string;
    public creditLimit?: number;
    public directDepositPaymentsTag?: boolean;
    public leadershipTag?: string;
    public leadershipLevel?: string;
    public pcTag?: string;
    public pcPremierTag?: string;
    public deceasedTag?: string;
    public emailAddress?: string;
    public nickname?: string;
    public webPageUrl?: string;
    public legalDateOfEnrollment?: string;
    public deliveryMethod?: string;
    public socialSecurityNumber?: string;
    public isNewLeadershipLevel?: string;
    public isNewRecognitionLevel?: string;
    public disabilityTag?: string;
    public retireeTag?: boolean;
    public labcTag?: string;
    public removalReason?: string;
    public repAccountNumber?: number;
    public repAccountName?: string;
    public noCode21?: string;
    public taxExempt?: string;
    public pendingOrdersBalance?: number;

    public constructor(init?: Partial<CallCenterProfileGetResponse>) { (Object as any).assign(this, init); }
}

export class CallCenterProfileGet implements IGet
{
    public beeNumber?: number;

    public constructor(init?: Partial<CallCenterProfileGet>) { (Object as any).assign(this, init); }
}

TypeScript CallCenterProfileGet DTOs

To override the Content-type in your clients, use the 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.

GET /call-center/profile/{BeeNumber} HTTP/1.1 
Host: extensions.avon.ca 
Accept: text/jsv
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,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	},
	fullName: String,
	firstName: String,
	middleName: String,
	lastName: String,
	beeNumber: 0,
	accountStatus: String,
	collectionTag: String,
	reinstatedTag: String,
	reinstatedDate: String,
	primaryPhone: String,
	secondaryPhone: String,
	loa: 0,
	accountType: String,
	amountDue: 0,
	birthday: 0001-01-01T00:00:00,
	language: String,
	mailingAddress: 
	{
		addressLine1: String,
		addressLine2: String,
		addressLine3: String,
		city: String,
		stateCode: String,
		postalCode: String,
		countryCode: String
	},
	shippingAddress: 
	{
		addressLine1: String,
		addressLine2: String,
		addressLine3: String,
		city: String,
		stateCode: String,
		postalCode: String,
		countryCode: String
	},
	apptDate: 0001-01-01T00:00:00,
	appointmentCampYear: String,
	uplineAccount: 0,
	uplineName: String,
	awardSalesCurrentCamp: 0,
	awardSalesPriorCamp: 0,
	awardSalesCurrentCycle: 0,
	awardSalesPriorCycle: 0,
	awardSalesCurrentBonus: 0,
	awardSalesPriorBonus: 0,
	awardSalesPreviousCamp: 0,
	bonusSalesPreviousCamp: 0,
	lastPaymentDate: 0001-01-01T00:00:00,
	lastPaymentAmount: 0,
	totalPastDue: 0,
	pastDue: 0,
	pastDue2: 0,
	pastDue3: 0,
	currentBalance: 0,
	awardSalesTier: String,
	noCodeBilledNotShipped: String,
	creditCardPaymentAllowed: String,
	termsVersion: String,
	termsAcknowledgeDate: 0001-01-01T00:00:00,
	coApplicantName: String,
	coApplicantSsn: String,
	coApplicantBirthday: 0001-01-01T00:00:00,
	coApplicantRelation: String,
	updatedForCampaign: String,
	creditLimit: 0,
	directDepositPaymentsTag: False,
	leadershipTag: String,
	leadershipLevel: String,
	pcTag: String,
	pcPremierTag: String,
	deceasedTag: String,
	emailAddress: String,
	nickname: String,
	webPageUrl: String,
	legalDateOfEnrollment: 0001-01-01T00:00:00,
	deliveryMethod: String,
	socialSecurityNumber: String,
	isNewLeadershipLevel: String,
	isNewRecognitionLevel: String,
	disabilityTag: String,
	retireeTag: False,
	labcTag: String,
	removalReason: String,
	repAccountNumber: 0,
	repAccountName: String,
	noCode21: String,
	taxExempt: String,
	pendingOrdersBalance: 0
}