Application. Fetch data by ID GET

fetch data by ID

# ENDPOINT
/model/application/getDb/{id}
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
M Dev Authentication
id
path
0
535 M Id record
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M Dev Authentication
id id path integer M Id record
Example 535
# POSITIVE RESPONSE

200 - Response successfully when status is OK

200 - Response successfully when status is OK

Schema: application
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
application_name application_name string
application_scenario Application scenario string
application_section application_section string
application_type application_type string application type
attachments attachments string Attachments
client_code Client code string Unique client identifier. Issued automatically by the System upon new Customer registration.
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
error_description Error Description string Description of error
form_title form_title string Service field
id id integer INT64 Record's sequence number generated in the system.
link_id Link id 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
oauth_access_token Oauth access token string
overall_status Overall status string
package_id Package id integer
processing_status Processing Status string Status of remote client data processing received from the external system
processing_step Processing step string Step of remote client data processing received from the external system
source_id Source id integer
state state integer INT64 Record state for replication
uid uid string Unique record identifier which is used to distinguish between existing records
version version integer INT64 Record version for replication
# RESPONSE POSITIVE EXAMPLE
							{
    "status": "ok",
    "error_description": "",
    "error": {},
    "data_type": "system.api.application.applicationModel",
    "total_records": 1,
    "data": {
        "client_code": "EN00000W0",
        "application_section": "application",
        "application_type": "applicationRepresentativeCreate",
        "application_name": "",
        "link_id": 0,
        "package_id": 0,
        "source_id": 0,
        "oauth_access_token": "",
        "application_data": {
            "date": "28/06/2021",
            "documentNumber": "A000006",
            "full_name": "ALLCEDO SIA",
            "language": "en",
            "registration_number": "43603089017",
            "representative_email": "sociro2974@genebag.com",
            "representative_firstname": "Kira",
            "representative_lastname": "Rembo",
            "representative_phone": "7716885592",
            "representative_phone_code": "+44",
            "representative_type": "SHAREHOLDER"
        },
        "processing_status": "REJECTED",
        "processing_step": "NORMAL",
        "error_description": "",
        "uid": "94f6d2bc-cf17-1dac-8214-4e8d08a57246",
        "id": 535,
        "version": 873665552,
        "state": 0,
        "create_user": "root",
        "create_date": "2021-06-28T16:37:32.266",
        "modify_user": "root",
        "modify_date": "2021-07-09T16:37:36.315"
    }
}						
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

200 - Response with error when status is ERROR

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