如何导入客户相关数据
了解如何使用预定义格式和导入操作,将客户数据、账户和 IB 详情从 CSV 或 TSV 文件导入 B2CORE
您可以从 CSV 或 TSV 文件向 Back Office 导入有关客户、其账户以及 IB 计划的数据。
要导入数据:
导航至 系统 > 导入数据。
点击页面右上角的 +创建。
在 标题 字段中,输入您要为数据导入操作指定的名称。
在 描述 字段中,您可以选择性地输入导入操作的简短描述。
在 操作 下拉列表中,选择以下选项之一:
import-users— 用于导入客户相关数据import-accounts— 用于导入现有客户的账户数据import-ibs— 用于导入现有客户的 IB 相关数据
下方列出了每个导入选项所需的数据和格式要求。
在 分隔符 下拉列表中,选择用于分隔 CSV 或 TSV 文件中数据的分隔符字符(例如 comma、semicolon 或 tab)。
点击 浏览,然后选择要导入数据的 CSV 或 TSV 文件。
点击 保存 以开始导入操作。
import-users 选项:
要成功导入客户相关数据,CSV 或 TSV 文件必须包含 Email、Last name 和 First name 标题。若缺少任何这些必填字段,导入操作将失败。
| Header | Description | Example |
|---|---|---|
| Email required | The client email address | client@example.com |
| Last name required | The client last name | Minh |
| First name required | The client first name | Nguyen |
| Middle name | The client middle name | Van |
| Date of birth | The client date of birth in the format DD/MM/YYYY |
10/01/1990 represents January 10, 1990 |
| Country |
The country code as per ISO 3166-2, which is the preferred variant. Alternatively, you can specify the country name as listed in the Name column under System > Countries. |
VN |
| Phone number | The client phone number in the format +XXXXXXXXXXX |
+84912345678 |
| Address | The client address in free format | 123 Pho Hue |
| City | The city in free format | Hanoi |
| Postal code | The postal code in free format | 100000 02 |
| Verification level | The index of the verification level (for details, refer to Verification > Levels). | 0 indicates the default verification level |
下载 template_import_users.csv 文件,您可以使用该文件验证 CSV 文件是否包含正确的标题和数据格式。您可以在文件中使用分号或制表符代替逗号作为分隔符。
template_import_users.csv
导入数据期间:
- 如果电子邮件地址已存在于 B2CORE 中,客户数据将使用 CSV 或 TSV 文件中的数据进行更新。
- 如果电子邮件地址不存在于 B2CORE 中,将为其添加新的客户资料。
import-accounts 选项:
要成功导入客户账户数据,CSV 或 TSV 文件必须包含 Email、Account number、Product ID 和 Product currency 标题。若缺少任何这些必填字段,导入操作将失败。
| Header | Description | Example |
|---|---|---|
| Email required | The email address of an existing client | client@example.com |
| Account number required | The account number on the respective platform | 153487 |
| Product ID required | The product identifier as listed in the ID column under Products > Products. | 10 |
| Product currency required | The alphabetic currency code as per ISO 4217. This is the currency added to the product, which is also the one in which the account is denominated. | EUR |
下载 template_import_accounts.csv 文件,您可以使用该文件验证 CSV 文件是否包含正确的标题和数据格式。您可以在文件中使用分号或制表符代替逗号作为分隔符。
template_import_accounts.csv
导入数据期间:
- 如果电子邮件地址已存在于 B2CORE 中,客户账户数据将被添加至该客户。
- 如果电子邮件地址不存在于 B2CORE 中,账户数据将不会被导入。
import-ibs 选项:
IB 相关数据只能从 CSV 文件导入。
要成功导入此类数据,CSV 文件必须包含 IB Email、Client Email 和 IB Type ID 标题。若缺少任何这些必填字段,导入操作将失败。
| Header | Description | Example |
|---|---|---|
| IB Email required | The email address of an existing client that will be added as an IB partner. | client1@example.com |
| Client Email required | The email address of an existing client that will be added as a client referred by the partner. | client2@example.com |
| IB Type ID required | The identifier of a Type. Types are listed in the Introducing brokers > Programs > Types menu. To find Type identifiers, export data from the Types page by clicking Export in the upper-right corner of the page, and then locate the identifiers in the ID column of the exported file. |
10 |
下载 template_import_ibs.csv 文件,您可以使用该文件验证 CSV 文件是否包含正确的标题和数据格式。您可以在文件中使用分号或制表符代替逗号作为分隔符。
template_import_ibs.csv
导入数据期间:
- 如果指定为 IB Email 的电子邮件地址已存在于 B2CORE 中,该客户将被添加为 IB 合作伙伴,并将为该客户导入 IB 相关数据。
- 如果指定为 IB Email 的电子邮件地址不存在于 B2CORE 中,IB 相关数据将不会被导入。
导入操作完成后,您可以查看其状态,并点击导入操作行中的 编辑 按钮,以查看 日志消息 和 错误消息 字段。这些字段会列出成功导入的记录详情以及导入过程中发生的错误。
最后更新于