Current Loyalty session token, represents a 'signed-in' member
Vista Digital Platform (V1)
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/ticket-redemption-cards
- cURL
- JavaScript
- Node.js
curl -i -X GET \
https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/members/current/ticket-redemption-cards \
-H 'Connect-Region-Code: string' \
-H 'loyaltySessionToken: string'Success
Gets the list of member ticket redemption card base entities
Gets the type
Gets the unique identifier of the subscription the card is linked to
Gets the unique identifier of the member friend that the card belongs to
Gets the current status
Gets a masked representation of the card number
Gets the related data for the member ticket redemption card base entities
Gets the subscriptions
Gets the name text, and its translations
Gets the text in the default language
Gets the translations of the translatable Text in other languages
Gets the minimum number of number of months required for the subscription term
{ "ticketRedemptionCards": [ { … } ], "relatedData": { "subscriptions": [ … ] } }
Request
This endpoint validates the provided third party member card credentials or member ticket redemption card base and stores a successfully validated card against the order for later use.
For third party member card entities belonging to a third party member scheme that supports partial approvals, an arbitrarily large number of tickets will be requested to determine how many redemptions are actually available.
For third party member card entities belonging to a third party member scheme that does not support partial approvals, the number of tickets requested will depend on a preconfigured quantity per showtime, or only one ticket if no quantity has been configured.
This endpoint cannot be used for orders that have a parent order (see standard order ParentOrderId)
- Vista.Ocapi
- application/json
- text/json
- application/*+json
- application/json-patch+json
The details of the ticket redemption card to be added
Represents the information required to add a member ticket redemption card base to an in progress standard order
Gets the unique identifier of the member ticket redemption card base
Gets the type
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/ticket-redemption-cards
- cURL
- JavaScript
- Node.js
- application/json
- text/json
- application/*+json
- application/json-patch+json
curl -i -X POST \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/ticket-redemption-cards' \
-H 'Connect-Region-Code: string' \
-H 'Content-Type: application/json' \
-H 'loyaltySessionToken: string' \
-d '{
"credentials": {
"cardNumber": "string",
"thirdPartyMemberSchemeId": "string"
},
"type": "ThirdPartyMemberCard",
"ticketTypeId": "string",
"showtimeId": "string"
}'Success
Represents the base properties of a ticket redemption card base that has been added to a standard order
Represents a member subscription card that has been added to a standard order
Gets the type
Gets the unique identifier that can be used to uniquely identify the card within the standard order
Gets the unique identifier of the subscription the card is linked to
Gets a masked representation of the card number
Gets the maximum number of tickets that can be redeemed for the particular showtime
Gets the list of order ticket redemption card ticket type availability entities
Represents a limited or unlimited quantity
{ "ticketRedemptionCard": { "type": "MemberSubscriptionCard", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "subscriptionId": 0, "maskedCardNumber": "12.......6789", "memberName": { … } }, "redemptionLimit": { "isUnlimited": true, "maximum": 0, "minimum": 0 }, "ticketTypeAvailabilities": [ { … } ] }