Versions Compared

Key

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

...

  • Method: POST

  • Endpoint: /omni/user/loginauthorize

  • System Authorization: Authorization: Key=your-auth-key

Paste code macro
languagejson
titleRequest Example
{
  "usernameuser_name": <user_name>,
  "password": <Base64Password>
}

...

Paste code macro
languagejson
titleResponse sample
{
To be provided
   "user_id": <int>,
   "user_name": <string>,
   "token_key": <string>,
   "expiry_date": <dateTime - ISO 8601 format>
}

Password

The password needs to be converted to Base64 with ASCII encoding to get the bytes[] from the password string.

...