https://b-api.longbridge.xyz/v1/datasets/ipo_ob_account_queryDataset endpoints are available on the Test host only (https://b-api.longbridge.xyz); the Production host returns 404.
This Dataset query is read-only. Use GET by default. If the encoded query parameters are too large, send the same parameters as a JSON body with POST to the same path.
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
The Broker ACCESS_TOKEN must be granted the permission below, or the call will be rejected.
Query parameters
Child attributes
When omitted, defaults to filtering by '0' — without this filter the endpoint returns only data matching that value.
M · MarginC · CashF · Futures
Responses
HTTP 200Paginated list result.codemessagedatadataobjectdata structureChild attributes
Raw value behind field account_type: account_type returns the human-readable display value resolved via a dictionary/join mapping, while this field returns the underlying code/ID before that mapping.
Raw value of state. The state field contains the display value resolved through a dictionary or related record; this field contains the underlying code or ID.
Raw value behind field open_state: open_state returns the human-readable display value resolved via a dictionary/join mapping, while this field returns the underlying code/ID before that mapping.
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