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}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class CallCenterActivityTrackerGetList implements IGet
    {
        public BigDecimal accountNumber = null;
        public String transactionType = null;
        public Integer page = null;
        
        public BigDecimal getAccountNumber() { return accountNumber; }
        public CallCenterActivityTrackerGetList setAccountNumber(BigDecimal value) { this.accountNumber = value; return this; }
        public String getTransactionType() { return transactionType; }
        public CallCenterActivityTrackerGetList setTransactionType(String value) { this.transactionType = value; return this; }
        public Integer getPage() { return page; }
        public CallCenterActivityTrackerGetList setPage(Integer value) { this.page = value; return this; }
    }

    public static class CallCenterActivityTrackerGetListResponse extends GetListResponse<CallCenterActivityViewModel>
    {
        public Integer page = null;
        public Boolean morePages = null;
        
        public Integer getPage() { return page; }
        public CallCenterActivityTrackerGetListResponse setPage(Integer value) { this.page = value; return this; }
        public Boolean isMorePages() { return morePages; }
        public CallCenterActivityTrackerGetListResponse setMorePages(Boolean value) { this.morePages = value; return this; }
    }

    public static class GetListResponse<TEntity>
    {
        public ArrayList<TEntity> items = null;
        public ResponseStatus responseStatus = null;
        
        public ArrayList<TEntity> getItems() { return items; }
        public GetListResponse<TEntity> setItems(ArrayList<TEntity> value) { this.items = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public GetListResponse<TEntity> setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    public static class CallCenterActivityViewModel
    {
        public String transactionType = null;
        public BigDecimal transactionAmount = null;
        public String transactionDescription = null;
        public String transactionDate = null;
        public Date transactionTime = null;
        public BigDecimal transactionNet = null;
        public BigDecimal earningPercentage = null;
        public BigDecimal totalPaymentAmount = null;
        public BigDecimal balance = null;
        public String transactionCode = null;
        public String campaign = null;
        public BigDecimal freeAmount = null;
        public BigDecimal bonusAmount = null;
        public BigDecimal discountPercentage = null;
        public BigDecimal taxRate = null;
        public String invoiceNumber = null;
        public String orderNumber = null;
        public BigDecimal retailAmount = null;
        public BigDecimal customerServed = null;
        public BigDecimal customerPrice = null;
        public String operatorId = null;
        public BigDecimal shippingFee = null;
        public BigDecimal localTax = null;
        public Date shipDate = null;
        public String carrier = null;
        public BigDecimal estimatedWeight = null;
        public String cartonNumber = null;
        public String valueBefore = null;
        public String valueAfter = null;
        
        public String getTransactionType() { return transactionType; }
        public CallCenterActivityViewModel setTransactionType(String value) { this.transactionType = value; return this; }
        public BigDecimal getTransactionAmount() { return transactionAmount; }
        public CallCenterActivityViewModel setTransactionAmount(BigDecimal value) { this.transactionAmount = value; return this; }
        public String getTransactionDescription() { return transactionDescription; }
        public CallCenterActivityViewModel setTransactionDescription(String value) { this.transactionDescription = value; return this; }
        public String getTransactionDate() { return transactionDate; }
        public CallCenterActivityViewModel setTransactionDate(String value) { this.transactionDate = value; return this; }
        public Date getTransactionTime() { return transactionTime; }
        public CallCenterActivityViewModel setTransactionTime(Date value) { this.transactionTime = value; return this; }
        public BigDecimal getTransactionNet() { return transactionNet; }
        public CallCenterActivityViewModel setTransactionNet(BigDecimal value) { this.transactionNet = value; return this; }
        public BigDecimal getEarningPercentage() { return earningPercentage; }
        public CallCenterActivityViewModel setEarningPercentage(BigDecimal value) { this.earningPercentage = value; return this; }
        public BigDecimal getTotalPaymentAmount() { return totalPaymentAmount; }
        public CallCenterActivityViewModel setTotalPaymentAmount(BigDecimal value) { this.totalPaymentAmount = value; return this; }
        public BigDecimal getBalance() { return balance; }
        public CallCenterActivityViewModel setBalance(BigDecimal value) { this.balance = value; return this; }
        public String getTransactionCode() { return transactionCode; }
        public CallCenterActivityViewModel setTransactionCode(String value) { this.transactionCode = value; return this; }
        public String getCampaign() { return campaign; }
        public CallCenterActivityViewModel setCampaign(String value) { this.campaign = value; return this; }
        public BigDecimal getFreeAmount() { return freeAmount; }
        public CallCenterActivityViewModel setFreeAmount(BigDecimal value) { this.freeAmount = value; return this; }
        public BigDecimal getBonusAmount() { return bonusAmount; }
        public CallCenterActivityViewModel setBonusAmount(BigDecimal value) { this.bonusAmount = value; return this; }
        public BigDecimal getDiscountPercentage() { return discountPercentage; }
        public CallCenterActivityViewModel setDiscountPercentage(BigDecimal value) { this.discountPercentage = value; return this; }
        public BigDecimal getTaxRate() { return taxRate; }
        public CallCenterActivityViewModel setTaxRate(BigDecimal value) { this.taxRate = value; return this; }
        public String getInvoiceNumber() { return invoiceNumber; }
        public CallCenterActivityViewModel setInvoiceNumber(String value) { this.invoiceNumber = value; return this; }
        public String getOrderNumber() { return orderNumber; }
        public CallCenterActivityViewModel setOrderNumber(String value) { this.orderNumber = value; return this; }
        public BigDecimal getRetailAmount() { return retailAmount; }
        public CallCenterActivityViewModel setRetailAmount(BigDecimal value) { this.retailAmount = value; return this; }
        public BigDecimal getCustomerServed() { return customerServed; }
        public CallCenterActivityViewModel setCustomerServed(BigDecimal value) { this.customerServed = value; return this; }
        public BigDecimal getCustomerPrice() { return customerPrice; }
        public CallCenterActivityViewModel setCustomerPrice(BigDecimal value) { this.customerPrice = value; return this; }
        public String getOperatorId() { return operatorId; }
        public CallCenterActivityViewModel setOperatorId(String value) { this.operatorId = value; return this; }
        public BigDecimal getShippingFee() { return shippingFee; }
        public CallCenterActivityViewModel setShippingFee(BigDecimal value) { this.shippingFee = value; return this; }
        public BigDecimal getLocalTax() { return localTax; }
        public CallCenterActivityViewModel setLocalTax(BigDecimal value) { this.localTax = value; return this; }
        public Date getShipDate() { return shipDate; }
        public CallCenterActivityViewModel setShipDate(Date value) { this.shipDate = value; return this; }
        public String getCarrier() { return carrier; }
        public CallCenterActivityViewModel setCarrier(String value) { this.carrier = value; return this; }
        public BigDecimal getEstimatedWeight() { return estimatedWeight; }
        public CallCenterActivityViewModel setEstimatedWeight(BigDecimal value) { this.estimatedWeight = value; return this; }
        public String getCartonNumber() { return cartonNumber; }
        public CallCenterActivityViewModel setCartonNumber(String value) { this.cartonNumber = value; return this; }
        public String getValueBefore() { return valueBefore; }
        public CallCenterActivityViewModel setValueBefore(String value) { this.valueBefore = value; return this; }
        public String getValueAfter() { return valueAfter; }
        public CallCenterActivityViewModel setValueAfter(String value) { this.valueAfter = value; return this; }
    }

}

Java 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"}}}