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}
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using NAV.ServiceModel;

namespace NAV.ServiceModel
{
    public partial class CallCenterActivityTrackerGetList
        : IGet
    {
        public virtual decimal AccountNumber { get; set; }
        public virtual string TransactionType { get; set; }
        public virtual int? Page { get; set; }
    }

    public partial class CallCenterActivityTrackerGetListResponse
        : GetListResponse<CallCenterActivityViewModel>
    {
        public virtual int? Page { get; set; }
        public virtual bool MorePages { get; set; }
    }

    public partial class CallCenterActivityViewModel
    {
        public virtual string TransactionType { get; set; }
        public virtual decimal? TransactionAmount { get; set; }
        public virtual string TransactionDescription { get; set; }
        public virtual string TransactionDate { get; set; }
        public virtual DateTime TransactionTime { get; set; }
        public virtual decimal? TransactionNet { get; set; }
        public virtual decimal? EarningPercentage { get; set; }
        public virtual decimal? TotalPaymentAmount { get; set; }
        public virtual decimal? Balance { get; set; }
        public virtual string TransactionCode { get; set; }
        public virtual string Campaign { get; set; }
        public virtual decimal? FreeAmount { get; set; }
        public virtual decimal? BonusAmount { get; set; }
        public virtual decimal? DiscountPercentage { get; set; }
        public virtual decimal? TaxRate { get; set; }
        public virtual string InvoiceNumber { get; set; }
        public virtual string OrderNumber { get; set; }
        public virtual decimal? RetailAmount { get; set; }
        public virtual decimal? CustomerServed { get; set; }
        public virtual decimal? CustomerPrice { get; set; }
        public virtual string OperatorId { get; set; }
        public virtual decimal? ShippingFee { get; set; }
        public virtual decimal? LocalTax { get; set; }
        public virtual DateTime? ShipDate { get; set; }
        public virtual string Carrier { get; set; }
        public virtual decimal? EstimatedWeight { get; set; }
        public virtual string CartonNumber { get; set; }
        public virtual string ValueBefore { get; set; }
        public virtual string ValueAfter { get; set; }
    }

    public partial class GetListResponse<TEntity>
    {
        public GetListResponse()
        {
            Items = new List<TEntity>{};
        }

        public virtual List<TEntity> Items { get; set; }
        public virtual ResponseStatus ResponseStatus { get; set; }
    }

}

C# CallCenterActivityTrackerGetList 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/activities/{AccountNumber}/{TransactionType}/{Page} HTTP/1.1 
Host: extensions.avon.ca 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	page: 0,
	morePages: False,
	items: 
	[
		{
			transactionType: String,
			transactionAmount: 0,
			transactionDescription: String,
			transactionDate: String,
			transactionTime: 0001-01-01T00:00:00,
			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,
			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
		}
	}
}