Skip to content
Cashflow Types

Modify Fund Type

Edits an existing fund type. Fields come from the ModalForm inputs name (a locale input containing zh-CN, zh-HK, and en) and remark (a text area). Before submission, name is split into name, name_cn, name_en, and name_hk, and the edited record's id is included.

Request parameters

  • Required: id (Fund Type ID), name (Name (current locale)), name_cn (Name (Simplified Chinese)), name_en (Name (English)), name_hk (Name (Traditional Chinese))
  • Optional: remark (Remark)
  • See each field for its format, allowed values, default behavior, and business meaning.

Result

On success, the endpoint completes the described business operation. See the 200 response schema for returned data.

POSThttps://b-api.longbridge.xyz/book/fund_type/modify

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idintegerrequired

The ID of the fund type to edit. This field is required.

namestringrequired

Taken from the name request field's value for the current UI language (zh-CN/zh-HK/en).

name_cnstringrequired

Specifies Name (Simplified Chinese). This field is required.

name_enstringrequired

Specifies Name (English). This field is required.

name_hkstringrequired

Specifies Name (Traditional Chinese). This field is required.

remarkstring

Specifies Remark.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs