CMDBuild Forum

API session connection in CMDBuild READY2USE 2.0-3.2-b

Hello,

I’m trying to create a session in CMDBuild READY2USE 2.0-3.2-b.
I have created a user api with password api.
I’m sending a request:
http://localhost:8080/ready2use/services/rest/v3/sessions
Content-Type: application/json
username: api
password: api
I get a 200 response with the following content:
{
“success”: true,
“data”: {
“_id”: “current”,
“username”: “api”,
“userId”: 745308,
“userDescription”: “api”,
“role”: “SuperUser”,
“availableRoles”: [
“SuperUser”
],
“multigroup”: false,
“rolePrivileges”: {

Unfortunately “current” doesn’t seem to be a valid sessionid for subsequent API requests.
What am I missing?

Many thanks in advance.

Kind regards,

Alex