Page tree

Variable NameVariable TypeValue lengthVariable usage/descriptionVisible in TIXnGO app / ticket (Yes/No)If yes, add screenshotVariable Name

Required by TIXnGO API?
(Mandatory fields)


Set in SecuTix (Injection Batch or comfort variable)?SecuTix Mapped Comfort Variable CodeOverwritable by SecuTix's Ticket Template Editor?

Can be overwritten via new injection?

(Event Data)

ticketslist
The list of Tickets to be injected. every ticket can hold the entire set of parameters displayed in 2.

tickets

Source https://developer.tixngo.io/api.html#api-Default-organizerTicketsPost 

Required: event,purchaseDetails,security,spectatorDetails,ticketId

Set systematically by Injection Batchn/ano
activationParametersobject
The parameters defining the access control method and details. An activated ticket display its barcode; before activation the barcode is encrypted.

activationParametersRequiredyesn/ayes
activationParameters.groupIdstring50 charThe activation group to which the ticket belongs to. Tickets sharing the same activation id will have the same activation method & decryption code.

activationParameters.groupId
no TIXRGrpyes
activationParameters.methodstring"online"/"offline"The method using to activate the ticket. online : when activationTime is reached (backend clock), the backend activates the tickets and sends push notifications to trigger a GET /spectator/tickets on the app. offline: the mobile application activates the tickets when time is reaches (mobile clock).
Online requires the user to be online, Offline does not.
More on Ticket activation: 5-Understanding TIXnGO Activation flow


activationParameters.methodRequiredSet systematically by Injection Batchn/ayes
activationParameters.timestringDate follows RFC 3339 standardIf online is chosen, define the time at which the tickets are activated (decrypted).

activationParameters.time
Comfort VariableTIXActyes
activationParameters.instanceIdstring128 charIf offline is chosen, define the bluetooth instance id that the mobile app should listen to to get the decryption key.

activationParameters.instanceId
non/ayes
imagestring256 charThe uri to the image that will be displayed to the user with its ticket. It must have a width:length ratio of X:Y (to be defined). (displayed on the "Ticket" view).


image
Comfort VariableTIXImgyes
eventobject
The Event the Ticket gives access to.

eventRequired: address,id,name,startTimeyesn/ano
event.idstring256 charID representing the event (unique).

event.idRequiredSet systematically by Injection Batchn/ano
event.addressobject
The Event's Address

event.addressRequired: city,countryCode,site,zipSet systematically by Injection Batchn/anoYES
event.address.sitestring200 charName of the site the Event will take place.

event.address.siteRequiredSet systematically by Injection Batchn/ayesYES
event.address.line1string200 charAddress line 1

event.address.line1
Set systematically by Injection Batchn/ayesYES
event.address.line2string200 charAddress line 2

event.address.line2
Set systematically by Injection Batchn/ayesYES
event.address.line3string200 charAddress line 3

event.address.line3
Set systematically by Injection Batchn/ayesYES
event.address.citystring200 charCity where the event takes place

event.address.cityRequiredSet systematically by Injection Batchn/ayesYES
event.address.countryCodestring200 charCountry code for the Address

event.address.countryCodeRequiredSet systematically by Injection Batchn/ayesYES
event.address.regionstring200 charRegion where the Event takes place

event.address.region
Set systematically by Injection Batchn/ayesYES
event.address.zipstring50 charZip code where the Event takes place

event.address.zipRequiredSet systematically by Injection Batchn/ayesYES
event.address.longitudedoubledoubleLongitude where the Event takes place

event.address.longitude
Set systematically by Injection Batchn/a-yesYES
event.address.latitudedoubledoubleLatitude where the Event takes place

event.address.latitude
Set systematically by Injection Batchn/ayesYES
event.namestring128 charName of the Event

event.nameRequiredSet systematically by Injection Batchn/ayes
event.name2string128 charSecond name of the Event (optional)

event.name2
non/ayes
event.websitestring128 charWebsite URL of the Event.

event.website
Comfort VariableTIXUrlyes
event.startTimestringDate follows RFC 3339 standardTime at which the event starts. Used for app logic such as reminders etc...

Date Format: 2022-12-12T16:11:00Z




event.startTimeRequiredComfort VariableTIXStartno
event.expirationDatestringDate follows RFC 3339 standardTime at which the event expire. Expired event cannot be used anymore.

event.expirationDate
non/ano
event.bluetoothPreparationRibbonDisplayTimestringDate follows RFC 3339 standardTime at which a ribbon displays on the mobile app to notify spectator turn on Bluetooth on the phone

event.bluetoothPreparationRibbonDisplayTime




event.bluetoothPreparationRibbonEndTimestringDate follows RFC 3339 standardTime at which a ribbon disappear on the mobile app

event.bluetoothPreparationRibbonEndTime




event.metadatalistlist of key-value metadata

Specific "key-value" fields provided to Organizer for special information about the event.
For now we handle the reserved keys below. You can override all those keys if you put them (same name, case sensitive) in the ticket details hidden section of the ticket.

 Reserved Keys :

  • BARCODE_SIZE: value = Size of the barcode display on the Ticket (16 < x < 32) [mm]
  • BARCODE_POSITION: value = Position of the barcode on the Ticket (LEFT, CENTER, RIGHT)
  • RESALE_TICKETSHOP_URL: value = URL of ticket shop that use to resale a ticket (must include http or https)
  • CANCEL_RESALE_TICKETSHOP_URL: value = URL of ticket shop that use to cancel a ticket (must include http or https)
  • prohibited_items_image: value = URL of the prohibited items image
  • prohibited_items_link: value = URL of the prohibited items link
  • sponsorImage: value = URL of the sponsors image
  • sponsorLink: value = URL of the sponsors link
  • seat_map_image: value = URL of the seat map image
  • seat_map_link: value = URL of the seat map link

  • enable_covid_check: value = Enable or Disable COVID check functionality for given event
  • EVENT_NUMBER: value = number of the event


event.metadataRequired (if used): key,valuenon/ano
(note that to overwrite those meta data at the ticket level, please use the hidden object with the same key value pair)

event.groupobject
Group the Event belongs to. In TIXnGO multiple events can be grouped together (ex: The same competition could have multiple events).


event.group
non/ano
event.group.idstring256 charId of the Group. Every Event with this Group ID will be part of that Group.

event.group.id
non/ano
event.group.namestring128 charName of the Group.

event.group.name
non/ano
event.group.imagestring256 charThe Image of the Group (displayed on the "My Events" view).

event.group.image
non/ano
proofOfIdentityobject
The informations needed to verify the authenticity of the organizer identity.

proofOfIdentityRequired (if used): publicKey,signedMessageSet systematically by Injection Batchn/ayes
proofOfIdentity.publicKeystring256 charThe webRootUrl of the organizer. A request on _tixngo.publicKey should give us the organizer public key used to verify the signature.

proofOfIdentity.publicKeyRequiredSet systematically by Injection Batchn/ayes
proofOfIdentity.signedMessagestring256 charSignature of the message (which is a concatenation of different fields. it is available in the documentation).

proofOfIdentity.signedMessageRequiredSet systematically by Injection Batchn/ayes
purchaseDetailsobject
The information related to the initial purchase of the ticket.

purchaseDetailsRequired: date,price,priceCategory,taxationNumberSet systematically by Injection Batchn/ayes
purchaseDetails.pricedoubledoubleThe Ticket's price.

purchaseDetails.priceRequiredSet systematically by Injection Batchn/ayes
purchaseDetails.currencystring20 charThe currency used in the transaction using ISO-4217 standard (example: CHF, VND, USD).

purchaseDetails.currency
Set systematically by Injection Batchn/ayes
purchaseDetails.datestringDate follows RFC 3339 standardThe date at which the Ticket was initially bought.

purchaseDetails.dateRequiredSet systematically by Injection Batchn/ano
purchaseDetails.priceCategorystring512 charExamples of price category are adult, child, student, senior, VIP, etc.

purchaseDetails.priceCategoryRequiredSet systematically by Injection Batchn/ayes
purchaseDetails.taxationNumberstring512 char(UUID) taxation number of the Ticket.

purchaseDetails.taxationNumberRequiredSet systematically by Injection Batchn/ano
contingentstring256 char

Contingent of a ticket, examples: General Public, host cities, PNA, season tickets, etc.

It is used in Admin Tool to search for tickets belonging to this contingent OR filtering tickets while generating reports 



contingent
non/ayes
ticketDetailsobject
Some supplementary details about the Ticket.

ticketDetails
Set by Injection Batch Configurationn/ayes
ticketDetails.mainlistlist of key-value metadataFree "key-value" fields usually used to define spectator seating information such as: gate:A, row:2, seat:7 (Displayed on the "front" of the Ticket).

ticketDetails.mainRequired (if used): key,valueSet by Injection Batch Configurationn/ayes
ticketDetails.extralistlist of key-value metadata

Free "key-value" fields usually used to define extra information (Displayed on the "back" of the Ticket).

Reserved Keys :

file_id : optional field set by the Organizer at injection.



ticketDetails.extraRequired (if used): key,valueSet by Injection Batch Configurationn/ayes
ticketDetails.hiddenlistlist of key-value metadata

Free "key-value" fields usually used to add hidden information, ex: used between Organizer and TIXnGO (Not displayed on the Ticket).

Reserved Keys :

transfer_extra : optional field set by the sender during a ticket transfer in transferOrder.extra

background_color : optional field set by the Organizer at injection. Define the background color of the ticket.

hosp_room: optional field set by the Organizer at injection. Define the hospitality room of the ticket.

show_price: optional field set by the Organizer at injection. Define to show or not show the price on ticket extra 

at_icon: optional field set by the Organizer at injection. Define to show extra icon on the top-left of ticket layout

ticketDetailMainNotInBoxes: optional field set by the Organizer at injection. Define how many fields (of ticketDetails.main) that will not stay in boxes (count from the last one)

specialColor: optional field set by the Organizer at injection. Define the horizontal stripe color on QRcode part ticket layout

Furthermore, you can override the all the event.metadata keys on a per ticket level.



ticketDetails.hiddenRequired (if used): key,valueSet by Injection Batch Configurationn/ayes
securityobject
The Ticket's security information, used by the access control and to enter the event.

securityRequired: barcodeSet systematically by Injection Batchn/ano
security.barcodestring512 charBarcode of the Ticket.

security.barcodeRequiredSet systematically by Injection Batchn/ano
security.clearanceLevelintegerintegerClearance level of the ticket. If 1 is chosen: the organizer require the spectator to provide its name,surname,gender. If 2 is chosen, then all field of SpectatorIdentity are required except for the passport and idcard number, only one of them is required.

security.clearanceLevel
Set systematically by Injection Batchn/ano
spectatorDetailsobject
The information that will be used to link the ticket to a spectator (the ticket's buyer) in our system. We call this spectator the Initial spectator.


spectatorDetailsRequired: email,firstName,lastNameSet systematically by Injection Batchn/ayes
spectatorDetails.residenceCountrystringISO Alpha-2 formatInitial spectator's residence country.

spectatorDetails.residenceCountry




spectatorDetails.phoneNumberstring50 charInitial spectator's phone number.

spectatorDetails.phoneNumber
Set systematically by Injection Batchn/ayes
spectatorDetails.emailstring256 charInitial spectator's email.

spectatorDetails.emailRequiredSet systematically by Injection Batchn/ayes
spectatorDetails.firstNamestring50 char

Initial spectator's first name.



spectatorDetails.firstNameRequiredSet systematically by Injection Batchn/ayes
spectatorDetails.lastNamestring100 charInitial spectator's last name.

spectatorDetails.lastNameRequiredSet systematically by Injection Batchn/ayes
spectatorDetails.genderstring1 char (m/f/u/x)Initial spectator's gender. m, f, u or x (For Male, Female, Other, Unknown)

spectatorDetails.gender
Set systematically by Injection Batchn/ayes
spectatorDetails.dateOfBirthstringDate follows RFC 3339 standardInitial spectator's birth date.

spectatorDetails.dateOfBirth
Set systematically by Injection Batchn/ayes
spectatorDetails.nationalitystringISO Alpha-2 formatInitial spectator's nationality.

spectatorDetails.nationality
Set systematically by Injection Batchn/ayes
spectatorDetails.passportNumberstring200 charInitial spectator's passport number.

spectatorDetails.passportNumber
Set systematically by Injection Batchn/ayes
spectatorDetails.idCardNumberstring200 charInitial spectator's ID card number.

spectatorDetails.idCardNumber
Set systematically by Injection Batchn/ayes
spectatorDetails.spectatorStatusstring"Activated" / "Not activatied"If the initial spectator is registered in the TIXnGO system.

spectatorDetails.spectatorStatus
non/ayes
spectatorDetails.ticketHolderobject
Used to show that this Ticket is held for someone else on the Initial spectator's phone.

spectatorDetails.ticketHolderRequired (if used): identitySet systematically by Injection Batchn/ayes
spectatorDetails.ticketHolder.identityobject
Ticket Holder's identity. (The name "Ticket Holder" might by confusing, this is the person for whom the ticket is held).

spectatorDetails.ticketHolder.identityRequired (if used): firstName,gender,lastNamenon/ayes
spectatorDetails.ticketHolder.identity.firstNamestring50 charTicket Holder's first name.

spectatorDetails.ticketHolder.identity.firstNameRequired non/ayes
spectatorDetails.ticketHolder.identity.lastNamestring100 charTicket Holder's last name.

spectatorDetails.ticketHolder.identity.lastNameRequired non/ayes
spectatorDetails.ticketHolder.identity.genderstring1 char (m/f/u/x)Ticket Holder's gender m, f, u or x(For Male, Female, Other, Unknown)

spectatorDetails.ticketHolder.identity.genderRequired non/ayes
spectatorDetails.ticketHolder.identity.dateOfBirthstringDate follows RFC 3339 standardTicket Holder's birth date.

spectatorDetails.ticketHolder.identity.dateOfBirth
non/ayes
spectatorDetails.ticketHolder.identity.nationalitystringISO Alpha-2 formatTicket Holder's nationality.

spectatorDetails.ticketHolder.identity.nationality
non/ayes
spectatorDetails.ticketHolder.identity.passportNumberstring200 charTicket Holder's passport number.

spectatorDetails.ticketHolder.identity.passportNumber
non/ayes
spectatorDetails.ticketHolder.identity.idCardNumberstring200 charTicket Holder's ID card number.

spectatorDetails.ticketHolder.identity.idCardNumber
non/ayes
spectatorDetails.ticketHolder.identity.emailstring256 char

Ticket Holder's email.



spectatorDetails.ticketHolder.identity.email
non/ayes
spectatorDetails.ticketHolder.identity.phoneNumberstring50 charTicket Holder's phone number.

spectatorDetails.ticketHolder.identity.phoneNumber
non/ayes
spectatorDetails.ticketHolder.identity.birthCitystring50 charTicket Holder's birth city.

spectatorDetails.ticketHolder.identity.birthCity
non/ayes
spectatorDetails.ticketHolder.identity.birthCountrystringISO Alpha-2 formatTicket Holder's birth country.

spectatorDetails.ticketHolder.identity.birthCountry
non/ayes
spectatorDetails.ticketHolder.identity.residenceCountrystringISO Alpha-2 formatTicket Holder's residence country.

spectatorDetails.ticketHolder.identity.residenceCountry
non/ayes
spectatorDetails.ticketHolder.identity.addressobject
Ticket Holder's address.

spectatorDetails.ticketHolder.identity.addressRequired (if used): city,countryCode,line1,zipnon/ayes
spectatorDetails.ticketHolder.identity.address.line1string200 charTIcket Holder's address line 1.

spectatorDetails.ticketHolder.identity.address.line1Required non/ayes
spectatorDetails.ticketHolder.identity.address.line2string200 charTicket Holder's address line 2.

spectatorDetails.ticketHolder.identity.address.line2
non/ayes
spectatorDetails.ticketHolder.identity.address.line3string200 charTicket Holder's address line 3.

spectatorDetails.ticketHolder.identity.address.line3
non/ayes
spectatorDetails.ticketHolder.identity.address.citystring200 charTicket Holder's residence city.

spectatorDetails.ticketHolder.identity.address.cityRequired non/ayes
spectatorDetails.ticketHolder.identity.address.countryCodestring200 charTicket Holder's country code.

spectatorDetails.ticketHolder.identity.address.countryCodeRequired non/ayes
spectatorDetails.ticketHolder.identity.address.zipstring50 charTicket Holder's zip code.

spectatorDetails.ticketHolder.identity.address.zipRequired non/ayes
spectatorDetails.ticketHolder.extraInfo1string100 charFree field of extra info about the Ticket Holder.

spectatorDetails.ticketHolder.extraInfo1
non/ayes
spectatorDetails.ticketHolder.extraInfo2string100 charSecond free field of extra info about the Ticket Holder.

spectatorDetails.ticketHolder.extraInfo2
non/ayes
spectatorDetails.ticketHolder.reasonstring512 charReason of why the assignment happen. Can be modified later by the spectator. (Optional)

spectatorDetails.ticketHolder.reason




spectatorDetails.organizerSpectatorPreferenceobject
Contains all spectator preferences concerning promo emails and tracking.

spectatorDetails.organizerSpectatorPreferenceRequired (if used): allowPromoEmail,allowPromoThirdPartyEmail,allowTrackingnon/ano
spectatorDetails.organizerSpectatorPreference.allowPromoEmailbooleanbooleanDefault false. Spectator accept promotional email from TIXnGO.

spectatorDetails.organizerSpectatorPreference.allowPromoEmailRequired non/ayes
spectatorDetails.organizerSpectatorPreference.allowPromoThirdPartyEmail
booleanbooleanDefault false. Spectator accept promotional email from Third-Party.

spectatorDetails.organizerSpectatorPreference.allowPromoThirdPartyEmail
Required non/ayes
spectatorDetails.organizerSpectatorPreference.allowTrackingbooleanbooleanDefault false. Spectator accept to be tracked and data matching.

spectatorDetails.organizerSpectatorPreference.allowTrackingRequired non/ayes
ticketIdstring256 charTicket ID differentiating each ticket. It must be unique (UUID).

ticketIdRequirednon/ano
langstring5 char ISO 639‑1 formatThe default language for the Ticket. Injection communications will be sent in this language. Example: fr, en, de, it, es

lang
non/ayes
transferRulesobject
All of the Ticket's transfer rules.

transferRules


no
transferRules.groupIdstring256 charTransfer rules can technically be different for every ticket. Organizer might want to chose to have different transfer rules for different types of ticket (ex: Adult, child, VIP, etc…). This GroupID is the Transfer rules group ID representing a group of transfer rules applied to certain tickets. If Organizers want to apply the same rules to every tickets, by default this groupID is set to the EventID and every ticket will be in this group.

transferRules.groupId
Comfort VariableTIXRGrpyes
transferRules.maxNumberOfTicketPerPhoneInGroupIdintegerintegerMaximum amount of tickets per phone for this Transfer rules group id.

transferRules.maxNumberOfTicketPerPhoneInGroupId
Comfort VariableTIXRTkPhyes
transferRules.maxResellPriceIncreaseintegersmallintMaximum profit (price increase in %) of the orignial ticket price for a resell between spectator.

transferRules.maxResellPriceIncrease
Comfort VariableTIXRRslIyes
transferRules.maxNumberOfTransferPerPhoneInGroupId
integerintegerTotal amount of transfers per Phone (-1 feature is disabled).

transferRules.maxNumberOfTransferPerPhoneInGroupId

Comfort VariableTIXRTrPhyes
transferRules.maxNumberOfTransferPerTicketInGroupIdintegerintegerTotal amount of transfers per Ticket (-1 feature is disabled).

transferRules.maxNumberOfTransferPerTicketInGroupId
Comfort VariableTIXRTrTkyes
transferRules.assignTransferLimitintegerintegerDefine upper bound of ticket's transfer level for the "Assign" function

transferRules.assignTransferLimit




transferRules.allowTransferbooleanbooleanEnables or Disables transfer functionality for given match (Send menu item in the ticket view hidden or displayed).

transferRules.allowTransfer
Comfort VariableTIXRTrnyes
transferRules.allowTransferMainApplicantbooleanbooleanEnable or Disable transfer functionnality for Main Applicant ticket's.

transferRules.allowTransferMainApplicant




transferRules.allowTransferAfterActivationbooleanbooleanEnables or Disables transfer functionality for given match for Activated Tickets (Send menu item in the ticket view hidden or displayed).

transferRules.allowTransferAfterActivation
Comfort VariableTIXRTrnAyes
transferRules.allowTransferAfterControlbooleanbooleanEnables or Disables transfer functionality for given match for Controlled Tickets (Send menu item in the ticket view hidden or displayed).

transferRules.allowTransferAfterControl
non/ayes
transferRules.allowReturnToOrganizerbooleanbooleanAllow to release ticket to resale / allow ticket shop resale

transferRules.allowReturnToOrganizer




transferRules.allowReturnToOrganizerForInitialSpectatorbooleanbooleanOnly Initial Spectator can release ticket to resale

transferRules.allowReturnToOrganizerForInitialSpectator




transferRules.keepOneInGroupIdbooleanbooleanForce ALL ticket wallet holders to keep at least 1 ticket per given Match.

transferRules.keepOneInGroupId
Comfort VariableTIXRKp1yes

transferRules.keepOneAtInjectInGroupId

booleanbooleanForce ticket wallet holder to whom tickets were originally injected to keep at least 1 ticket per given Match. E.g. all his transfer guests will be able to forward all the tickets they received.

transferRules.keepOneAtInjectInGroupId


Comfort VariableTIXRKp1Iyes
design.idstring256 charThe Design Id applies to the ticket.

design.id


no
design.backgroundColorstring7 char hexadecimal color codeThe background color of the corresponding design.

design.backgroundColor


no
ticketInjectionDatestringDate follows RFC 3339 standardThe date at which the ticket was injected.

ticketInjectionDate
non/ano
mainApplicantbooleanbooleanOptional Main Applicant flag (SecuTix)

mainApplicant


no
sortingKeystring256 charA key to sort the tickets in the spectator view. The tickets will be sorted according to this key in alphabetical order.

sortingKey


no
mobileAppIdstring256 charMandatory Mobile Application App Id to use associated invitation email template (used by organizer using their own app or branded apps).

mobileAppIdRequirednon/ano
validatebooleanbooleanFlag to only validate tickets and not injecting them for real. It does not test interraction with the blockchain.

validate
non/ano