Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Auth /AuthorizeByApplication

Response: BaseSession



Generates a sesssion and provide Authorization Token and server in response.

Parameters

NameTypeDescription
requestAuthorizeByApplicationRequest

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://api.linnworks.net/api/Auth/AuthorizeByApplication

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate

Request Body

This is an example of the request structure. Results will vary depending on your data.

request={
  "ApplicationId": "e97239a2-c61c-4791-9e53-7eba2ecc7d92",
  "ApplicationSecret": "67e1ea18-30a6-40f3-a0ac-930d36303cd1",
  "Token": "863a2c3b-14cb-44ac-814a-6da9d3783e4a"
}

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "Id": "8fdcc26b-9b49-4d03-b3be-483ecb40c486",
  "EntityId": "cd4bd941-aca6-4887-b95a-8db65fcbdd05",
  "DatabaseName": "sample string 3",
  "DatabaseServer": "sample string 4",
  "PrivateDatabaseServer": "sample string 5",
  "DatabaseUser": "sample string 6",
  "DatabasePassword": "sample string 7",
  "AppName": "sample string 8",
  "sid_registration": "8fdcc26b-9b49-4d03-b3be-483ecb40c486",
  "UserName": "sample string 9",
  "Md5Hash": "sample string 10",
  "Locality": 0,
  "SuperAdmin": true,
  "TTL": 1,
  "Token": "47837a4d-408e-4be5-a46f-9b26339e2e97",
  "AccessToken": "sample string 13",
  "GroupName": "sample string 14",
  "Device": "sample string 15",
  "DeviceType": "sample string 16",
  "UserType": "sample string 17",
  "Status": {
    "State": 0,
    "Reason": "sample string 1",
    "Parameters": {
      "sample string 1": "sample string 2"
    }
  },
  "UserId": "4754dfb7-d13f-4378-913b-e4a60a4e4e76",
  "Properties": {
    "sample string 1": "sample string 2"
  },
  "Email": "sample string 19",
  "Server": "sample string 20",
  "PushServer": "sample string 21"
}