NAV

<back to all web services

CallCenterProfileSalesRecognitionGet

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

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type CallCenterProfileSalesRecognitionGetResponse() = 
        member val AccountNumber:Decimal = new Decimal() with get,set
        member val PCtag:String = null with get,set
        member val LOA:Decimal = new Decimal() with get,set
        member val AmtNeededForPremierLevel:Decimal = new Decimal() with get,set
        member val AmtNeededForPresidentsClub:Decimal = new Decimal() with get,set
        member val AmtNeededForHonorSociety:Decimal = new Decimal() with get,set
        member val AmtNeededForRoseCircle:Decimal = new Decimal() with get,set
        member val AmtNeededForMcConnells:Decimal = new Decimal() with get,set
        member val AmtNeededForPresidentsCouncil:Decimal = new Decimal() with get,set
        member val AmtNeededForInnerCircle:Decimal = new Decimal() with get,set
        member val CurrentCampaignSaleThisYear:Decimal = new Decimal() with get,set
        member val CurrentCampaignSaleLastYear:Decimal = new Decimal() with get,set
        member val PreviousCampaignSaleThisYear:Decimal = new Decimal() with get,set
        member val PreviousCampaignSaleLastYear:Decimal = new Decimal() with get,set
        member val CampaignSaleThisCycle:Decimal = new Decimal() with get,set
        member val CampaignSaleLastCycle:Decimal = new Decimal() with get,set
        member val BonusSaleThisCycle:Decimal = new Decimal() with get,set
        member val BonusSaleLastCycle:Decimal = new Decimal() with get,set
        member val ResponseStatus:ResponseStatus = null with get,set

    [<AllowNullLiteral>]
    type CallCenterProfileSalesRecognitionGet() = 
        interface IGet
        member val BeeNumber:Decimal = new Decimal() with get,set

F# 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
		}
	}
}