GET | /profile/{BeeNumber} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BeeNumber | path | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BeeNumber | form | decimal | No | |
CurrentStatus | form | string | No | |
RemovalReason | form | string | No | |
PcTag | form | string | No | |
LabcOwner | form | decimal | No | |
PastDueCode | form | string | No | |
PastDueAmount | form | decimal | No | |
CreditLimit | form | decimal | No | |
CurrentBalance | form | decimal | No | |
SelectiveServiceTag | form | string | No | |
NoCode21 | form | string | No | |
NoCode30 | form | string | No | |
Rep_Acs_ind | form | bool | No | |
CampaignDoubleDollars | form | decimal | No | |
CampaignAwardSales | form | decimal | No | |
CycletoDateDoubleDollars | form | decimal | No | |
CycletoDateAwardSales | form | decimal | No | |
PendingOrdersBalance | form | decimal | No | |
HyperwalletAccountStatus | form | string | No | |
ResponseStatus | form | ResponseStatus | No | |
AmountDue | form | decimal? | No | |
LastPaymentAmount | form | decimal? | No | |
LastPaymentDate | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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 }