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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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/json
HTTP/1.1 200 OK Content-Type: application/json 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}