Info
Created 08-12-2020 by Lavinia
        Gheghea
Revision
Description
The API
                    allows you to login on database based on APIKey  and retrieve the UID(Unique Identification Number)  to use on the other API functions.
Endpoints
POST: /apilogin
Parameters
| Name | Description | Type | 
| API-key - required | Authorization Token | String(64) | 
| sAPIKey- required | Customer API Key | String | 
Curl example
curl -X POST "https://smartapi.smarttid.dk/apilogin" -H "accept: application/json" -H "API-Key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -H "Content-Type: multipart/form-data" -F "sAPIKey=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx"
Response
200 (OK) : The UID, language and database version
Response Body
[
  {
    "UID": "2e60fb62-a23d-4a4d-9694-62064de3057c",
    "LanguageCode": "EN",
    "DatabaseVersion": "6.17.72"
  }
]
Response Headers
content-encoding: gzip content-length: 138 content-type: application/json; charset=utf-8 date: Mon, 24 Aug 2020 09:24:44 GMT server: Microsoft-IIS/10.0 vary: Accept-Encoding x-powered-by: ASP.NET
400 (ERROR) : Error message
Response Body
Error message
