Skip to content
Longport Whale
Fund File

Edit Fund File

Submitted from the inline "Edit" drawer form on a row of the fund file list.

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

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Fund File ID. The ID of the record being edited.

name_localesstringrequired

Display Name (Locales). A JSON string whose keys are languages (zh-CN/zh-HK/en) and whose values are the display names for the corresponding language.

link_localesstringrequired

File Link (Locales). A JSON string containing the key and name of the uploaded file for each language 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. The list of selected user group IDs.

audit_frontend_resourceobject

Audit Frontend Resource. Audit-trail object, containing the operation type, the post-edit content, and the pre-edit snapshot, used for backend auditing; not a business field filled in 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