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