Authentication admin
Api for verify credentials, generate and update password.
Verify credentials
Verify credentials for a customer. The customer is looked up based on the organisation Id of the logged on user, combined with the email address provided in the input.
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Verify credentials › Request Body
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.
Verify credentials › Responses
OK
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'.
Generate password and send email/sms for customer
Generates a new password for a profile identified by organisationId and email address. The new password is sent to the customer via email and/or sms.
Headers
AuthorizationET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Generate password and send email/sms for customer › Request Body
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
Generate password and send email/sms for customer › Responses
No Content
Set password
Set the password for the specified customer. This endpoint requires an Internal or Partner jwt-token.
path Parameters
customerNumberHeaders
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Set password › Request Body
newPasswordThe new password.
Set password › Responses
OK
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'.
Change password
Change password for a customer. This method will first validate that the given oldPassword is correct, before storing the new password. This endpoint requires an Internal or Partner jwt-token.
path Parameters
customerNumberHeaders
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Change password › Request Body
newPasswordThe new user password.
oldPasswordThe old user password.
Change password › Responses
OK
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'.
Generate password
Generates a new password for a customer identified by organisationId (numeric) and email address. This endpoint requires an Internal or Partner jwt-token.
path Parameters
organisationIdemailHeaders
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Generate password › Responses
OK
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.