TicketUserServices

<back to all web services

OwnerCardsSoldSearchRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
POST/OwnerCards/Sold
OwnerCardsSoldSearchRequest Parameters:
NameParameterData TypeRequiredDescription
OwnerIdbodyintNo
IncludeInvalidbodyboolNo
OwnerCardsSoldSearchResult Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<OwnerCards>No
StatusCodeformintNo
MessageformstringNo
OwnerCards Parameters:
NameParameterData TypeRequiredDescription
IDformintNo
OwnerIdformintNo
OwnerCardTypeIdformint?No
PhoneVerificationIdformint?No
InitialMaxTicketsformint?No
CurrentAvailableTicketsformint?No
TimeStampCreatedUTCformDateTime?No
TimeStampLastChangedUTCformDateTime?No
TimeStampBoughtUTCformDateTime?No
TimeStampOrderedUTCformDateTime?No
CardValidFromUTCformDateTime?No
CardValidToUTCformDateTime?No
HasStoreCreditformboolNo
CardPriceformdecimalNo
PricePaidformdecimalNo
InitialStoreCreditformdecimal?No
CurrentStoreCreditformdecimal?No
PhoneFullVerificationNumberformstringNo
HolderIdformstringNo
HolderNameformstringNo
HolderEmailformstringNo
CardPriceCurrencyformstringNo
PricePaidCurrencyformstringNo
DeviceIdformstringNo
PaymentMethodIdformstringNo
PaymentReferenceformstringNo
PhoneVerificationNumberformstringNo
PaymentPhoneNumberformstringNo
PaymentIdformstringNo
PaymentStatusformstringNo
PaymentTokenIdformstringNo
MaxTicketsPerEventformint?No
MultiplePaymentsIdformstringNo
ImageUrlformstringNo
BackgroundImageUrlformstringNo

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.

POST /OwnerCards/Sold HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ownerId":0,"includeInvalid":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"items":[{"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"}