GL Account, Delete
Deletes an existing GL Account using the supplied data.
URL
/api/gl-account-delete
Request Method
POST
Expandable Program
Chart of Accounts Editor (GLECA)
Required Fields
COMPANY_ID
DEPARTMENT
ACCOUNT
AUTH_TOKEN
DEPARTMENT
ACCOUNT
AUTH_TOKEN
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
Full Request JSON
{
"COMPANY_ID": "",
"DEPARTMENT": "",
"ACCOUNT": "",
"AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:
200/OK
Returned JSON contains nothing:
200/OK
Returned JSON contains nothing:
{}
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 deletion:
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 deletion:
{
"MESSAGE": "",
"MESSAGE_CODE": ""
}
