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.longbridge.xyz/funds/admin/add-fund-cate

Authorization

Authorizationstringheaderfund.fund_categoryRequired

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

Request body application/json

namestring

Theme Name. Specifies Theme Name.

name_localesstring

Theme Name (Locales). Specifies Theme Name (Locales).

descriptionstring

Theme Description. Specifies Theme Description.

description_localesstring

Theme Description (Locales). Specifies Theme Description (Locales).

order_weightinteger

Order Weight. Specifies Order Weight.

stateboolean

Enabled. Specifies Enabled.

itemsarray<object>

Theme Fund Items. Specifies Theme Fund Items.

Child attributes
time_intervalstring

Time Interval. Specifies Time Interval.

counter_idstring

Counter ID. Specifies Counter ID.

order_weightinteger

Order Weight. Specifies 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