GL. Create/update data POST

Create/update GL data

# ENDPOINT
/model/gl/putDb
# 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: gl
Type: object
Variable Name Type Format Usage 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 M Description of a given record
form_title form_title string Service field
gl Gl integer M
gl_status GL Status string M General ledger account status
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
id id integer INT64 M 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 M
restrict_operation Restrict operation boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
short_name short_name string M
state state integer INT64 Record state for replication
subledger_type subledger_type string M Subledger type
total_acc Is total account boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
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
# 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 object 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