Editing an existing lead
Creating a new customer from a lead
When creating a Client from a Lead, the core itself can determine that this is a Lead from an existing client. The kernel considers that if the fields [Surname, First name, Patronymic, Passport Series, Passport Number] coincide, then this is a Lead from an existing client and the kernel will add a request to this client. Otherwise, new clients will be created
Parameters
Path Parameters
Lead ID
"int64"Request Body
Amount of current debt
"double"Number of active loans
"int32"Amount of current overdue payments
"double"Residence address (for legal entities Actual address).
When adding an address to the Brainysoft system, you can use one of two options: - Fill in only fullAddressText fields (enter here is the full address) and fiasId (fias code that corresponds to fullAddressText), the rest of the address fields (countryId, houseNo, blockNo (optional), buildingNo (optional), apartmentNo (optional), postalCode, regionName, localityName, streetName) will be filled in automatically - Fill in the address fields: countryId, houseNo, blockNo (optional), buildingNo (optional), apartmentNo (optional), postalCode, regionName, localityName, streetName Option 1 is preferred
Apartment number
Building number
Building number
The FIAS address chain. This parameter is optional. When creating a client, you can choose not to transfer
JSON URL string
Address chain
FIAS address string
House number
Housing type
Residence Address ID
"int64"District
Nearest metro station
An outdated address, for example, an old street name in a passport. Used for informational purposes only!
Postal Code
Registration date in YYYY-MM-DD format
"date"Scope
Locality, street, house
Landline telephone in digital form of international format (e.g. 74951001112, 37369123456)
A collection of anchored additional addresses.
In sub-addresses, all properties match the main addresses.
When adding an address to Brainysoft, you can use one of two options: Fill in only the fields fullAddressText (enter the full address here) and fiasId (fias code, which corresponds to fullAddressText), the rest of the address fields (countryId, houseNo, blockNo (optional), buildingNo (optional), apartmentNo (optional), postalCode, regionName, localityName , StreetName) will be filled in automatically - Fill in the address fields: countryId, houseNo, blockNo (optional), buildingNo (optional), apartmentNo (optional), postalCode, regionName, localityName, streetName Option 1 is preferred
Apartment number
Building number
Building number
Country identifier
"int64"FIAS address chain
JSON URL string
FIAS code (street level)
FIAS address string
House number
Housing type
Additional address identifier
"int64"Name of the settlement
Nearest metro station
The string of the address entered manually (not the actual address as in the passport)
Index of the position of the address in the collection of additional addresses
"byte"Postal Code
Address assignment (registration, place of work, etc.)
"int64"Registration date in YYYY-MM-DD format
"date"Scope
Street name
Landline telephone in digital form of international format (e.g. 74951001112, 37369123456)
Number of adult children
"int32"Loan amount
"double"Scorista approved
Average monthly expenses
"double"Country of citizenship ID
"int64"Date of birth (YYYY-MM-DD)
"date"Place of Birth
CVC code, 3 digits
Card holder (To store card data, the client must have a PCI DSS certificate)
Bank card number, only numbers, no spaces or other signs
Channel for the lead
Channel list : - PRESCORE - GENERATOR - SITE - ECOMM - UNO_MOMENTO - LOAN_APPLICATION
"ECOMM""GENERATOR""LOAN_APPLICATION""PRESCORE""SITE""UNO_MOMENTO"Amount of children
"int32""int64"Number of closed loans
"int32"Credit product identifier : - 101339 - Short loans for a salary. - 1013310 - Loan for a year (annuity). - 1013311 - Loan for a year (with distributed OS) (Pyatak). - 1013312 - Residual with concessional tranches -
"int64"Number of past arrears
"int32"Refusal reason ID
"int64"The number of dependents
"int32"Employer's TIN
Employer name
Additional fields
Additional field identifier
"int64"The name of the additional field.
If you want the variables from the lead to be taken from the lead to the client / application / contract during the operation of the decision making system (DSS),
then you need to transfer them as follows: - client.field_name - for placing a field in the client - loanApplication.field_name - for placing a field in an application - contract.field_name - for placing a field in a contract
Additional field value
Name
How to get a loan
"int64"List of goods
Item Amount
"double"Item number
Product description
Product ID
"int64"Name of product
Quantity of goods
"int32"How did you hear about us : - 102171 - Transport - 102172 - Television - 102173 - Newspaper - 102174 - Outdoor advertising - 102175 - Friends - 102176 - Internet
"int64"Lead ID
"int64"INN
Does the declared region in the registration address match the applicant's IP address?
Does the declared region in the actual address (residence address) match the applicant's IP address?
Surname
Current loans and borrowings
The presence of delays in an existing loan or loan
Bank of an active loan or loan
Number / Date of the current credit or loan agreement
The amount of the current loan or loan
"double"Object identifier bank of active credit or loan
"int64"The name of the current loan or loan
Current loan or loan identifier
"int64"Interest rate of an active loan or loan
"double"Date of the last actual payment on an active loan or loan in the format YYYY-MM-DD
"date"Monthly payment of an existing loan or loan
"double"Frequency of payments of an existing loan or loan
Remaining debt of the current loan or loan
"double"Details of a valid loan or loan
Loan Specialist ID
"int64"Average monthly income
"double"Only numbers are indicated in international format 79886542301
Phone verification flag
Monthly loan payments
"double"Individual (yes / no), default is true
The passport
"int64"Expiration date in YYYY-MM-DD format
"date"Founder's document type identifier : - 102121 - Driver's license - 102122 - SNILS - 102123 - Foreign passport - 102126 - Passport - 102127 - Other document - 102128 - No Currently, although this parameter is present, it will have the null value in the passport,
because there is a complementaryDoc object that contains the complementaryDocTypeId parameter, which has a value (see the description of this parameter above)
"int64"Additional number
Certificate ID
"int64"Date of issue in YYYY-MM-DD format
"date"Issued by
Certificate number
Certificate Series
Department code
middle name
Number of closed delinquencies
"int32"Requested loan term
"int32""DAYS""MONTHS""WEEKS""YEARS"Registration address (for legal entities Legal address).
When adding an address to the Brainysoft system, you can use one of two options: - Fill in only the fullAddressText fields (enter here the full address) and fiasId (fias code, which corresponds to fullAddressText), the rest of the address fields (countryId, houseNo, blockNo (optional), buildingNo (optional), apartmentNo (optional), postalCode, regionName, localityName, streetName) will be filled in automatically - Fill in the address fields: countryId, houseNo, blockNo (optional), buildingNo (optional), apartmentNo (optional), postalCode, regionName, localityName, streetName Option 1 is preferred
Apartment number
Building number
Building number
The FIAS address chain. This parameter is optional. When creating a client, you can choose not to transfer
JSON URL string
Address chain
FIAS address string
House number
Housing type
Residence Address ID
"int64"District
Nearest metro station
An outdated address, for example, an old street name in a passport. Used for informational purposes only!
Postal Code
Registration date in YYYY-MM-DD format
"date"Scope
Locality, street, house
Landline telephone in digital form of international format (e.g. 74951001112, 37369123456)
Registration number (OGRN) (for a lead legal entity)
List of relatives
Relative address
Relative's date of birth (YYYY-MM-DD)
"date"Affinity identifier : - 102141 - Wife - 102142 - Husband - 102143 - Mom - 102144 - Dad - 102145 - Daughter - 102146 - Son - 102147 - Brother - 102148 - Sister - 102149 - Colleagues - 1021410 - Friends - 1021411 - Grandmother - 1021412 - Grandfather - 1021413 - Uncle - 1021414 - Aunt - 1021415 - Other
"int64"Comments by relatives
Relative email
Relative name
Relative ID
"int64"Relative surname
Relative's passport
Relative patronymic
Resident
TIN of a relative
Relative phone number
Verified
A relative's place of work
Rosfinmonitoring passed inspection
Gender: - 101251 - Male - 101252 - Female
"int64""int64"SNILS
Shop category identifier
"int64"Unit ID 101791 - Moscow - 101792 - Moscow - Internet - 101793 - Sevastopol-1 - 101794 - Krasnogorsk - 101795 - Sevastopol- 2 - 101798 - Seventh - 1017910 - At Posadskaya - 101796 - First - 101797 - Second 101799 - Cashier of a slice
"int64"Organization name (For Legal entity)
Passed a check on the passport database of the FMS
Card validity month, format: MM
Card validity year, format: YY
"int64"Number of written off delinquencies
"int32"Responses
OK
The identifier of the created item of the "Invoices" lookup
"int64"If the element is successfully added to the directory, the status "ok" is returned. Otherwise, an error is returned
"error""ok"Returns the date + time (kernel) in unix timestamp format in milliseconds
"int64"