API Version
Auth Token
Data Sources Server Time
AP Check Update AP Invoice Entry
AR Invoice Entry AR Remittance Entry
GL Account
Adjustments Entry Backflush Kit Issue Issues Entry Part Physical Count Entry Stock Status Stores Transfer
Serial Number Cross Reference WIP Completions Entry
Lot
Multiple Location
Bill of Material
Purchase Order PO Receipts Entry Receipt Transaction Vendor Vendor Contact Vendor Part
Customer Customer Contact Customer Part Product Price Sales Order Serial Number Shipments Entry Shipment Transaction



Auth Token, Get

Authenticates the supplied Expandable credentials and returns an Authentication Token.

URL
/api/auth-token-get
Request Method
POST
Required Fields
DATA_SOURCE
USER_NAME
PASSWORD
Data Source
This API call requires a Data Source for the required field DATA_SOURCE. The list of available Data Sources can be obtained from Data Sources, Get. The available Data Sources are also listed here for convenience:

ESI
ESICAN
DEMO
Example Request JSON
{
  "DATA_SOURCE": "EXPANDABLE",
  "USER_NAME": "APIUSER",
  "PASSWORD": "password"
}
Full Request JSON
{
  "DATA_SOURCE": "",
  "USER_NAME": "",
  "PASSWORD": ""
}
Success Response
Returned HTTP status indicates success:

200/OK

Returned JSON contains the Authentication Token:
{
  "AUTH_TOKEN": ""
}
Failure Response
Returned HTTP status indicates failure:

400/Request JSON is invalid.
405/Request method must be POST.
500/(Error Message)

Returned JSON contains error information for the failed request:
{
  "MESSAGE": "",
  "MESSAGE_CODE": ""
}
Try the API