GET | /profile/{BeeNumber} |
---|
namespace NAV.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type ProfileGetResponse() =
member val BeeNumber:Decimal = new Decimal() with get,set
member val CurrentStatus:String = null with get,set
member val RemovalReason:String = null with get,set
member val PcTag:String = null with get,set
member val LabcOwner:Decimal = new Decimal() with get,set
member val PastDueCode:String = null with get,set
member val PastDueAmount:Decimal = new Decimal() with get,set
member val CreditLimit:Decimal = new Decimal() with get,set
member val CurrentBalance:Decimal = new Decimal() with get,set
member val SelectiveServiceTag:String = null with get,set
member val NoCode21:String = null with get,set
member val NoCode30:String = null with get,set
member val Rep_Acs_ind:Boolean = new Boolean() with get,set
member val CampaignDoubleDollars:Decimal = new Decimal() with get,set
member val CampaignAwardSales:Decimal = new Decimal() with get,set
member val CycletoDateDoubleDollars:Decimal = new Decimal() with get,set
member val CycletoDateAwardSales:Decimal = new Decimal() with get,set
member val PendingOrdersBalance:Decimal = new Decimal() with get,set
member val HyperwalletAccountStatus:String = null with get,set
member val ResponseStatus:ResponseStatus = null with get,set
member val AmountDue:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val LastPaymentAmount:Nullable<Decimal> = new Nullable<Decimal>() with get,set
member val LastPaymentDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set
[<AllowNullLiteral>]
type ProfileGet() =
interface IGet
member val BeeNumber:Decimal = new Decimal() with get,set
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"}