latestOpenAPI 3.0.12026-08-10254561.9 KB

2ea4b8555197

Sessions

Create a new session for interaction with this API

The credentialed user must have Adminstrator privilege in Ascribe.

The response message contains two tokens, one of which must be passed in a header for all other operations with this API.

You may either use the bearerToken or the authenticationToken. Either send a header with key "authentication" and value the authenticationToken returned in this response, or send a header with key "Authorization" and value the bearerToken returned in this response.

The bearerToken does not expire, but will become invalid if the user's credentials change.

The authenticationToken remains valid until no request is sent to this API using the authenticationToken for 30 minutes.

post/Session/New

Request body

accountstring required
userNamestring required
passwordstring required

Response

OK

errorMessagestring nullable
authenticationTokenstring uuid required
bearerTokenstring required