https://b-api.longbridge.xyz/clearing/sub_positionsAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Specifies Action In. This field is required.
Allowed values:
1- Add2- Delete3- Edit
1 · Add2 · Delete3 · Edit
Sub-position record ID that identifies the target of this request. Required when editing or deleting.
Specifies Custodian ID, identifying the custodian that owns the sub-position.
Specifies Sub Account.
Specifies Sub Account Name.
Specifies the sub-position Features (position direction).
Specifies Remark.
Caller-provided audit context used for operation audit logging. The delete operation submits this field together with the request body.
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