Schemas
ErrorResponse
timestampWhen the error occurred.
statusThe http status code.
errorThe http status reason.
pathThe request URI.
messageThe main error message.
correlationIdThe unique correlation id for the request.
errorCodeApplication specific error code
Optional list of error specifications.
ErrorSpecification
fieldThe field of the associated object in the request related to the error.
defaultMessageThe message explaining why the error occurred.
rejectedValuesA list of rejected values.
GeneratePasswordRequest
email^[a-zA-Z0-9æøåÆØÅ.!#… · requiredThe email address identifying the profile
organisationIdThe organisation the profile belongs to. Default is tenant organisation ID. Only Internal tenants are allowed to override the organisation id
TravellerInfo
customerNumberCustomer number
organisationIdThe organisation the customer is registered with
orderIdID of Order
Legs connected to the customer on the journey
customerRefOptional customer reference
firstNameFirst name of the traveller
surnameSurname of the traveller
languagePreferenceLanguage preference of the traveller in ISO 639-3 code format
emailContact email
telephoneNumberContact telephone number. Includes country code if available
fromStopPlaceRefReference to the journey’s starting stop
toStopPlaceRefReference to the journey’s final stop
ChangePasswordRequest
newPasswordThe new user password.
oldPasswordThe old user password.
ConvertTemporaryCustomerRequest
changedByChangedBy of the temporary customer to be converted to a permanent customer
changedByChannelChangedByChannel of the temporary customer to be converted to a permanent customer
firstNameFirst name of the temporary customer to be converted to a permanent customer
surnameSurname of the temporary customer to be converted to a permanent customer
customerRefOptional customer reference. Defaults to customer number if not set
emailOptional email of the temporary customer to be converted to a permanent customer
organisationIdOrganisation id of the temporary customer to be converted to a permanent customer
passwordPassword of the temporary customer to be converted to a permanent customer
CustomerAccountPatchRequest
aliasCustomer account alias
isDefaultTrue if account is the default account for the customer.
CustomerAccountRequest
accountIdCustomer account id.
aliasCustomer account alias
isDefaultTrue if account is default for customer. Default false.
CustomerAccountResponse
createdAtWhen the customer account was created. ISO 8601 date format
createdByWho created the customer account.
customerAccountIdCustomer account id string
customerNumberUnique customer number
idCustomer account unique id.
aliasAlias for the customer account
changedAtWhen the customer account was last changed. ISO 8601 date format
changedByWho changed the customer account.
isDefaultTrue if the account is the default account for the customer
CustomerConnectRequest
changedByChannelWhich sales channel or system who last changed the customer. Used for traceability in accordance with GDPR
customerNumberToConnectCustomer number of the profile to connect
temporaryCustomerNumberCustomer number of temporary customer to connect
CustomerConnectResponse
changedAtWhen the list of connected profiles was last changed. ISO 8601 date format
relatedCustomerNumbersCustomer numbers for temporary profiles that is connected to a profile
CustomerConsent
changedAtWhen the customer consent was last changed.
consentChoiceWhether the customer has approved or declined this consent.
consentCodeThe consent code.
createdAtWhen the customer consent was created.
customerIdId of the customer.
CustomerPostRequest
createdByWho created the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
createdByChannelWhich sales channel or system who created the customer. Examples include web, app, crm. Used for traceability in accordance with GDPR
firstNameFirst and middle name.
organisationIdThe organisation the customer is registered with.
surnameSurname.
countryCodeTelephone number country code, starting with +.
customerRefOptional customer reference. Defaults to customer number if not set
dateOfBirthDate of birth. ISO 8601 date format
emailEmail used for contact and potentially also for login.
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
landlineNumberLandline telephone number.
languagePreferenceISO6393Which language the customer wants information in. ISO 639-3 format. Default is 'NOB'.
nationalityThe customers nationality. ISO 3166-1 alpha-3 format
passwordThe users password
The postal addresses connected to the customer.
profileTypeType of profile. Types supported: 'S' = Standard customer, 'P' = Personnel ticket customer, 'T' = Temporary customer. Default is 'S'.
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
telephoneNumberVerifiedAtWhen the telephone number was verified. ISO 8601 date format
vippsIdVipps unique user identifier
customerAccountIdDeprecated. Use /profiles/{customerNumber}/customer-accounts. Customer account id used for account based ticketing
languagePreferenceDeprecated, please use languagePreferenceISO6393. Which language the customer wants information in. Default is 'NO'.
CustomerPreferenceRequest
preferenceIdId of the preference
preferenceValueValue of the preference. This can be things like membership number.
CustomerPreferenceResponse
changedAtWhen the customer preference was last changed. ISO 8601 date format
createdAtWhen the customer preference was created. ISO 8601 date format
Preference
preferenceIdId of the preference
preferenceValueValue of the preference. This can be things like membership number.
customerIdId of the customer. Deprecated
CustomerPutRequest
changedByWho last changed the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
changedByChannelWhich sales channel or system who last changed the customer. Used for traceability in accordance with GDPR
firstNameFirst and middle name.
surnameSurname.
countryCodeTelephone number country code, starting with +.
dateOfBirthDate of birth. ISO 8601 date format
emailEmail used for contact and potentially also for login
emailVerifiedAtWhen the email was verified. ISO 8601 date format
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
landlineNumberLandline telephone number.
languagePreferenceISO6393Which language the customer wants information in. ISO 639-3 format. Default is 'NOB'.
nationalityThe customers nationality. ISO 3166-1 alpha-3 format
The postal addresses connected to the customer.
statusCustomer status. Statuses supported: 'A' = Active, 'P' = Passive, 'D' = Deleted. Default is 'A'.
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
telephoneNumberVerifiedAtWhen the telephone number was verified. ISO 8601 date format
vippsIdVipps unique user identifier
customerAccountIdDeprecated. The field is no longer stored. Use /profiles/{customerNumber}/customer-accounts. Customer account id used for account based ticketing.
languagePreferenceDeprecated, please use languagePreferenceISO6393. Which language the customer wants information in. Default is 'NO'.
CustomerResponse
changedAtWhen the customer was last changed. ISO 8601 date format
changedByWho last changed the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
changedByChannelWhich sales channel or system who last changed the customer. Used for traceability in accordance with GDPR
createdAtWhen the customer was created. ISO 8601 date format
createdByWho created the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
createdByChannelWhich sales channel or system who created the customer. Used for traceability in accordance with GDPR
customerNumberCustomer number.
firstNameFirst and middle name.
organisationIdThe organisation the customer is registered with.
profileTypeType of profile. Types supported: 'S' = Standard customer, 'P' = Personnel ticket customer, 'T' = Temporary customer. Default is 'S'.
statusCustomer status. Statuses supported: 'A' = Active, 'P' = Passive, 'D' = Deleted. Default is 'A'.
surnameSurname.
uuidA universal unique id for the customer. 32 random alphanumeric characters. Not RFC 4122 compliant
countryCodeTelephone number country code, starting with +.
customerAccountIdCustomer account id used for account based ticketing
Customer accounts used for account based ticketing
The legacy consents connected to the customer.
customerRefOptional customer reference. Defaults to customer number if not set.
Date as object
Date as object
The ecards connected to the customer.
emailContact email. May become different from username
emailOldWhen customer is deleted (status='D'), the value of 'email' is moved here to allow creation of a new customer with the same email.
emailVerifiedAtWhen the email was verified. ISO 8601 date format
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
landlineNumberLandline telephone number.
languagePreferenceISO6393Which language the customer wants information in. ISO 639-3 format. Default is 'NOB'.
lastSignInAtWhen the customer last signed in. ISO 8601 date format
lastSignInFromWhere the customer last signed in from. Typically web or app. Typically used to display to the user where the last login was performed.
nationalityThe customers nationality. ISO 3166-1 alpha-3 format
parentIdId of the parent customer. Used to connect different customer types.
The personnel tickets connected to the customer. Deprecated. Does not contain updated information.
The postal addresses connected to the customer.
The preferences connected to the customer.
relatedCustomerNumbersThe customer number of profiles which has been merged into the current profile. These may be used to lookup customer information in other systems
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
telephoneNumberVerifiedAtWhen the telephone number was verified. ISO 8601 date format
usernameUsername the customer can use to log unto their profile. Only available on profile type S(tamkunde) and profile status A(ctive)
vippsIdVipps unique user identifier
The consents connected to the customer. Deprecated
idCustomer id. Deprecated
languagePreferenceDeprecated, please use languagePreferenceISO6393. Which language the customer wants information in. Default is 'NO'.
Deprecated. The notes connected to the customer.
EcardOwnershipRequest
ecardNumberEcard number.
ecardOperatorEcard operator.
startOfOwnershipWhen the ecard was first connected to the customer. ISO 8601 date format
bookingDateWhen the physical ecard was booked. ISO 8601 date format
ecardNameCustomer defined ecard alias.
ecardNumber16digitsThe 16 digit ecard number. A combination of ecardNumber, ecardOperator and control digit.
endOfOwnershipWhen the customer removed the ecard connection. ISO 8601 date format
expirationDateWhen the physical ecard expires. ISO 8601 date format
shippingDateWhen the physical ecard was shipped to the customer. ISO 8601 date format
EcardOwnershipResponse
changedAtWhen the ecard was last changed. ISO 8601 date format
createdAtWhen the ecard was created. ISO 8601 date format
ecardNumberEcard number.
ecardNumber16digitsThe 16 digit ecard number. A combination of ecardNumber, ecardOperator and control digit.
ecardOperatorEcard operator.
idEcard id.
startOfOwnershipWhen the ecard was first connected to the customer. ISO 8601 date format
bookingDateWhen the physical ecard was booked. ISO 8601 date format
ecardNameCustomer defined ecard alias.
endOfOwnershipWhen the customer removed the ecard connection. ISO 8601 date format
expirationDateWhen the physical ecard expires. ISO 8601 date format
shippingDateWhen the physical ecard was shipped to the customer. ISO 8601 date format
customerIdThe customer connected to the ecard. Deprecated
ErrorMessage
errorCodeThe error code.
longEnglishLong error message (English).
longNorwegianLong error message (Norwegian).
shortEnglishShort error message (English).
shortNorwegianShort error message (Norwegian).
GeneratePasswordResponse
customerNumberCustomer number.
firstNameCustomer first and middle name.
generatedPasswordThe new generated password.
organisationIdOrganisation id.
surnameCustomer surname.
customerRefCustomer reference
telephoneNumberTelephone number for customer. This should be a cell phone number.
ListCustomerAccountResponse
createdAtWhen the customer account was created. ISO 8601 date format
createdByWho created the customer account.
customerAccountIdCustomer account id string
customerNumberUnique customer number
idCustomer account unique id.
aliasAlias for the customer account
changedAtWhen the customer account was last changed. ISO 8601 date format
changedByWho changed the customer account.
isDefaultTrue if the account is the default account for the customer
ListCustomerPreferenceRequest
preferenceIdId of the preference
preferenceValueValue of the preference. This can be things like membership number.
ListCustomerPreferenceResponse
changedAtWhen the customer preference was last changed. ISO 8601 date format
createdAtWhen the customer preference was created. ISO 8601 date format
Preference
preferenceIdId of the preference
preferenceValueValue of the preference. This can be things like membership number.
customerIdId of the customer. Deprecated
ListCustomerResponse
changedAtWhen the customer was last changed. ISO 8601 date format
changedByWho last changed the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
changedByChannelWhich sales channel or system who last changed the customer. Used for traceability in accordance with GDPR
createdAtWhen the customer was created. ISO 8601 date format
createdByWho created the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
createdByChannelWhich sales channel or system who created the customer. Used for traceability in accordance with GDPR
customerNumberCustomer number.
firstNameFirst and middle name.
organisationIdThe organisation the customer is registered with.
profileTypeType of profile. Types supported: 'S' = Standard customer, 'P' = Personnel ticket customer, 'T' = Temporary customer. Default is 'S'.
statusCustomer status. Statuses supported: 'A' = Active, 'P' = Passive, 'D' = Deleted. Default is 'A'.
surnameSurname.
uuidA universal unique id for the customer. 32 random alphanumeric characters. Not RFC 4122 compliant
countryCodeTelephone number country code, starting with +.
customerAccountIdCustomer account id used for account based ticketing
Customer accounts used for account based ticketing
The legacy consents connected to the customer.
customerRefOptional customer reference. Defaults to customer number if not set.
Date as object
Date as object
The ecards connected to the customer.
emailContact email. May become different from username
emailOldWhen customer is deleted (status='D'), the value of 'email' is moved here to allow creation of a new customer with the same email.
emailVerifiedAtWhen the email was verified. ISO 8601 date format
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
landlineNumberLandline telephone number.
languagePreferenceISO6393Which language the customer wants information in. ISO 639-3 format. Default is 'NOB'.
lastSignInAtWhen the customer last signed in. ISO 8601 date format
lastSignInFromWhere the customer last signed in from. Typically web or app. Typically used to display to the user where the last login was performed.
nationalityThe customers nationality. ISO 3166-1 alpha-3 format
parentIdId of the parent customer. Used to connect different customer types.
The personnel tickets connected to the customer. Deprecated. Does not contain updated information.
The postal addresses connected to the customer.
The preferences connected to the customer.
relatedCustomerNumbersThe customer number of profiles which has been merged into the current profile. These may be used to lookup customer information in other systems
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
telephoneNumberVerifiedAtWhen the telephone number was verified. ISO 8601 date format
usernameUsername the customer can use to log unto their profile. Only available on profile type S(tamkunde) and profile status A(ctive)
vippsIdVipps unique user identifier
The consents connected to the customer. Deprecated
idCustomer id. Deprecated
languagePreferenceDeprecated, please use languagePreferenceISO6393. Which language the customer wants information in. Default is 'NO'.
Deprecated. The notes connected to the customer.
LocalDateResponse
dayday of month
monthmonth number
yearyear
NewPasswordRequest
newPasswordThe new password.
NoteResponse
changedAtWhen the note was last changed. ISO 8601 date format
changedByWho last changed the note.
createdAtWhen the note was created. ISO 8601 date format
createdByWho created the note.
customerIdId of the customer connected to the note.
idNote id.
textNote content.
PageCustomerResponse
Items on a specific page
totalItemsTotal number of items
totalPagesTotal number of pages available to browse
PersonnelTicketBearer
bearerCustomerIdchangedAtcreatedAtisSelfServedRetrievalticketRightBearerticketRightOwnerPostalAddressRequest
countryCodeThe address country code. ISO 3166-1 alpha-3 format
postCodeThe address post code. Only 4 digits for Norwegian addresses.
townThe address post town. Will be required
typeOfAddressThe type of address. Types supported: 'P' = Private, 'I' = Invoice, 'S' = Shadow.
addressLine1Address line 1.
addressLine2Address line 2, often used for c/o information.
idUnique id for postal address. This value is exclusively used when updating a full customer, to identify which of the addresses to update. Otherwise it is ignored.
verifiedAtWhen the address was verified. ISO 8601 date format
PostalAddressResponse
changedAtWhen the postal address was last changed. ISO 8601 date format
countryCodeThe address country code. ISO 3166-1 alpha-3 format
createdAtWhen the postal address was created. ISO 8601 date format
customerIdThe customer connected to the address.
idPostal address id.
postCodeThe address post code.
townThe address post town.
typeOfAddressThe type of address. Types supported: 'P' = Private, 'I' = Invoice, 'S' = Shadow.
addressLine1Address line 1.
addressLine2Address line 2, often used for c/o information.
verifiedAtWhen the address was verified. ISO 8601 date format
PreferenceRequest
isActiveWhether the preference is active.
preferenceCodeThe preference code.
preferenceDescriptionA description of the preference.
preferenceTypeType of preference.
PreferenceResponse
changedAtWhen the preference was last changed. ISO 8601 date format
createdAtWhen the preference was created. ISO 8601 date format
idPreference id.
isActiveWhether the preference is active.
preferenceCodeThe preference code.
preferenceDescriptionA description of the preference.
preferenceTypeType of preference.
ProfilesBulkRequest
customerNumbersCustomer numbers to look up. Max 1000 numbers at a time.
customerReferencesCustomer references (aka external references) to look up. Will not be used if non-empty list of customer numbers is provided. Max 1000 references at a time.
includePreferencesOptional flag to include profile preferences
TemporaryCustomerPostRequest
createdByWho created the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
createdByChannelWhich sales channel or system who created the customer. Used for traceability in accordance with GDPR
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
countryCodeTelephone number country code, starting with +.
dateOfBirthDate of birth. ISO 8601 date format
emailContact email
firstNameFirst and middle name.
landlineNumberLandline telephone number.
organisationIdThe organisation the customer is registered with.
surnameSurname.
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
customerAccountIdDeprecated. Use /profiles/{customerNumber}/customer-accounts. Customer account id used for account based ticketing
TemporaryCustomerPutRequest
changedByWho last changed the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
changedByChannelWhich sales channel or system who last changed the customer. Used for traceability in accordance with GDPR
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
countryCodeTelephone number country code, starting with +.
dateOfBirthDate of birth. ISO 8601 date format
emailContact email
firstNameFirst and middle name.
landlineNumberLandline telephone number.
surnameSurname.
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
customerAccountIdDeprecated. Use /profiles/{customerNumber}/customer-accounts. Customer account id used for account based ticketing
TemporaryCustomerResponse
changedAtWhen the customer was last changed. ISO 8601 date format
changedByWho last changed the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
changedByChannelWhich sales channel or system who last changed the customer. Used for traceability in accordance with GDPR
createdAtWhen the customer was created. ISO 8601 date format
createdByWho created the customer. Either web, app or username of employee. Used for traceability in accordance with GDPR
createdByChannelWhich sales channel or system who created the customer. Used for traceability in accordance with GDPR
customerNumberCustomer number.
expirationDateThe date when the customers personal data should be deleted. Personal data will be deleted continuously. ISO 8601 date format
firstNameFirst and middle name.
organisationIdThe organisation the customer is registered with.
statusCustomer status. Statuses supported: 'A' = Active, 'P' = Passive, 'D' = Deleted. Default is 'A'.
surnameSurname.
uuidA universal unique id for the customer. 32 random alphanumeric characters. Not RFC 4122 compliant
countryCodeTelephone number country code, starting with +.
customerAccountIdCustomer account id used for account based ticketing
The legacy consents connected to the customer.
customerRefOptional customer reference. Defaults to customer number if not set.
dateOfBirthDate of birth. ISO 8601 date format
dateOfDeathDate of death. ISO 8601 date format
emailContact email.
emailOldWhen customer is deleted (status='D'), the value of 'email' is moved here to allow creation of a new customer with the same email.
emailVerifiedAtWhen the email was verified. ISO 8601 date format
landlineNumberLandline telephone number.
nationalityThe customers nationality. ISO 3166-1 alpha-3 format
The notes connected to the customer.
The postal addresses connected to the customer.
The preferences connected to the customer.
telephoneNumberDeprecated. Please use countryCode and telephoneNumberNoCountryCode. Telephone number for customer. This should be a cell phone number.
telephoneNumberNoCountryCodeTelephone number without country code or punctuation.
telephoneNumberVerifiedAtWhen the telephone number was verified. ISO 8601 date format
The consents connected to the customer. Deprecated
VerifyCredentialsRequest
emailEmail used for login. See property 'username' on CustomerResponse
passwordPassword used for login.
lastSignInFromThe place if login. Typically web or app. Typically used to display to the user where the last login was performed.