GET | /profile/{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 ProfileGet
Implements IGet
Public Overridable Property BeeNumber As Decimal
End Class
Public Partial Class ProfileGetResponse
Public Overridable Property BeeNumber As Decimal
Public Overridable Property CurrentStatus As String
Public Overridable Property RemovalReason As String
Public Overridable Property PcTag As String
Public Overridable Property LabcOwner As Decimal
Public Overridable Property PastDueCode As String
Public Overridable Property PastDueAmount As Decimal
Public Overridable Property CreditLimit As Decimal
Public Overridable Property CurrentBalance As Decimal
Public Overridable Property SelectiveServiceTag As String
Public Overridable Property NoCode21 As String
Public Overridable Property NoCode30 As String
Public Overridable Property Rep_Acs_ind As Boolean
Public Overridable Property CampaignDoubleDollars As Decimal
Public Overridable Property CampaignAwardSales As Decimal
Public Overridable Property CycletoDateDoubleDollars As Decimal
Public Overridable Property CycletoDateAwardSales As Decimal
Public Overridable Property PendingOrdersBalance As Decimal
Public Overridable Property HyperwalletAccountStatus As String
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property AmountDue As Nullable(Of Decimal)
Public Overridable Property LastPaymentAmount As Nullable(Of Decimal)
Public Overridable Property LastPaymentDate As Nullable(Of Date)
End Class
End Namespace
End Namespace
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 /profile/{BeeNumber} HTTP/1.1 Host: extensions.avon.ca Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"beeNumber":0,"currentStatus":"String","removalReason":"String","pcTag":"String","labcOwner":0,"pastDueCode":"String","pastDueAmount":0,"creditLimit":0,"currentBalance":0,"selectiveServiceTag":"String","noCode21":"String","noCode30":"String","rep_Acs_ind":false,"campaignDoubleDollars":0,"campaignAwardSales":0,"cycletoDateDoubleDollars":0,"cycletoDateAwardSales":0,"pendingOrdersBalance":0,"hyperwalletAccountStatus":"String","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"amountDue":0,"lastPaymentAmount":0,"lastPaymentDate":"0001-01-01T00:00:00.0000000"}