POST 17.0/auth/databasetoken

Description

Logs in to an Acquaint database as the System User

URI Parameters

None.

Site Credentials

Name Description Type Additional information
SitePrefix

string

Required

String length: inclusive between 4 and 4

AppPassword

string

Required

application/json, text/json

Sample:
{
  "sitePrefix": "sample string 1",
  "appPassword": "sample string 2"
}

application/xml, text/xml

Sample:
<SiteCredentials xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SitePrefix>sample string 1</SitePrefix>
  <AppPassword>sample string 2</AppPassword>
</SiteCredentials>

application/x-www-form-urlencoded

Sample:

Sample not available.

An Acquaint Token. This needs to be used in the x-acquaint-token header for all future api calls

Name Description Type Additional information
Token

string

Required

application/json, text/json

Sample:
{
  "token": "sample string 1"
}

application/xml, text/xml

Sample:
<DatabaseConnectorToken xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Token>sample string 1</Token>
</DatabaseConnectorToken>