https://b-api.lbkrs.com/risk_limit/v1/multiple/applyAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Multi-dimension limit record list. The batch-selected (or single) limit records. Each element is an object (not a string) built from the limit list row:
counter_id (counter ID), aaid (account AAID; the row's aaid_val, falling back to aaid), code (instrument code), trader (trader account; the row's trader_val), trader_name (trader name; the row's trader), client_group (client group ID; the row's client_group_val), client_group_name (client group name; the row's client_group), stock_group (securities group ID; the row's stock_group_id_val).
Child attributes
Counter ID
Account AAID
Instrument code
Trader account
Trader name
Client group ID
Client group name
Securities group ID
Is Apply. true = batch activate (apply to enable limits), false = batch deactivate (revoke/disable limits).
true- Batch Activate
false- Batch Deactivate
Audit Context. Audit information, containing the operation type ($action: add/delete) and the behavior description ($behavior).
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureOn success data is an empty object.
No 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