Skip to content
Longport Whale
Fund File

Add Fund File

Submission from the "Create" drawer form at the top of the Fund File page, which adds a new fund file.

POSThttps://b-api.longbridge.xyz/funds/admin/add-fund-file

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

name_localesstringrequired

Display Name (Locales). A JSON string whose key is the language (zh-CN/zh-HK/en) and whose value is the display name for that language.

link_localesstringrequired

File Link (Locales). A JSON string that collects the identifiers and names of the files uploaded for each locale, submitted after encoding.

file_name_localesstring

Original File Name (Locales). A JSON string mapping each language to the original uploaded file name.

remarkstring

Remark. Remark, optional.

scenarioesstringrequired

Usage Scenario. Multi-select; options come from the fund_file_scenarioes dynamic enum, submitted as an array of selected enum values.

user_group_idsstring

User Group IDs. List of user group IDs.

file_typenumberrequired

File Type. The frontend passes a fixed value of 7, representing the "Fund File" type; not an editable field.

audit_frontend_resourceobject

Audit Frontend Resource. An audit-trail object assembled by the frontend, containing snapshots of the operation type, name, remarks, per-language files, scenario, user group, and so on, used for back-office auditing. It is not a business field entered directly by the user.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs