Skip to content
Exception Entry Mgmt

Move Asset-Change Ledger Date

Moves the ledger date of the specified internal serial records to a new ledger date in bulk.

Request parameters

  • Required: serial_nos (internal serial numbers), new_ledger_date (new ledger date), asset_type (record type)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the ledger-date migration is completed. See the 200 response schema for returned data and subsequent state information.

POSThttps://b-api.lbkrs.com/move_ledger_date

Production: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Permission

lb_hk_clearing.clear_account_balance_changeslb_hk_clearing.clear_equity_holding_change

The Broker ACCESS_TOKEN must be granted the permission below, or the call will be rejected.

Request body application/json

serial_nosarray<string>required

List of internal serial numbers to migrate. This field is required.

new_ledger_dateintegerrequired

Target ledger date in YYYYMMDD format. This field is required.

asset_typeintegerrequired

Record type. This field is required.

1 · Balance2 · Equity

Responses

HTTP 200The request was processed successfully. The business result is returned in data as a string.
Standard response envelopecodemessagedata
datastringdata structure

Operation result string.

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs