https://b-api.lbkrs.com/clearing/insert_bond_infoAuthorization
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
Counter ID associated with this request. Format is {type}/{market}/{code}, for example, stock ST/HK/700 or ST/US/AAPL, and option OP/US/AAPL270319C320000.
Bond information object. This field is required.
Child attributes
Period complete. This field is required. When 1, the rate of the last bond_rates item is left empty.
Call GET /v1/datasets/refs/clear_period_complete to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Annual days used for interest calculation, such as 365. This field is required.
Call GET /v1/datasets/refs/clear_interest_calc_basis to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Par value, from 0 to 99999 with up to 2 decimal places, such as 100. This field is required.
Rounding method. This field is required.
Call GET /v1/datasets/refs/billing_cutoff_method to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Rounding decimal places. This field is required.
Call GET /v1/datasets/refs/billing_cutoff_digit to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Rate schedule. Submit at least 2 items, ordered by period. This field is required.
Child attributes
Period number, starting from 0.
Interest payment date in YYYYMMDD format. Each date must be later than the previous item's date.
Rate as a decimal fraction, for example 0.05 for 5%. Required for the first item; leave empty for the last item when period_complete is 1.
Audit context submitted by the caller, such as $behavior and $action (add or edit).
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