Skip to content
Cashflow Types

Modify Fund Type

Edits an existing fund type, with multilingual names.

Request parameters

  • Required: id (fund type ID) and record (object holding the fund type fields). Inside record, required: name (name in the current locale), name_cn (Simplified Chinese name), name_en (English name), name_hk (Traditional Chinese name).
  • Optional: record.remark.
  • See the field definitions for format, value ranges, defaults, and business meaning.

Risk warning

This operation changes a real fund-type configuration and affects fund classification and accounting. Confirm the target record and parameters before calling.

Result

On success the fund type is updated. Refer to the 200 response definition for returned data.

POSThttps://b-api.lbkrs.com/book/fund_type/modify

Authorization

AuthorizationstringheaderRequired

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

Permission

accounting.fund_type

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

idintegerrequired

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

recordobjectrequired

Object holding the fund type fields to save. This field is required.

Child attributes
namestringrequired

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

name_cnstringrequired

This field is required.

name_enstringrequired

This field is required.

name_hkstringrequired

This field is required.

remarkstring

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