A RamBase session is created after a successful login to the RamBase API. The session holds a lot of information and some of the information can be retrieved through the current session request:
The following is returned:
- RanBase name
The RamBase system the user is authenticated against.
- User identifier (PID)
The user identifier the authenticated user has in specific RamBase system.
- Customer/supplier identifier
The customer/supplier the user is making requests on behalf. Typically set when user is authenticated against a portal API client, like the supplier portal.
- Database / company
The database / company the user is using when the $db query parameter is not specified.
- API client identifier
The API client identifier used in the authentication.
- ID verification token
A token to be used for verifying user in third party systems. Read more about id verification token here.
Here is an example response: