Skip to content

System authentication option 2

POST

Authentication in the system using a username and password, which is sent in the request body.

If authentication is successful, a user ID is returned in response, and an authentication token is returned in the response header, which is used for further method calls.

Headers should be transmitted:

bsauth: Token

Content-Type: application / json

customer-key: Organization token

Request Body

application/json
object

Password

Login

Responses

OK

*/*
object

The identifier of the created item of the "Invoices" lookup

Format"int64"

If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned

Valid values"error""ok"

Returns the date + time (kernel) in unix timestamp format in milliseconds

Format"int64"