GL. Fetch data by request POST

Get GL data by request

# ENDPOINT
/api/gl/getData/glSearchRequest
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
M Dev Authentication
# REQUEST BODY
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M Dev Authentication
# REQUEST BODY
Schema: glSearchRequest
Type: object
Variable Name Type Format Usage Description
description description string Description of a given record
gl Gl integer M
gl_status GL Status string M General ledger account status
List of allowed values in field (value=>name):
  • 0
    active
  • 1
    closed
gl_type GL Type string M General ledger account type
List of allowed values in field (value=>name):
  • 0
    A
  • 1
    E
  • 2
    L
  • 3
    O
  • 4
    R
only_subledger Only subledger boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
parent_gl Parent gl integer M
restrict_operation Restrict operation boolean
List of allowed values in field (value=>name):
  • 0
    Nothing
  • 1
    false
  • 2
    true
subledger_type subledger_type string M Subledger type
List of allowed values in field (value=>name):
  • 0
    Nothing
  • 1
    ARP
  • 2
    CIF
  • 3
    DFB
  • 4
    EPS
total_acc Is total account boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
# REQUEST BODY EXAMPLE
													
# POSITIVE RESPONSE

200 - Response successfully when status is OK

<p style="color:green;font-size:16px;">200 - Response successfully when status is OK</p>

Schema: gl
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data array data of Response
attribute: data
Variable Name Type Format Description
action Action string
create_date Create Date string DATETIME The date entry was created on
create_user Create User string The username of ABS user who has created an entry
description description string Description of a given record
form_title form_title string Service field
gl Gl integer
gl_status GL Status string General ledger account status
gl_type GL Type string General ledger account type
id id integer INT64 Record's sequence number generated in the system.
level Summation Level integer
modify_date Modify Date string DATETIME The date entry was last modified on
modify_user Modify User string The username of ABS user who has made last changes to the entry
parent_gl Parent gl integer
restrict_operation Restrict operation boolean
short_name short_name string
state state integer INT64 Record state for replication
subledger_type subledger_type string Subledger type
total_acc Is total account boolean
total_formula total_formula string
uid uid string Unique record identifier which is used to distinguish between existing records
version version integer INT64 Record version for replication
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

<p style="color:red;font-size:16px;">200 - Response with error when status is ERROR</p>

Schema: HeaderResponseStatusError
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object