POST token/getToken
Returns the access token if user credentails are valid
Request Information
URI Parameters
None.
Body Parameters
CredentialsName | Description | Type | Additional 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
TokenResponseName | Description | Type | Additional 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" }