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




GL Account, Create

Creates a new GL Account using the supplied data and returns the details of the created GL Account.

URL
/api/gl-account-create
Request Method
POST
Expandable Program
Chart of Accounts Editor (GLECA)
Required Fields
COMPANY_ID
DEPARTMENT
ACCOUNT
ACCOUNT_DESC
Auth Token
This API call requires an Authentication Token ("Auth Token") for the required field AUTH_TOKEN. Auth Tokens are obtained from Auth Token, Get.
Example Request JSON
{
  "COMPANY_ID": "00",
  "DEPARTMENT": "0",
  "ACCOUNT": "310",
  "ACCOUNT_DESC": "SALES - EXPIRED PARTS",
  "ACCOUNT_TYPE": "S",
  "AUTH_TOKEN": ""
}
Full Request JSON
{
  "COMPANY_ID": "",
  "DEPARTMENT": "",
  "ACCOUNT": "",
  "ACCOUNT_DESC": "",
  "ACCOUNT_TYPE": "",
  "ACCOUNT_STATUS": "",
  "RESP_ID_1": "",
  "RESP_ID_2": "",
  "RESP_ID_3": "",
  "CURR_CODE": "",
  "CONV_METHOD": "",
  "GAIN_LOSS_DEPT": "",
  "GAIN_LOSS_ACCT": "",
  "BUSINESS_CAT": "",
  "BUSINESS_FUNCT": "",
  "RPT_CATEGORY": "",
  "RPT_GROUP": "",
  "RPT_SUB_GROUP": "",
  "GLFCA_USER_1": "",
  "GLFCA_USER_2": "",
  "GLFCA_USER_3": "",
  "GLFCA_USER_4": "",
  "GLFCA_USER_5": "",
  "GLFCA_USER_6": "",
  "GLFCA_USER_7": "",
  "GLFCA_USER_8": "",
  "GLFCA_USER_9": "",
  "GLFCA_USER_10": "",
  "GLFCA_USER_11": "",
  "GLFCA_USER_12": "",
  "GLFCA_USER_13": "",
  "GLFCA_USER_14": "",
  "GLFCA_USER_15": "",
  "GLFCA_USER_16": "",
  "GLFCA_USER_17": "",
  "GLFCA_USER_18": "",
  "GLFCA_USER_19": "",
  "GLFCA_USER_20": "",
  "AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:

200/OK

Returned JSON contains the successfully created GL Account:
{
  "COMPANY_ID": "",
  "DEPARTMENT": "",
  "ACCOUNT": "",
  "ACCOUNT_DESC": "",
  "ACCOUNT_TYPE": "",
  "ACCOUNT_STATUS": "",
  "RESP_ID_1": "",
  "RESP_ID_2": "",
  "RESP_ID_3": "",
  "CURR_CODE": "",
  "CONV_METHOD": "",
  "GAIN_LOSS_DEPT": "",
  "GAIN_LOSS_ACCT": "",
  "DATE_INACTIVE": "",
  "GL_YEAR": "",
  "BUSINESS_CAT": "",
  "BUSINESS_FUNCT": "",
  "RPT_CATEGORY": "",
  "RPT_GROUP": "",
  "RPT_SUB_GROUP": "",
  "GLFCA_USER_1": "",
  "GLFCA_USER_2": "",
  "GLFCA_USER_3": "",
  "GLFCA_USER_4": "",
  "GLFCA_USER_5": "",
  "GLFCA_USER_6": "",
  "GLFCA_USER_7": "",
  "GLFCA_USER_8": "",
  "GLFCA_USER_9": "",
  "GLFCA_USER_10": "",
  "GLFCA_USER_11": "",
  "GLFCA_USER_12": "",
  "GLFCA_USER_13": "",
  "GLFCA_USER_14": "",
  "GLFCA_USER_15": "",
  "GLFCA_USER_16": "",
  "GLFCA_USER_17": "",
  "GLFCA_USER_18": "",
  "GLFCA_USER_19": "",
  "GLFCA_USER_20": "",
  "CREATED_BY": "",
  "DATE_CREATED": "",
  "MODIFIED_BY": "",
  "DATE_MODIFIED": "",
  "OPERATOR_ID": "",
  "DATE_LAST_UPDT": "",
  "TIME_LAST_UPDT": ""
}
Failure Response
Returned HTTP status indicates failure:

400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)

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