NAV

<back to all web services

CallCenterProfileGet

The following routes are available for this service:
GET/call-center/profile/{BeeNumber}
GET/call-center/profiles/{BeeNumber}
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports NAV.ServiceModel

Namespace Global

    Namespace NAV.ServiceModel

        Public Partial Class CallCenterAddress
            Public Overridable Property AddressLine1 As String
            Public Overridable Property AddressLine2 As String
            Public Overridable Property AddressLine3 As String
            Public Overridable Property City As String
            Public Overridable Property StateCode As String
            Public Overridable Property PostalCode As String
            Public Overridable Property CountryCode As String
        End Class

        Public Partial Class CallCenterProfileGet
            Implements IGet
            Public Overridable Property BeeNumber As Decimal
        End Class

        Public Partial Class CallCenterProfileGetResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property FullName As String
            Public Overridable Property FirstName As String
            Public Overridable Property MiddleName As String
            Public Overridable Property LastName As String
            Public Overridable Property BeeNumber As Nullable(Of Decimal)
            Public Overridable Property AccountStatus As String
            Public Overridable Property CollectionTag As String
            Public Overridable Property ReinstatedTag As String
            Public Overridable Property ReinstatedDate As String
            Public Overridable Property PrimaryPhone As String
            Public Overridable Property SecondaryPhone As String
            Public Overridable Property Loa As Nullable(Of Decimal)
            Public Overridable Property AccountType As String
            Public Overridable Property AmountDue As Nullable(Of Decimal)
            Public Overridable Property Birthday As Nullable(Of Date)
            Public Overridable Property Language As String
            Public Overridable Property MailingAddress As CallCenterAddress
            Public Overridable Property ShippingAddress As CallCenterAddress
            Public Overridable Property ApptDate As Nullable(Of Date)
            Public Overridable Property AppointmentCampYear As String
            Public Overridable Property UplineAccount As Nullable(Of Decimal)
            Public Overridable Property UplineName As String
            Public Overridable Property AwardSalesCurrentCamp As Nullable(Of Decimal)
            Public Overridable Property AwardSalesPriorCamp As Nullable(Of Decimal)
            Public Overridable Property AwardSalesCurrentCycle As Nullable(Of Decimal)
            Public Overridable Property AwardSalesPriorCycle As Nullable(Of Decimal)
            Public Overridable Property AwardSalesCurrentBonus As Nullable(Of Decimal)
            Public Overridable Property AwardSalesPriorBonus As Nullable(Of Decimal)
            Public Overridable Property AwardSalesPreviousCamp As Nullable(Of Decimal)
            Public Overridable Property BonusSalesPreviousCamp As Nullable(Of Decimal)
            Public Overridable Property LastPaymentDate As Nullable(Of Date)
            Public Overridable Property LastPaymentAmount As Nullable(Of Decimal)
            Public Overridable Property TotalPastDue As Nullable(Of Decimal)
            Public Overridable Property PastDue As Nullable(Of Decimal)
            Public Overridable Property PastDue2 As Nullable(Of Decimal)
            Public Overridable Property PastDue3 As Nullable(Of Decimal)
            Public Overridable Property CurrentBalance As Nullable(Of Decimal)
            Public Overridable Property AwardSalesTier As String
            Public Overridable Property NoCodeBilledNotShipped As String
            Public Overridable Property CreditCardPaymentAllowed As String
            Public Overridable Property TermsVersion As String
            Public Overridable Property TermsAcknowledgeDate As Nullable(Of Date)
            Public Overridable Property CoApplicantName As String
            Public Overridable Property CoApplicantSsn As String
            Public Overridable Property CoApplicantBirthday As Nullable(Of Date)
            Public Overridable Property CoApplicantRelation As String
            Public Overridable Property UpdatedForCampaign As String
            Public Overridable Property CreditLimit As Nullable(Of Decimal)
            Public Overridable Property DirectDepositPaymentsTag As Nullable(Of Boolean)
            Public Overridable Property LeadershipTag As String
            Public Overridable Property LeadershipLevel As String
            Public Overridable Property PCTag As String
            Public Overridable Property PCPremierTag As String
            Public Overridable Property DeceasedTag As String
            Public Overridable Property EmailAddress As String
            Public Overridable Property Nickname As String
            Public Overridable Property WebPageUrl As String
            Public Overridable Property LegalDateOfEnrollment As Nullable(Of Date)
            Public Overridable Property DeliveryMethod As String
            Public Overridable Property SocialSecurityNumber As String
            Public Overridable Property IsNewLeadershipLevel As String
            Public Overridable Property IsNewRecognitionLevel As String
            Public Overridable Property DisabilityTag As String
            Public Overridable Property RetireeTag As Nullable(Of Boolean)
            Public Overridable Property LABCTag As String
            Public Overridable Property RemovalReason As String
            Public Overridable Property RepAccountNumber As Nullable(Of Decimal)
            Public Overridable Property RepAccountName As String
            Public Overridable Property NoCode21 As String
            Public Overridable Property TaxExempt As String
            Public Overridable Property PendingOrdersBalance As Decimal
        End Class
    End Namespace
End Namespace

VB.NET CallCenterProfileGet DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + 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>