Items in Basket

Subtotal

Checkout View and edit basket

Customers Also Bought

Get information about a user

Resource URL

URL: user/information


Parameters

string username
required

Username

string password
required

Password

string userId
optional

Trainingportal internal ID of the user
string userExternalId
optional
External ID of the user. Either userId or userExternalId must be filled


Return value

The method returns information about the user

userIdTrainingportal id of the user.
userExternalId
External Id of the user.
firstName

First name

lastName
Last name
birhtDateBirth date of the user, on format YYYY-MM-DD

eMailAddress

E-mail address
phoneCountryCode

Country code for the user's phone number. may be prefixed with "+".

Example: "+47" or "47"

phoneNumber
Phone number for the user, without country code
prefferedLanguage

ISO 639-1 (two letter abbreviation) for the user's preferred language. Currently supported languages are:

  • no
  • en
  • pt
addressLine1
Address, line 1
addressLine2
Address, line 2
zipCode
Address, zip Code
city
Address, city
country
Address, country
gender
Gender. MALE or FEMALE
portalSpecificAttributes

Portal specific attributes for the user. Each attribute will be a key/value pair with logicalId of the attribute as key.

userUsername
Username for the created user.
roleRole for the user. Empty if the user has no specific role.


Example request

URL

https://www.trainingportal.no/mintra/rest/user/information

POST DATAuserExternalId=a001&username=username&password=secret