GET | /call-center/profile/{BeeNumber} | ||
---|---|---|---|
GET | /call-center/profiles/{BeeNumber} |
export class CallCenterAddress
{
public addressLine1?: string;
public addressLine2?: string;
public addressLine3?: string;
public city?: string;
public stateCode?: string;
public postalCode?: string;
public countryCode?: string;
public constructor(init?: Partial<CallCenterAddress>) { (Object as any).assign(this, init); }
}
export class CallCenterProfileGetResponse
{
public responseStatus?: ResponseStatus;
public fullName?: string;
public firstName?: string;
public middleName?: string;
public lastName?: string;
public beeNumber?: number;
public accountStatus?: string;
public collectionTag?: string;
public reinstatedTag?: string;
public reinstatedDate?: string;
public primaryPhone?: string;
public secondaryPhone?: string;
public loa?: number;
public accountType?: string;
public amountDue?: number;
public birthday?: string;
public language?: string;
public mailingAddress?: CallCenterAddress;
public shippingAddress?: CallCenterAddress;
public apptDate?: string;
public appointmentCampYear?: string;
public uplineAccount?: number;
public uplineName?: string;
public awardSalesCurrentCamp?: number;
public awardSalesPriorCamp?: number;
public awardSalesCurrentCycle?: number;
public awardSalesPriorCycle?: number;
public awardSalesCurrentBonus?: number;
public awardSalesPriorBonus?: number;
public awardSalesPreviousCamp?: number;
public bonusSalesPreviousCamp?: number;
public lastPaymentDate?: string;
public lastPaymentAmount?: number;
public totalPastDue?: number;
public pastDue?: number;
public pastDue2?: number;
public pastDue3?: number;
public currentBalance?: number;
public awardSalesTier?: string;
public noCodeBilledNotShipped?: string;
public creditCardPaymentAllowed?: string;
public termsVersion?: string;
public termsAcknowledgeDate?: string;
public coApplicantName?: string;
public coApplicantSsn?: string;
public coApplicantBirthday?: string;
public coApplicantRelation?: string;
public updatedForCampaign?: string;
public creditLimit?: number;
public directDepositPaymentsTag?: boolean;
public leadershipTag?: string;
public leadershipLevel?: string;
public pcTag?: string;
public pcPremierTag?: string;
public deceasedTag?: string;
public emailAddress?: string;
public nickname?: string;
public webPageUrl?: string;
public legalDateOfEnrollment?: string;
public deliveryMethod?: string;
public socialSecurityNumber?: string;
public isNewLeadershipLevel?: string;
public isNewRecognitionLevel?: string;
public disabilityTag?: string;
public retireeTag?: boolean;
public labcTag?: string;
public removalReason?: string;
public repAccountNumber?: number;
public repAccountName?: string;
public noCode21?: string;
public taxExempt?: string;
public pendingOrdersBalance?: number;
public constructor(init?: Partial<CallCenterProfileGetResponse>) { (Object as any).assign(this, init); }
}
export class CallCenterProfileGet implements IGet
{
public beeNumber?: number;
public constructor(init?: Partial<CallCenterProfileGet>) { (Object as any).assign(this, init); }
}
TypeScript 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>