Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Login user

Code Block
languagejs
POST /api/v1v2/login

Description

Log the user in with the provided credentials

Parameters

URL SegmentExpected TypeDescription
usernamestringUsername of the user to login.
passwordstringPassword of the user to login.

Response

204 No Content, if successful.

401 Unauthorized, if unsuccessful.

...


Logout user

Code Block
languagejs
POST /api/v1v2/logout

 

Description

Logout the current user and close all Blueriq sessions

Response

204 No Content



Starting a Blueriq session

Start Shortcut

Code Block
POST /api/v1v2/start/{shortcutName?}

Description


Starts a session by specifying the name of a shortcut.

 

Parameters

URL SegmentExpected TypeDescription
shortcutNamestring

The shortcut name, leave empty to start the default shortcut

 

Example response

Code Block
{
    "subscriptionId": "2f177274-514d-4be9-aa3d-4a550ab9e724",
    "sessionId": "2f177274-514d-4be9-aa3d-4a550ab9e724",
    "sessionTimeout": 1800
}

 


Start Project

Code Block
POST /api/v1v2/start?project=export-kinderbijslag&flow=Main

Description

Starts a session with project parameters. This endpoint may be disabled in production for security reasons, so using shortcuts is preferred.

 

Parameters

Query parameterExpected TypeDescriptionRequired
projectstring

The project to start

Yes

flow

stringThe flow to startOnly required if more than one exposed flow is present in the project
versionstringThe branch versionNo
languageCodestringThe project languageNo
uistringThe UI variant to use, by default only mvc and xslt is supportedNo
themestringThe project themeNo
channelstringthe project channelNo

Example response

Code Block
{
    "subscriptionId": "2f177274-514d-4be9-aa3d-4a550ab9e724",
    "sessionId": "2f177274-514d-4be9-aa3d-4a550ab9e724",
    "sessionTimeout": 1800
}


Interacting with a session 

...