GET | /call-center/profile/{BeeNumber} | ||
---|---|---|---|
GET | /call-center/profiles/{BeeNumber} |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CallCenterProfileGet implements IGet
{
public BigDecimal beeNumber = null;
public BigDecimal getBeeNumber() { return beeNumber; }
public CallCenterProfileGet setBeeNumber(BigDecimal value) { this.beeNumber = value; return this; }
}
public static class CallCenterProfileGetResponse
{
public ResponseStatus responseStatus = null;
public String fullName = null;
public String firstName = null;
public String middleName = null;
public String lastName = null;
public BigDecimal beeNumber = null;
public String accountStatus = null;
public String collectionTag = null;
public String reinstatedTag = null;
public String reinstatedDate = null;
public String primaryPhone = null;
public String secondaryPhone = null;
public BigDecimal loa = null;
public String accountType = null;
public BigDecimal amountDue = null;
public Date birthday = null;
public String language = null;
public CallCenterAddress mailingAddress = null;
public CallCenterAddress shippingAddress = null;
public Date apptDate = null;
public String appointmentCampYear = null;
public BigDecimal uplineAccount = null;
public String uplineName = null;
public BigDecimal awardSalesCurrentCamp = null;
public BigDecimal awardSalesPriorCamp = null;
public BigDecimal awardSalesCurrentCycle = null;
public BigDecimal awardSalesPriorCycle = null;
public BigDecimal awardSalesCurrentBonus = null;
public BigDecimal awardSalesPriorBonus = null;
public BigDecimal awardSalesPreviousCamp = null;
public BigDecimal bonusSalesPreviousCamp = null;
public Date lastPaymentDate = null;
public BigDecimal lastPaymentAmount = null;
public BigDecimal totalPastDue = null;
public BigDecimal pastDue = null;
public BigDecimal pastDue2 = null;
public BigDecimal pastDue3 = null;
public BigDecimal currentBalance = null;
public String awardSalesTier = null;
public String noCodeBilledNotShipped = null;
public String creditCardPaymentAllowed = null;
public String termsVersion = null;
public Date termsAcknowledgeDate = null;
public String coApplicantName = null;
public String coApplicantSsn = null;
public Date coApplicantBirthday = null;
public String coApplicantRelation = null;
public String updatedForCampaign = null;
public BigDecimal creditLimit = null;
public Boolean directDepositPaymentsTag = null;
public String leadershipTag = null;
public String leadershipLevel = null;
public String pcTag = null;
public String pcPremierTag = null;
public String deceasedTag = null;
public String emailAddress = null;
public String nickname = null;
public String webPageUrl = null;
public Date legalDateOfEnrollment = null;
public String deliveryMethod = null;
public String socialSecurityNumber = null;
public String isNewLeadershipLevel = null;
public String isNewRecognitionLevel = null;
public String disabilityTag = null;
public Boolean retireeTag = null;
public String labcTag = null;
public String removalReason = null;
public BigDecimal repAccountNumber = null;
public String repAccountName = null;
public String noCode21 = null;
public String taxExempt = null;
public BigDecimal pendingOrdersBalance = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public CallCenterProfileGetResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public String getFullName() { return fullName; }
public CallCenterProfileGetResponse setFullName(String value) { this.fullName = value; return this; }
public String getFirstName() { return firstName; }
public CallCenterProfileGetResponse setFirstName(String value) { this.firstName = value; return this; }
public String getMiddleName() { return middleName; }
public CallCenterProfileGetResponse setMiddleName(String value) { this.middleName = value; return this; }
public String getLastName() { return lastName; }
public CallCenterProfileGetResponse setLastName(String value) { this.lastName = value; return this; }
public BigDecimal getBeeNumber() { return beeNumber; }
public CallCenterProfileGetResponse setBeeNumber(BigDecimal value) { this.beeNumber = value; return this; }
public String getAccountStatus() { return accountStatus; }
public CallCenterProfileGetResponse setAccountStatus(String value) { this.accountStatus = value; return this; }
public String getCollectionTag() { return collectionTag; }
public CallCenterProfileGetResponse setCollectionTag(String value) { this.collectionTag = value; return this; }
public String getReinstatedTag() { return reinstatedTag; }
public CallCenterProfileGetResponse setReinstatedTag(String value) { this.reinstatedTag = value; return this; }
public String getReinstatedDate() { return reinstatedDate; }
public CallCenterProfileGetResponse setReinstatedDate(String value) { this.reinstatedDate = value; return this; }
public String getPrimaryPhone() { return primaryPhone; }
public CallCenterProfileGetResponse setPrimaryPhone(String value) { this.primaryPhone = value; return this; }
public String getSecondaryPhone() { return secondaryPhone; }
public CallCenterProfileGetResponse setSecondaryPhone(String value) { this.secondaryPhone = value; return this; }
public BigDecimal getLoa() { return loa; }
public CallCenterProfileGetResponse setLoa(BigDecimal value) { this.loa = value; return this; }
public String getAccountType() { return accountType; }
public CallCenterProfileGetResponse setAccountType(String value) { this.accountType = value; return this; }
public BigDecimal getAmountDue() { return amountDue; }
public CallCenterProfileGetResponse setAmountDue(BigDecimal value) { this.amountDue = value; return this; }
public Date getBirthday() { return birthday; }
public CallCenterProfileGetResponse setBirthday(Date value) { this.birthday = value; return this; }
public String getLanguage() { return language; }
public CallCenterProfileGetResponse setLanguage(String value) { this.language = value; return this; }
public CallCenterAddress getMailingAddress() { return mailingAddress; }
public CallCenterProfileGetResponse setMailingAddress(CallCenterAddress value) { this.mailingAddress = value; return this; }
public CallCenterAddress getShippingAddress() { return shippingAddress; }
public CallCenterProfileGetResponse setShippingAddress(CallCenterAddress value) { this.shippingAddress = value; return this; }
public Date getApptDate() { return apptDate; }
public CallCenterProfileGetResponse setApptDate(Date value) { this.apptDate = value; return this; }
public String getAppointmentCampYear() { return appointmentCampYear; }
public CallCenterProfileGetResponse setAppointmentCampYear(String value) { this.appointmentCampYear = value; return this; }
public BigDecimal getUplineAccount() { return uplineAccount; }
public CallCenterProfileGetResponse setUplineAccount(BigDecimal value) { this.uplineAccount = value; return this; }
public String getUplineName() { return uplineName; }
public CallCenterProfileGetResponse setUplineName(String value) { this.uplineName = value; return this; }
public BigDecimal getAwardSalesCurrentCamp() { return awardSalesCurrentCamp; }
public CallCenterProfileGetResponse setAwardSalesCurrentCamp(BigDecimal value) { this.awardSalesCurrentCamp = value; return this; }
public BigDecimal getAwardSalesPriorCamp() { return awardSalesPriorCamp; }
public CallCenterProfileGetResponse setAwardSalesPriorCamp(BigDecimal value) { this.awardSalesPriorCamp = value; return this; }
public BigDecimal getAwardSalesCurrentCycle() { return awardSalesCurrentCycle; }
public CallCenterProfileGetResponse setAwardSalesCurrentCycle(BigDecimal value) { this.awardSalesCurrentCycle = value; return this; }
public BigDecimal getAwardSalesPriorCycle() { return awardSalesPriorCycle; }
public CallCenterProfileGetResponse setAwardSalesPriorCycle(BigDecimal value) { this.awardSalesPriorCycle = value; return this; }
public BigDecimal getAwardSalesCurrentBonus() { return awardSalesCurrentBonus; }
public CallCenterProfileGetResponse setAwardSalesCurrentBonus(BigDecimal value) { this.awardSalesCurrentBonus = value; return this; }
public BigDecimal getAwardSalesPriorBonus() { return awardSalesPriorBonus; }
public CallCenterProfileGetResponse setAwardSalesPriorBonus(BigDecimal value) { this.awardSalesPriorBonus = value; return this; }
public BigDecimal getAwardSalesPreviousCamp() { return awardSalesPreviousCamp; }
public CallCenterProfileGetResponse setAwardSalesPreviousCamp(BigDecimal value) { this.awardSalesPreviousCamp = value; return this; }
public BigDecimal getBonusSalesPreviousCamp() { return bonusSalesPreviousCamp; }
public CallCenterProfileGetResponse setBonusSalesPreviousCamp(BigDecimal value) { this.bonusSalesPreviousCamp = value; return this; }
public Date getLastPaymentDate() { return lastPaymentDate; }
public CallCenterProfileGetResponse setLastPaymentDate(Date value) { this.lastPaymentDate = value; return this; }
public BigDecimal getLastPaymentAmount() { return lastPaymentAmount; }
public CallCenterProfileGetResponse setLastPaymentAmount(BigDecimal value) { this.lastPaymentAmount = value; return this; }
public BigDecimal getTotalPastDue() { return totalPastDue; }
public CallCenterProfileGetResponse setTotalPastDue(BigDecimal value) { this.totalPastDue = value; return this; }
public BigDecimal getPastDue() { return pastDue; }
public CallCenterProfileGetResponse setPastDue(BigDecimal value) { this.pastDue = value; return this; }
public BigDecimal getPastDue2() { return pastDue2; }
public CallCenterProfileGetResponse setPastDue2(BigDecimal value) { this.pastDue2 = value; return this; }
public BigDecimal getPastDue3() { return pastDue3; }
public CallCenterProfileGetResponse setPastDue3(BigDecimal value) { this.pastDue3 = value; return this; }
public BigDecimal getCurrentBalance() { return currentBalance; }
public CallCenterProfileGetResponse setCurrentBalance(BigDecimal value) { this.currentBalance = value; return this; }
public String getAwardSalesTier() { return awardSalesTier; }
public CallCenterProfileGetResponse setAwardSalesTier(String value) { this.awardSalesTier = value; return this; }
public String getNoCodeBilledNotShipped() { return noCodeBilledNotShipped; }
public CallCenterProfileGetResponse setNoCodeBilledNotShipped(String value) { this.noCodeBilledNotShipped = value; return this; }
public String getCreditCardPaymentAllowed() { return creditCardPaymentAllowed; }
public CallCenterProfileGetResponse setCreditCardPaymentAllowed(String value) { this.creditCardPaymentAllowed = value; return this; }
public String getTermsVersion() { return termsVersion; }
public CallCenterProfileGetResponse setTermsVersion(String value) { this.termsVersion = value; return this; }
public Date getTermsAcknowledgeDate() { return termsAcknowledgeDate; }
public CallCenterProfileGetResponse setTermsAcknowledgeDate(Date value) { this.termsAcknowledgeDate = value; return this; }
public String getCoApplicantName() { return coApplicantName; }
public CallCenterProfileGetResponse setCoApplicantName(String value) { this.coApplicantName = value; return this; }
public String getCoApplicantSsn() { return coApplicantSsn; }
public CallCenterProfileGetResponse setCoApplicantSsn(String value) { this.coApplicantSsn = value; return this; }
public Date getCoApplicantBirthday() { return coApplicantBirthday; }
public CallCenterProfileGetResponse setCoApplicantBirthday(Date value) { this.coApplicantBirthday = value; return this; }
public String getCoApplicantRelation() { return coApplicantRelation; }
public CallCenterProfileGetResponse setCoApplicantRelation(String value) { this.coApplicantRelation = value; return this; }
public String getUpdatedForCampaign() { return updatedForCampaign; }
public CallCenterProfileGetResponse setUpdatedForCampaign(String value) { this.updatedForCampaign = value; return this; }
public BigDecimal getCreditLimit() { return creditLimit; }
public CallCenterProfileGetResponse setCreditLimit(BigDecimal value) { this.creditLimit = value; return this; }
public Boolean isDirectDepositPaymentsTag() { return directDepositPaymentsTag; }
public CallCenterProfileGetResponse setDirectDepositPaymentsTag(Boolean value) { this.directDepositPaymentsTag = value; return this; }
public String getLeadershipTag() { return leadershipTag; }
public CallCenterProfileGetResponse setLeadershipTag(String value) { this.leadershipTag = value; return this; }
public String getLeadershipLevel() { return leadershipLevel; }
public CallCenterProfileGetResponse setLeadershipLevel(String value) { this.leadershipLevel = value; return this; }
public String getPcTag() { return pcTag; }
public CallCenterProfileGetResponse setPcTag(String value) { this.pcTag = value; return this; }
public String getPcPremierTag() { return pcPremierTag; }
public CallCenterProfileGetResponse setPcPremierTag(String value) { this.pcPremierTag = value; return this; }
public String getDeceasedTag() { return deceasedTag; }
public CallCenterProfileGetResponse setDeceasedTag(String value) { this.deceasedTag = value; return this; }
public String getEmailAddress() { return emailAddress; }
public CallCenterProfileGetResponse setEmailAddress(String value) { this.emailAddress = value; return this; }
public String getNickname() { return nickname; }
public CallCenterProfileGetResponse setNickname(String value) { this.nickname = value; return this; }
public String getWebPageUrl() { return webPageUrl; }
public CallCenterProfileGetResponse setWebPageUrl(String value) { this.webPageUrl = value; return this; }
public Date getLegalDateOfEnrollment() { return legalDateOfEnrollment; }
public CallCenterProfileGetResponse setLegalDateOfEnrollment(Date value) { this.legalDateOfEnrollment = value; return this; }
public String getDeliveryMethod() { return deliveryMethod; }
public CallCenterProfileGetResponse setDeliveryMethod(String value) { this.deliveryMethod = value; return this; }
public String getSocialSecurityNumber() { return socialSecurityNumber; }
public CallCenterProfileGetResponse setSocialSecurityNumber(String value) { this.socialSecurityNumber = value; return this; }
public String getIsNewLeadershipLevel() { return isNewLeadershipLevel; }
public CallCenterProfileGetResponse setIsNewLeadershipLevel(String value) { this.isNewLeadershipLevel = value; return this; }
public String getIsNewRecognitionLevel() { return isNewRecognitionLevel; }
public CallCenterProfileGetResponse setIsNewRecognitionLevel(String value) { this.isNewRecognitionLevel = value; return this; }
public String getDisabilityTag() { return disabilityTag; }
public CallCenterProfileGetResponse setDisabilityTag(String value) { this.disabilityTag = value; return this; }
public Boolean isRetireeTag() { return retireeTag; }
public CallCenterProfileGetResponse setRetireeTag(Boolean value) { this.retireeTag = value; return this; }
public String getLabcTag() { return labcTag; }
public CallCenterProfileGetResponse setLabcTag(String value) { this.labcTag = value; return this; }
public String getRemovalReason() { return removalReason; }
public CallCenterProfileGetResponse setRemovalReason(String value) { this.removalReason = value; return this; }
public BigDecimal getRepAccountNumber() { return repAccountNumber; }
public CallCenterProfileGetResponse setRepAccountNumber(BigDecimal value) { this.repAccountNumber = value; return this; }
public String getRepAccountName() { return repAccountName; }
public CallCenterProfileGetResponse setRepAccountName(String value) { this.repAccountName = value; return this; }
public String getNoCode21() { return noCode21; }
public CallCenterProfileGetResponse setNoCode21(String value) { this.noCode21 = value; return this; }
public String getTaxExempt() { return taxExempt; }
public CallCenterProfileGetResponse setTaxExempt(String value) { this.taxExempt = value; return this; }
public BigDecimal getPendingOrdersBalance() { return pendingOrdersBalance; }
public CallCenterProfileGetResponse setPendingOrdersBalance(BigDecimal value) { this.pendingOrdersBalance = value; return this; }
}
public static class CallCenterAddress
{
public String addressLine1 = null;
public String addressLine2 = null;
public String addressLine3 = null;
public String city = null;
public String stateCode = null;
public String postalCode = null;
public String countryCode = null;
public String getAddressLine1() { return addressLine1; }
public CallCenterAddress setAddressLine1(String value) { this.addressLine1 = value; return this; }
public String getAddressLine2() { return addressLine2; }
public CallCenterAddress setAddressLine2(String value) { this.addressLine2 = value; return this; }
public String getAddressLine3() { return addressLine3; }
public CallCenterAddress setAddressLine3(String value) { this.addressLine3 = value; return this; }
public String getCity() { return city; }
public CallCenterAddress setCity(String value) { this.city = value; return this; }
public String getStateCode() { return stateCode; }
public CallCenterAddress setStateCode(String value) { this.stateCode = value; return this; }
public String getPostalCode() { return postalCode; }
public CallCenterAddress setPostalCode(String value) { this.postalCode = value; return this; }
public String getCountryCode() { return countryCode; }
public CallCenterAddress setCountryCode(String value) { this.countryCode = value; return this; }
}
}
Java CallCenterProfileGet DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /call-center/profile/{BeeNumber} HTTP/1.1 Host: extensions.avon.ca Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"fullName":"String","firstName":"String","middleName":"String","lastName":"String","beeNumber":0,"accountStatus":"String","collectionTag":"String","reinstatedTag":"String","reinstatedDate":"String","primaryPhone":"String","secondaryPhone":"String","loa":0,"accountType":"String","amountDue":0,"birthday":"0001-01-01T00:00:00.0000000","language":"String","mailingAddress":{"addressLine1":"String","addressLine2":"String","addressLine3":"String","city":"String","stateCode":"String","postalCode":"String","countryCode":"String"},"shippingAddress":{"addressLine1":"String","addressLine2":"String","addressLine3":"String","city":"String","stateCode":"String","postalCode":"String","countryCode":"String"},"apptDate":"0001-01-01T00:00:00.0000000","appointmentCampYear":"String","uplineAccount":0,"uplineName":"String","awardSalesCurrentCamp":0,"awardSalesPriorCamp":0,"awardSalesCurrentCycle":0,"awardSalesPriorCycle":0,"awardSalesCurrentBonus":0,"awardSalesPriorBonus":0,"awardSalesPreviousCamp":0,"bonusSalesPreviousCamp":0,"lastPaymentDate":"0001-01-01T00:00:00.0000000","lastPaymentAmount":0,"totalPastDue":0,"pastDue":0,"pastDue2":0,"pastDue3":0,"currentBalance":0,"awardSalesTier":"String","noCodeBilledNotShipped":"String","creditCardPaymentAllowed":"String","termsVersion":"String","termsAcknowledgeDate":"0001-01-01T00:00:00.0000000","coApplicantName":"String","coApplicantSsn":"String","coApplicantBirthday":"0001-01-01T00:00:00.0000000","coApplicantRelation":"String","updatedForCampaign":"String","creditLimit":0,"directDepositPaymentsTag":false,"leadershipTag":"String","leadershipLevel":"String","pcTag":"String","pcPremierTag":"String","deceasedTag":"String","emailAddress":"String","nickname":"String","webPageUrl":"String","legalDateOfEnrollment":"0001-01-01T00:00:00.0000000","deliveryMethod":"String","socialSecurityNumber":"String","isNewLeadershipLevel":"String","isNewRecognitionLevel":"String","disabilityTag":"String","retireeTag":false,"labcTag":"String","removalReason":"String","repAccountNumber":0,"repAccountName":"String","noCode21":"String","taxExempt":"String","pendingOrdersBalance":0}