POST token/getToken

Returns the access token if user credentails are valid

Request Information

URI Parameters

None.

Body Parameters

Credentials
NameDescriptionTypeAdditional information
Username

Unique FreightPOP username/email

string
Required
Password

FreightPOP password

string
Required

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2"
}

Response Information

Resource Description

TokenResponse
NameDescriptionTypeAdditional information
Data

Token object

Token

None.

Code

Response code returned by api

HttpStatusCode

None.

Message

Human readable message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AccessToken": "sample string 1",
    "ExpiresIn": "sample string 2"
  },
  "Code": 100,
  "Message": "sample string 1"
}