https://b-api.lbkrs.com/v1/risk_monitoring/stock_index_operateProduction: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
Request body application/json
Operation. enum Operation { 0=Create 1=Edit 2=Delete 3=New }; Edit always sends 1 and Delete always sends 2 (no Create=0 / New=3 call site was seen on the client).
0 · Create1 · Edit2 · Delete3 · New
Stock Code. The counter_id input in the edit form (disabled, for display).
Index Code. The index_code input box on the edit form.
ID. The primary-key ID of the selected stock-index record, populated programmatically.
Operator. Current logged-in operator account; included on edit/delete
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields