GET | /profile/{BeeNumber} |
---|
export class ProfileGetResponse
{
public beeNumber?: number;
public currentStatus?: string;
public removalReason?: string;
public pcTag?: string;
public labcOwner?: number;
public pastDueCode?: string;
public pastDueAmount?: number;
public creditLimit?: number;
public currentBalance?: number;
public selectiveServiceTag?: string;
public noCode21?: string;
public noCode30?: string;
public rep_Acs_ind?: boolean;
public campaignDoubleDollars?: number;
public campaignAwardSales?: number;
public cycletoDateDoubleDollars?: number;
public cycletoDateAwardSales?: number;
public pendingOrdersBalance?: number;
public hyperwalletAccountStatus?: string;
public responseStatus?: ResponseStatus;
public amountDue?: number;
public lastPaymentAmount?: number;
public lastPaymentDate?: string;
public constructor(init?: Partial<ProfileGetResponse>) { (Object as any).assign(this, init); }
}
export class ProfileGet implements IGet
{
public beeNumber?: number;
public constructor(init?: Partial<ProfileGet>) { (Object as any).assign(this, init); }
}
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 }