Company. Fetch info by companies POST

# ENDPOINT
/api/companyinfo/getCompanyInfo/emptyModel
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
M
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M
# POSITIVE RESPONSE

getCompanyInfo

Schema: CompanyInfo
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
legal_address legal_address object
company company object
contacts contacts array
attribute: legal_address
Variable Name Type Format Description
action Action string
activation_date Activation Date string DATE Activation date in the system
address_type address_type string The addresses section provides the list of all available addresses a contact has as follows
address_type_description address_type_description string Address type description
apartment apartment string Residence/correspondence number of house
card_code card_code string Card code
city city string Residence/ correspondence address city/town
client_code client_code string Unique customer ID in external system
client_full_name client_full_name string Customer full name [first_name] and [last_name] for PERSON and [first_name] only for BUSINESS customer types respectively
counterparty_id counterparty_id integer INT64 Counterparty id
country_code country_code string Two-letter ISO 3166-2 code of a given country
country_description country_description string Country of residence or incorporation
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
expiration_date Expiration Date string DATE Expiration date in the system
form_title form_title string Service field
full_address full_address string Customer full address aggregates [Address Line 1], [Address Line 2], [City], [County], [Post Code] and [Country] fields
house house string Residence/correspondence number of house
house_name house_name string Residence/correspondence name of house
id id integer INT64 Record's sequence number generated in the system.
language language string The language user has specified as the language of service
latitude latitude number decimal A geographic coordinate that specifies the north–south position of a point on the Earth is surface
longitude longitude number decimal A geographic coordinate that specifies the east–west position of a point on the Earth is surface
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
place_code place_code string Residence/correspondence place code
post_code post_code string Shows the value of address postal code, zip code or post code, like CR2 9ER
region region string Residence/ correspondence region
region_code region_code string Region code
state state integer INT64 Record state for replication
street street string Residence/ correspondence name of street
sub_street sub_street string Residence/ correspondence name of substreet
uid uid string Unique record identifier which is used to distinguish between existing records
version version integer INT64 Record version for replication
attribute: company
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 customer ID in external system
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
attribute: contacts
Variable Name Type Format Description
action Action string
client_code client_code string Unique customer ID in external system
contact_type contact_type string Type of contact data
contact_value contact_value string Data by type of contact
counterparty_id counterparty_id integer INT64 Counterparty id
country_calling_code country_calling_code string Calling code of country
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
id id integer INT64 Record's sequence number generated in the system.
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
representative_type representative_type string
state state integer INT64 Record state for replication
uid uid string Unique record identifier which is used to distinguish between existing records
use_device_for_login Use device for login BOOLEAN
version version integer INT64 Record version for replication
# RESPONSE POSITIVE EXAMPLE
							{
    "status": "ok",
    "error_description": "",
    "error": {},
    "data_type": "system.api.company.companyInfoModel",
    "total_records": 1,
    "data": {
        "legal_address": {
            "client_code": "EN000002F",
            "counterparty_id": 272,
            "card_code": "",
            "client_full_name": "ELCOIN LTD - DEV",
            "address_type": "LEGAL",
            "address_type_description": "",
            "language": "en",
            "city": "Croydon",
            "street": "No 2 Lansdowne Road",
            "sub_street": "",
            "region_code": "",
            "region": "",
            "house": "The Lansdowne Building",
            "house_name": "",
            "apartment": "",
            "place_code": "",
            "post_code": "CR9 2ER",
            "country_code": "GB",
            "latitude": 0.0,
            "longitude": 0.0,
            "activation_date": null,
            "expiration_date": null,
            "country_description": "United Kingdom",
            "full_address": "No 2 Lansdowne Road The Lansdowne Building, Croydon, CR9 2ER, United Kingdom",
            "uid": "c3e89c78-73fa-a0b7-7b14-623d105daabe",
            "id": 5,
            "version": 813188276,
            "state": 0,
            "create_user": "user",
            "create_date": "2021-03-04T13:01:03.169",
            "modify_user": "root",
            "modify_date": "2021-03-29T14:19:03.758"
        },
        "company": {
            "client_code": "EN000002F",
            "full_name": "ELCOIN LTD - DEV",
            "first_name": "ELCOIN LTD - DEV",
            "last_name": "",
            "client_group": "COUNTERPARTY",
            "entity_type": "BUSINESS",
            "external_number": "",
            "date_of_birth": "2017-05-05",
            "place_of_birth": "",
            "gender": "E",
            "registration_number": "10755607",
            "bic": "",
            "client_status": "ACTIVE",
            "registration_date": "2021-03-04",
            "registration_user": "user",
            "activation_date": null,
            "activation_user": "",
            "close_date": null,
            "close_user": "",
            "residence_country": "GB",
            "ext_client_id": "",
            "scoring_risk_group": "",
            "scoring_points": 0,
            "communication_language": "",
            "external_systems": "",
            "old_client_status": "ACTIVE",
            "old_client_group": "COUNTERPARTY",
            "full_legal_address": "No 2 Lansdowne Road The Lansdowne Building, Croydon, CR9 2ER, United Kingdom",
            "subscription_code": "ALLCEDO",
            "description": "ELCOIN LTD - DEV",
            "create_external_systems": false,
            "uid": "c3e89c78-73fa-a0b7-7b14-543dbc1b704c",
            "id": 5,
            "version": 819694588,
            "state": 0,
            "create_user": "user",
            "create_date": "2021-03-04T12:55:52.980",
            "modify_user": "user",
            "modify_date": "2021-04-23T08:44:49.762"
        },
        "contacts": [
            {
                "client_code": "EN000002F",
                "counterparty_id": 272,
                "contact_type": "Email",
                "representative_type": "OWNER",
                "contact_value": "support@elcoin.co.uk",
                "country_calling_code": "",
                "description": "",
                "use_device_for_login": false,
                "uid": "c3e89c78-73fa-a0b7-7b14-653dcc9a2a56",
                "id": 4,
                "version": 813188277,
                "state": 0,
                "create_user": "user",
                "create_date": "2021-03-04T13:01:58.720",
                "modify_user": "root",
                "modify_date": "2021-03-29T14:19:03.764"
            },
            {
                "client_code": "EN000002F",
                "counterparty_id": 272,
                "contact_type": "Phone",
                "representative_type": "OWNER",
                "contact_value": "+447936674789",
                "country_calling_code": "+44",
                "description": "",
                "use_device_for_login": false,
                "uid": "c3e89c78-73fa-a0b7-7b14-6d3db067cbe7",
                "id": 5,
                "version": 814721424,
                "state": 0,
                "create_user": "user",
                "create_date": "2021-03-04T13:05:02.695",
                "modify_user": "user",
                "modify_date": "2021-04-13T15:09:01.168"
            }
        ]
    }
}						
# NEGATIVE RESPONSE
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