- eventticketclass
- eventticketobject
- /walletobjects/v1/eventTicketObjectGET
- /walletobjects/v1/eventTicketObjectPOST
- /walletobjects/v1/eventTicketObject/{resourceId}GET
- /walletobjects/v1/eventTicketObject/{resourceId}PATCH
- /walletobjects/v1/eventTicketObject/{resourceId}PUT
- /walletobjects/v1/eventTicketObject/{resourceId}/addMessagePOST
- /walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjectsPOST
- flightclass
- flightobject
- giftcardclass
- giftcardobject
- issuer
- jwt
- loyaltyclass
- loyaltyobject
- /walletobjects/v1/loyaltyObject
- /walletobjects/v1/loyaltyObject
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}
- /walletobjects/v1/loyaltyObject/{resourceId}/addMessage
- /walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects
- offerclass
- offerobject
- permissions
- smarttap
- transitclass
- transitobject
- valuablesclasses
- walletobjects
/walletobjects/v1/eventTicketObject/{resourceId}/addMessage
POST
/walletobjects/v1/eventTicketObject/{resourceId}/addMessage
eventticketobject
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://walletobjects.googleapis.com//walletobjects/v1/eventTicketObject//addMessage' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
Request
Path Params
resourceId
string
required
Body Params application/json
Resource used when the AddMessage endpoints are called.
message
object (Message)
optional
body
string
optional
displayInterval
object (TimeInterval)
optional
startTime
and endTime
for each message. A message is displayed immediately after a Wallet Object is inserted unless a startTime
is set. The message will appear in a list of messages indefinitely if endTime
is not provided.header
string
optional
id
string
optional
kind
string
optional
"walletobjects#walletObjectMessage"
.localizedBody
object (LocalizedString)
optional
localizedHeader
object (LocalizedString)
optional
messageType
enum<string>
optional
Allowed values:
MESSAGE_TYPE_UNSPECIFIEDTEXTtextEXPIRATION_NOTIFICATIONexpirationNotification
Examples
Responses
🟢200Successful response
application/json
Body
resource
object (EventTicketObject)
optional
appLinkData
object (AppLinkData)
optional
barcode
object (Barcode)
optional
classId
string
optional
classReference
object (EventTicketClass)
optional
disableExpirationNotification
boolean
optional
messages
field, expiration notifications to the user will be suppressed. By default, this field is set to false. Currently, this can only be set for offers.faceValue
object (Money)
optional
groupingInfo
object (GroupingInfo)
optional
hasLinkedDevice
boolean
optional
hasUsers
boolean
optional
heroImage
object (Image)
optional
hexBackgroundColor
string
optional
#ffcc00
. You can also use the shorthand version of the RGB triplet which is #rgb, such as #fc0
.id
string
optional
imageModulesData
array[object (ImageModuleData) {2}]
optional
infoModuleData
object (InfoModuleData)
optional
kind
string
optional
"walletobjects#eventTicketObject"
.linkedOfferIds
array[string]
optional
linksModuleData
object (LinksModuleData)
optional
locations
array[object (LatLongPoint) {3}]
optional
messages
array[object (Message) {8}]
optional
reservationInfo
object (EventReservationInfo)
optional
seatInfo
object (EventSeat)
optional
smartTapRedemptionValue
string
optional
state
enum<string>
optional
inactive
object is moved to the "Expired passes" section.Allowed values:
STATE_UNSPECIFIEDACTIVEactiveCOMPLETEDcompletedEXPIREDexpiredINACTIVEinactive
textModulesData
array[object (TextModuleData) {5}]
optional
ticketHolderName
string
optional
ticketNumber
string
optional
ticketType
object (LocalizedString)
optional
validTimeInterval
object (TimeInterval)
optional
active
and object can be used. An object's state will be changed to expired
when this time period has passed.version
string <int64>
optional
Modified at 2022-09-10 16:56:46