NAV

<back to all web services

CallCenterActivityTrackerGetList

The following routes are available for this service:
GET/call-center/activities/{AccountNumber}/{TransactionType}/{Page}
GET/call-center/activities/{AccountNumber}/{TransactionType}

export class CallCenterActivityViewModel
{
    public transactionType?: string;
    public transactionAmount?: number;
    public transactionDescription?: string;
    public transactionDate?: string;
    public transactionTime?: string;
    public transactionNet?: number;
    public earningPercentage?: number;
    public totalPaymentAmount?: number;
    public balance?: number;
    public transactionCode?: string;
    public campaign?: string;
    public freeAmount?: number;
    public bonusAmount?: number;
    public discountPercentage?: number;
    public taxRate?: number;
    public invoiceNumber?: string;
    public orderNumber?: string;
    public retailAmount?: number;
    public customerServed?: number;
    public customerPrice?: number;
    public operatorId?: string;
    public shippingFee?: number;
    public localTax?: number;
    public shipDate?: string;
    public carrier?: string;
    public estimatedWeight?: number;
    public cartonNumber?: string;
    public valueBefore?: string;
    public valueAfter?: string;

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

export class CallCenterActivityTrackerGetListResponse extends GetListResponse<CallCenterActivityViewModel>
{
    public page?: number;
    public morePages?: boolean;

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

export class CallCenterActivityTrackerGetList implements IGet
{
    public accountNumber?: number;
    public transactionType?: string;
    public page?: number;

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

export class GetListResponse<TEntity>
{
    public items?: TEntity[];
    public responseStatus?: ResponseStatus;

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

TypeScript CallCenterActivityTrackerGetList DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /call-center/activities/{AccountNumber}/{TransactionType}/{Page} HTTP/1.1 
Host: extensions.avon.ca 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"page":0,"morePages":false,"items":[{"transactionType":"String","transactionAmount":0,"transactionDescription":"String","transactionDate":"String","transactionTime":"0001-01-01T00:00:00.0000000","transactionNet":0,"earningPercentage":0,"totalPaymentAmount":0,"balance":0,"transactionCode":"String","campaign":"String","freeAmount":0,"bonusAmount":0,"discountPercentage":0,"taxRate":0,"invoiceNumber":"String","orderNumber":"String","retailAmount":0,"customerServed":0,"customerPrice":0,"operatorId":"String","shippingFee":0,"localTax":0,"shipDate":"0001-01-01T00:00:00.0000000","carrier":"String","estimatedWeight":0,"cartonNumber":"String","valueBefore":"String","valueAfter":"String"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}