TicketUserServices

<back to all web services

OwnerCardsGetRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
GET/OwnerCards/{Id}
import java.math.*
import java.util.*
import net.servicestack.client.*


open class OwnerCardsGetRequest
{
    var id:Int? = null
}

open class OwnerCardsResult
{
    var item:OwnerCards? = null
    var statusCode:Int? = null
    var message:String? = null
}

open class OwnerCards
{
    var id:Int? = null
    var ownerId:Int? = null
    var ownerCardTypeId:Int? = null
    var phoneVerificationId:Int? = null
    var initialMaxTickets:Int? = null
    var currentAvailableTickets:Int? = null
    var timeStampCreatedUTC:Date? = null
    var timeStampLastChangedUTC:Date? = null
    var timeStampBoughtUTC:Date? = null
    var timeStampOrderedUTC:Date? = null
    var cardValidFromUTC:Date? = null
    var cardValidToUTC:Date? = null
    var hasStoreCredit:Boolean? = null
    var cardPrice:BigDecimal? = null
    var pricePaid:BigDecimal? = null
    var initialStoreCredit:BigDecimal? = null
    var currentStoreCredit:BigDecimal? = null
    var phoneFullVerificationNumber:String? = null
    var holderId:String? = null
    var holderName:String? = null
    var holderEmail:String? = null
    var cardPriceCurrency:String? = null
    var pricePaidCurrency:String? = null
    var deviceId:String? = null
    var paymentMethodId:String? = null
    var paymentReference:String? = null
    var phoneVerificationNumber:String? = null
    var paymentPhoneNumber:String? = null
    var paymentId:String? = null
    var paymentStatus:String? = null
    var paymentTokenId:String? = null
    var maxTicketsPerEvent:Int? = null
    var multiplePaymentsId:String? = null
    var imageUrl:String? = null
    var backgroundImageUrl:String? = null
}

Kotlin 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

HTTP + JSON

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"}