CreateTransitDto
stripstring<binary>obligatoire
termsstringobligatoire
customerServiceNumberstring
originStationCodestringobligatoire
originNamestringobligatoire
destinationStationCodestringobligatoire
destinationNamestringobligatoire
departureTimestringobligatoire
Valeurs possibles : La valeur doit respecter l'expression régulière ^([01]\d|2[0-3]):([0-5]\d)(Z|([+-]([01]\d|2[0-3]):[0-5]\d))?$
arrivalTimestringobligatoire
Valeurs possibles : La valeur doit respecter l'expression régulière ^([01]\d|2[0-3]):([0-5]\d)(Z|([+-]([01]\d|2[0-3]):[0-5]\d))?$
tarifstring
detailsstringobligatoire
numbernumberobligatoire
typestringobligatoire
Valeurs possibles : [Bus, Boat, Train, Air, Generic, Tram]
gateNamestring
Valeurs possibles : [N_CABINE, N_VOYAGE, PLAQUE]
seatNamestring
Valeurs possibles : [N_CABINE, N_VOYAGE, PLAQUE]
emailSubscriptionMessagestring
subscriptionMessagestring
barcodeFormatstringobligatoire
Valeurs possibles : [AZTEC, CODE_128, PDF_417, QR_CODE, NONE]
locations object[]
Array [
latitudenumberobligatoire
longitudenumberobligatoire
]
colors objectobligatoire
backgroundColorstringobligatoire
labelColorstringobligatoire
foregroundColorstringobligatoire
security object
enableOneTimeUseboolean
disableIOSPassSharingboolean
disablePassLinkSharingboolean
disableMultipleHoldersboolean
enableSecurityAnimationboolean
enableRotatingBarcodeboolean
displayOptions object
hideTarifboolean
hideStationCodesboolean
hideTripNumberboolean
iosHeader object
labelEnumstringobligatoire
Valeurs possibles : [FULLNAME, CUSTOM_TEXT, TRIP_NUMBER, INACTIVE]
valueEnumstringobligatoire
Valeurs possibles : [FULLNAME, CUSTOM_TEXT, TRIP_NUMBER, INACTIVE]
customLabelstring
customValuestring
CreateTransitDto
{
"strip": "string",
"terms": "string",
"customerServiceNumber": "string",
"originStationCode": "string",
"originName": "string",
"destinationStationCode": "string",
"destinationName": "string",
"departureTime": "string",
"arrivalTime": "string",
"tarif": "string",
"details": "string",
"number": 0,
"type": "Bus",
"gateName": "N_CABINE",
"seatName": "N_CABINE",
"emailSubscriptionMessage": "string",
"subscriptionMessage": "string",
"barcodeFormat": "AZTEC",
"locations": [
{
"latitude": 0,
"longitude": 0
}
],
"colors": {
"backgroundColor": "string",
"labelColor": "string",
"foregroundColor": "string"
},
"security": {
"enableOneTimeUse": true,
"disableIOSPassSharing": true,
"disablePassLinkSharing": true,
"disableMultipleHolders": true,
"enableSecurityAnimation": true,
"enableRotatingBarcode": true
},
"displayOptions": {
"hideTarif": true,
"hideStationCodes": true,
"hideTripNumber": true
},
"iosHeader": {
"labelEnum": "FULLNAME",
"valueEnum": "FULLNAME",
"customLabel": "string",
"customValue": "string"
}
}