Client. Fetch data by request POST

Get Client data by request

# ENDPOINT
/api/client/getData/clientSearchRequest
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
M
# REQUEST BODY
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M
# REQUEST BODY
Schema: clientSearchRequest
Type: object
Variable Name Type Format Usage Description
bic bic string Bank Identification Code / Swift Code as for the International payment standard
client_code Client code string Unique client identifier. Issued automatically by the System upon new Customer registration.
client_group client_group string Client group
List of allowed values in field (value=>name):
  • 0
    AGENT
  • 1
    APPLICANT
  • 2
    BENEFICIARY
  • 3
    BRANCH
  • 4
    CHALLENGER
  • 5
    CLIENT
  • 6
    CLIENT
  • 7
    COMPANY
  • 8
    CONTACT
  • 9
    COUNTERPARTY
  • 10
    EMPLOYEE
  • 11
    PROVIDER
  • 12
    PSP
  • 13
    RECIPIENT
  • 14
    REGULATOR
  • 15
    RELATED_PERSON
  • 16
    SUPPLIER
  • 17
    USER
client_status Client Status string Client status
List of allowed values in field (value=>name):
  • 0
    ACTIVATING
  • 1
    ACTIVE
  • 2
    ACTIVE_INTERNAL
  • 3
    BLACKLIST
  • 4
    CHECKING
  • 5
    CLOSED
  • 6
    PENDING
  • 7
    RESTRICTED
  • 8
    SUSPENDED
contract_number Contract number STRING
date_of_birth date_of_birth string DATE Customer date of birthday
division_client_code Division client code string
entity_type entity_type string Customer type
List of allowed values in field (value=>name):
  • 0
    BUSINESS
  • 1
    PERSON
ext_client_id ext_client_id string External system client id connection
external_number external_number string External client number for client
first_name first_name string First name of a given customer (user)
full_name full_name string Customer full name [first_name] and [last_name] for PERSON and [first_name] only for BUSINESS customer types respectively
gender gender string Customer gender
List of allowed values in field (value=>name):
  • 0
    E
  • 1
    F
  • 2
    M
last_name last_name string Last name of a given customer (user)
limit limit integer int64 Count records for part data to get
offset_version Offset version INTEGER
offsetid Offsetid integer
page page integer int64 Part data with number of page
page_changes_version_offset Page changes version offset INTEGER
registration_date_from Registration date from string
registration_date_to Registration date to string
registration_number registration_number string Registration number of a legal entity or personal code of an individual (user)
residence_country residence_country string Country of residence of the client. Two-letter country code (ISO country)
search_division_childs Search division childs boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
skip_total_records Skip total records boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
subscription_code Subscription Code string Subscription code
# REQUEST BODY EXAMPLE
							{
  "client_code": "EN00070JY",
  "full_name": "",
  "first_name": "",
  "last_name": "",
  "gender": "E",
  "entity_type": "BUSINESS",
  "date_of_birth": null,
  "registration_number": "",
  "external_number": "",
  "residence_country": "LT",
  "full_legal_address": "",
  "bic": "",
  "client_status": "ACTIVE",
  "client_group": "CLIENT",
  "ext_client_id": "",
  "page": 1,
  "limit": 10
}						
# POSITIVE RESPONSE

200 - Response successfully when status is OK

200 - Response successfully when status is OK

Schema: client
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
activation_date Activation Date string DATE Activation date in the system
activation_user Activation User string The username of ABS user who has activated client in the system
bic bic string Bank Identification Code / Swift Code as for the International payment standard
client_code Client code string Unique client identifier. Issued automatically by the System upon new Customer registration.
client_group client_group string Client group
client_status Client Status string Client status
close_date Close Date string DATE Client close date in the system
close_user Close User string The username of ABS user who has closed client in the system
communication_language communication_language string Language for communication
create_date Create Date string DATETIME The date entry was created on
create_external_systems Create external systems boolean
create_user Create User string The username of ABS user who has created an entry
date_of_birth date_of_birth string DATE Customer date of birthday
description description string Description of a given record
division_client_code Division client code string
enableCounterpertyRegistration Clients boolean
entity_type entity_type string Customer type
ext_client_id ext_client_id string External system client id connection
external_number external_number string External client number for client
external_systems external_systems string External systems
first_name first_name string First name of a given customer (user)
form_title form_title string Service field
full_legal_address full_legal_address string Customer full address aggregates [Address Line 1], [Address Line 2], [City], [County], [Post Code] and [Country]
full_name full_name string Customer full name [first_name] and [last_name] for PERSON and [first_name] only for BUSINESS customer types respectively
gender gender string Customer gender
id id integer INT64 Record's sequence number generated in the system.
last_name last_name string Last name of a given customer (user)
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
old_client_group old_client_group string
old_client_status Old Client Status string Old client status
place_of_birth place_of_birth string
registration_date Registration Date string DATE The date client was registered in system. It is filled automatically
registration_number registration_number string Registration number of a legal entity or personal code of an individual (user)
registration_user Registration User string The username of ABS user who has registered client in the system.
residence_country residence_country string Country of residence of the client. Two-letter country code (ISO country)
scoring_points scoring_points integer INTEGER Client AML scoring points
scoring_risk_group scoring_risk_group string Client AML scoring group
state state integer INT64 Record state for replication
subscription_code Subscription Code string Subscription code
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": "",
    "total_records": 1,
    "data": [
        {
            "id": 51,
            "uid": "af3fc011-afb5-2fbd-5514-a1b1f4418b3c",
            "version": 388462382,
            "state": 0,
            "modify_date": "2020-03-12T21:58:39.958",
            "modify_user": "root",
            "create_date": "2019-07-01T23:54:36.251",
            "create_user": "Administrator",
            "client_code": "EN00070JY",
            "full_name": "ELCOIN",
            "first_name": "ELCOIN",
            "last_name": "",
            "middle_name": "",
            "client_group": "CLIENT",
            "entity_type": "BUSINESS",
            "date_of_birth": "2019-01-02",
            "gender": "E",
            "registration_number": "12345678",
            "client_status": "ACTIVE",
            "registration_date": "2019-07-01",
            "registration_user": "Administrator",
            "activation_date": null,
            "activation_user": "",
            "close_date": null,
            "close_user": "",
            "residence_country": "LT",
            "ext_client_id": "",
            "scoring_risk_group": "",
            "scoring_points": 0,
            "bic": "",
            "external_number": "",
            "communication_language": ""
        }
    ]
}						
# 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