Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
GET | /OwnerCards/{Id} |
---|
export class OwnerCards
{
public id?: number;
public ownerId?: number;
public ownerCardTypeId?: number;
public phoneVerificationId?: number;
public initialMaxTickets?: number;
public currentAvailableTickets?: number;
public timeStampCreatedUTC?: string;
public timeStampLastChangedUTC?: string;
public timeStampBoughtUTC?: string;
public timeStampOrderedUTC?: string;
public cardValidFromUTC?: string;
public cardValidToUTC?: string;
public hasStoreCredit?: boolean;
public cardPrice?: number;
public pricePaid?: number;
public initialStoreCredit?: number;
public currentStoreCredit?: number;
public phoneFullVerificationNumber?: string;
public holderId?: string;
public holderName?: string;
public holderEmail?: string;
public cardPriceCurrency?: string;
public pricePaidCurrency?: string;
public deviceId?: string;
public paymentMethodId?: string;
public paymentReference?: string;
public phoneVerificationNumber?: string;
public paymentPhoneNumber?: string;
public paymentId?: string;
public paymentStatus?: string;
public paymentTokenId?: string;
public maxTicketsPerEvent?: number;
public multiplePaymentsId?: string;
public imageUrl?: string;
public backgroundImageUrl?: string;
public constructor(init?: Partial<OwnerCards>) { (Object as any).assign(this, init); }
}
export class OwnerCardsResult
{
public item?: OwnerCards;
public statusCode?: number;
public message?: string;
public constructor(init?: Partial<OwnerCardsResult>) { (Object as any).assign(this, init); }
}
export class OwnerCardsGetRequest
{
public id?: number;
public constructor(init?: Partial<OwnerCardsGetRequest>) { (Object as any).assign(this, init); }
}
TypeScript OwnerCardsGetRequest 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 /OwnerCards/{Id} HTTP/1.1 Host: stubbur-autoupdates-live.smartnewapis.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"item":{"id":0,"ownerId":0,"ownerCardTypeId":0,"phoneVerificationId":0,"initialMaxTickets":0,"currentAvailableTickets":0,"timeStampCreatedUTC":"0001-01-01T00:00:00.0000000","timeStampLastChangedUTC":"0001-01-01T00:00:00.0000000","timeStampBoughtUTC":"0001-01-01T00:00:00.0000000","timeStampOrderedUTC":"0001-01-01T00:00:00.0000000","cardValidFromUTC":"0001-01-01T00:00:00.0000000","cardValidToUTC":"0001-01-01T00:00:00.0000000","hasStoreCredit":false,"cardPrice":0,"pricePaid":0,"initialStoreCredit":0,"currentStoreCredit":0,"phoneFullVerificationNumber":"String","holderId":"String","holderName":"String","holderEmail":"String","cardPriceCurrency":"String","pricePaidCurrency":"String","deviceId":"String","paymentMethodId":"String","paymentReference":"String","phoneVerificationNumber":"String","paymentPhoneNumber":"String","paymentId":"String","paymentStatus":"String","paymentTokenId":"String","maxTicketsPerEvent":0,"multiplePaymentsId":"String","imageUrl":"String","backgroundImageUrl":"String"},"statusCode":0,"message":"String"}