Skip to content
Fund Strategy

Toggle Strategy Filter Status

Toggle the online/offline status of a portfolio-screening strategy package.

Request parameters

  • Required: id (package ID), status (target status).
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

The package is located by id; status takes it online or offline. Once offline, the package is no longer shown to customers.

Risk warning

This operation changes the package's visibility to customers. Confirm the package and target status before calling.

Returns

On success the status change is applied; see the 200 response for the exact payload.

POSThttps://b-api.lbkrs.com/v1/admin/strategy/toggle-status

Authorization

AuthorizationstringheaderRequired

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

Permission

fund.strategy_update

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

Request body application/json

idintegerrequired

Strategy Package ID. This field is required.

statusintegerrequired

Target Status. This field is required.

Allowed values: 1 Online, 2 Offline

Values
1
2

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