https://b-api.lbkrs.com/report/haircut/upsert_index_haircutAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.
Request body application/json
Config ID. The ID of the index Haircut rule to edit.
Rule Name. Name of the index Haircut rule.
Security Type. Values follow the haircut_rule_security_type enumeration. When the value is Stock, market is required and the index and exchange scopes apply.
Market. Values follow the haircut_market_list enumeration. Required when security_type is Stock.
Include Indexes. Index counter_id values (such as IX/SH/000011) whose constituents the rule applies to. Pass either include_indexes or exclude_indexes.
Exclude Indexes. Index counter_id values whose constituents the rule excludes.
Include Exchanges. Values follow the haircut_exchange_list enumeration. Pass either include_exchanges or exclude_exchanges.
Exclude Exchanges. Values follow the haircut_exchange_list enumeration.
Haircut. A decimal string greater than 0 and at most 1, for example 0.5 for 50%.
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