Logging into the Optiva API
Part of API call | Code |
---|---|
URL | https:// <<OptivaAPIEndPointURL>>/Login |
Method | POST |
Request Header | Authorization: Bearer <<oAuth Token>> |
Response | The response will hold the Logged in user details. |
Additionally, the database name can be given in an query string like this one:
/Login? dbName=<dbName>>
By default, Optiva Api logs into the default database. In a MT environment, the database
field is not honored and API always logs into the default database.
Note: For the rest of the API call, the
OptivaDBName
request header can be passed if subsequent API calls do not
work with the default database. If the request header is not specified, then all calls are
redirected to the Optiva Default database.