NAV

<back to all web services

CallCenterProfileSalesRecognitionGet

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

export class CallCenterProfileSalesRecognitionGetResponse
{
    public accountNumber?: number;
    public pCtag?: string;
    public loa?: number;
    public amtNeededForPremierLevel?: number;
    public amtNeededForPresidentsClub?: number;
    public amtNeededForHonorSociety?: number;
    public amtNeededForRoseCircle?: number;
    public amtNeededForMcConnells?: number;
    public amtNeededForPresidentsCouncil?: number;
    public amtNeededForInnerCircle?: number;
    public currentCampaignSaleThisYear?: number;
    public currentCampaignSaleLastYear?: number;
    public previousCampaignSaleThisYear?: number;
    public previousCampaignSaleLastYear?: number;
    public campaignSaleThisCycle?: number;
    public campaignSaleLastCycle?: number;
    public bonusSaleThisCycle?: number;
    public bonusSaleLastCycle?: number;
    public responseStatus?: ResponseStatus;

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

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

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

TypeScript CallCenterProfileSalesRecognitionGet 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/profiles/{BeeNumber}/sales-recognition HTTP/1.1 
Host: extensions.avon.ca 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	accountNumber: 0,
	pCtag: String,
	loa: 0,
	amtNeededForPremierLevel: 0,
	amtNeededForPresidentsClub: 0,
	amtNeededForHonorSociety: 0,
	amtNeededForRoseCircle: 0,
	amtNeededForMcConnells: 0,
	amtNeededForPresidentsCouncil: 0,
	amtNeededForInnerCircle: 0,
	currentCampaignSaleThisYear: 0,
	currentCampaignSaleLastYear: 0,
	previousCampaignSaleThisYear: 0,
	previousCampaignSaleLastYear: 0,
	campaignSaleThisCycle: 0,
	campaignSaleLastCycle: 0,
	bonusSaleThisCycle: 0,
	bonusSaleLastCycle: 0,
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}