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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <CallCenterProfileGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAV.ServiceModel"> <AccountStatus>String</AccountStatus> <AccountType>String</AccountType> <AmountDue>0</AmountDue> <AppointmentCampYear>String</AppointmentCampYear> <ApptDate>0001-01-01T00:00:00</ApptDate> <AwardSalesCurrentBonus>0</AwardSalesCurrentBonus> <AwardSalesCurrentCamp>0</AwardSalesCurrentCamp> <AwardSalesCurrentCycle>0</AwardSalesCurrentCycle> <AwardSalesPreviousCamp>0</AwardSalesPreviousCamp> <AwardSalesPriorBonus>0</AwardSalesPriorBonus> <AwardSalesPriorCamp>0</AwardSalesPriorCamp> <AwardSalesPriorCycle>0</AwardSalesPriorCycle> <AwardSalesTier>String</AwardSalesTier> <BeeNumber>0</BeeNumber> <Birthday>0001-01-01T00:00:00</Birthday> <BonusSalesPreviousCamp>0</BonusSalesPreviousCamp> <CoApplicantBirthday>0001-01-01T00:00:00</CoApplicantBirthday> <CoApplicantName>String</CoApplicantName> <CoApplicantRelation>String</CoApplicantRelation> <CoApplicantSsn>String</CoApplicantSsn> <CollectionTag>String</CollectionTag> <CreditCardPaymentAllowed>String</CreditCardPaymentAllowed> <CreditLimit>0</CreditLimit> <CurrentBalance>0</CurrentBalance> <DeceasedTag>String</DeceasedTag> <DeliveryMethod>String</DeliveryMethod> <DirectDepositPaymentsTag>false</DirectDepositPaymentsTag> <DisabilityTag>String</DisabilityTag> <EmailAddress>String</EmailAddress> <FirstName>String</FirstName> <FullName>String</FullName> <IsNewLeadershipLevel>String</IsNewLeadershipLevel> <IsNewRecognitionLevel>String</IsNewRecognitionLevel> <LABCTag>String</LABCTag> <Language>String</Language> <LastName>String</LastName> <LastPaymentAmount>0</LastPaymentAmount> <LastPaymentDate>0001-01-01T00:00:00</LastPaymentDate> <LeadershipLevel>String</LeadershipLevel> <LeadershipTag>String</LeadershipTag> <LegalDateOfEnrollment>0001-01-01T00:00:00</LegalDateOfEnrollment> <Loa>0</Loa> <MailingAddress> <AddressLine1>String</AddressLine1> <AddressLine2>String</AddressLine2> <AddressLine3>String</AddressLine3> <City>String</City> <CountryCode>String</CountryCode> <PostalCode>String</PostalCode> <StateCode>String</StateCode> </MailingAddress> <MiddleName>String</MiddleName> <Nickname>String</Nickname> <NoCode21>String</NoCode21> <NoCodeBilledNotShipped>String</NoCodeBilledNotShipped> <PCPremierTag>String</PCPremierTag> <PCTag>String</PCTag> <PastDue>0</PastDue> <PastDue2>0</PastDue2> <PastDue3>0</PastDue3> <PendingOrdersBalance>0</PendingOrdersBalance> <PrimaryPhone>String</PrimaryPhone> <ReinstatedDate>String</ReinstatedDate> <ReinstatedTag>String</ReinstatedTag> <RemovalReason>String</RemovalReason> <RepAccountName>String</RepAccountName> <RepAccountNumber>0</RepAccountNumber> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> <RetireeTag>false</RetireeTag> <SecondaryPhone>String</SecondaryPhone> <ShippingAddress> <AddressLine1>String</AddressLine1> <AddressLine2>String</AddressLine2> <AddressLine3>String</AddressLine3> <City>String</City> <CountryCode>String</CountryCode> <PostalCode>String</PostalCode> <StateCode>String</StateCode> </ShippingAddress> <SocialSecurityNumber>String</SocialSecurityNumber> <TaxExempt>String</TaxExempt> <TermsAcknowledgeDate>0001-01-01T00:00:00</TermsAcknowledgeDate> <TermsVersion>String</TermsVersion> <TotalPastDue>0</TotalPastDue> <UpdatedForCampaign>String</UpdatedForCampaign> <UplineAccount>0</UplineAccount> <UplineName>String</UplineName> <WebPageUrl>String</WebPageUrl> </CallCenterProfileGetResponse>