Skip to main content

UpdateTransitDto

stripstring<binary>
termsstring
customerServiceNumberstring
originStationCodestring
originNamestring
destinationStationCodestring
destinationNamestring
departureTimestring

Possible values: Value must match regular expression ^([01]\d|2[0-3]):([0-5]\d)(Z|([+-]([01]\d|2[0-3]):[0-5]\d))?$

arrivalTimestring

Possible values: Value must match regular expression ^([01]\d|2[0-3]):([0-5]\d)(Z|([+-]([01]\d|2[0-3]):[0-5]\d))?$

tarifstring
detailsstring
numbernumber
typestring

Possible values: [Bus, Boat, Train, Air, Generic, Tram]

gateNamestring

Possible values: [N_CABINE, N_VOYAGE, PLAQUE]

seatNamestring

Possible values: [N_CABINE, N_VOYAGE, PLAQUE]

emailSubscriptionMessagestring
subscriptionMessagestring
barcodeFormatstring

Possible values: [AZTEC, CODE_128, PDF_417, QR_CODE, NONE]

locations object[]
  • Array [
  • latitudenumberrequired
    longitudenumberrequired
  • ]
  • colors object
    backgroundColorstringrequired
    labelColorstringrequired
    foregroundColorstringrequired
    security object
    enableOneTimeUseboolean
    disableIOSPassSharingboolean
    disablePassLinkSharingboolean
    disableMultipleHoldersboolean
    enableSecurityAnimationboolean
    enableRotatingBarcodeboolean
    displayOptions object
    hideTarifboolean
    hideStationCodesboolean
    hideTripNumberboolean
    iosHeader object
    labelEnumstringrequired

    Possible values: [FULLNAME, CUSTOM_TEXT, TRIP_NUMBER, INACTIVE]

    valueEnumstringrequired

    Possible values: [FULLNAME, CUSTOM_TEXT, TRIP_NUMBER, INACTIVE]

    customLabelstring
    customValuestring
    UpdateTransitDto
    {
    "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"
    }
    }

    API news, once a month

    New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

    Report a technical problem

    An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

    For a fast answer, include:

    • The method and endpoint (e.g. POST /clients)
    • The error code returned (errorCode) and the body sent
    • The date and time of the call
    • The identifiers involved (customer, template, pass)

    Never include an API token or a password.

    AI assistant

    Beta

    Loading…

    AI-generated answers (Claude): double-check important details.

    Sign in to use the assistant