https://b-api.lbkrs.com/ob/create/recordAuthorization
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. 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.
Sync Records. Each item is a channel sync configuration; on create it is the selected records (rows with an empty channel filtered out), and on retry it is a single-element array of the current row's data.
Child attributes
Origin Channel. This field is required. Must be the record's origin_channel (from the OB subscription sync record rows filtered by counter_id), not a fixed value such as lb.
Subscription Method.
Allowed values: 1 Financing, 2 Cash
1- Financing
2- Cash
Ratio. A percentage value; sent as a string without the % sign, e.g. "100" means 100%.
Target Method.
Allowed values: 1 Financing, 2 Cash
1- Financing
2- Cash
Target Ratio. Target subscription ratio, a percentage value; sent as a string without the % sign.
Is Retry. Send false for a create operation; send true for a "Retry" operation.
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