Skip to content
Fund Theme

Add Fund Theme

Add Fund Theme.

Request parameters

  • Optional: name (Theme Name), name_locales (Theme Name (Locales)), description (Theme Description), description_locales (Theme Description (Locales)), order_weight (Order Weight), state (Enabled), items (Theme Fund Items)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the endpoint completes the operation. See the 200 response schema for returned data and subsequent state information.

POSThttps://b-api.lbkrs.com/funds/admin/add-fund-cate

Production: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz

Authorization

AuthorizationstringheaderRequired

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

Permission

fund.fund_category

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

Request body application/json

namestring

Theme Name.

name_localesstring

Theme Name (Locales).

descriptionstring

Theme Description.

description_localesstring

Theme Description (Locales).

order_weightinteger

Order Weight.

stateboolean

Enabled.

itemsarray<object>

Theme Fund Items.

Child attributes
time_intervalstring

Time Interval.

counter_idstring

Counter ID.

order_weightinteger

Order Weight.

Responses

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

This is a write operation; on success it returns no business data, and data is always an empty object {}.

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