Skip to content
Corp Action Management

Edit Choices Quantity

Updates the exercise quantity (choices quantity) of each event under a client register detail of a corporate action.

The caller must provide the announcement ID ann_id, the register-detail ID register_id, and details, the list of items to modify. Each item specifies the event ID event_id, the detail item ID id, and the new exercise quantity choices_quantity.

Request parameters

  • Required: ann_id (announcement ID), register_id (register-detail ID), details (list of items to modify)
  • Optional: audit_frontend_resource (caller-provided audit context)

Result

On success, the exercise quantity of each item is updated and the result is returned in data. Interpret the outcome together with the business code.

POSThttps://b-api.longbridge.xyz/v1/edit/choices_quantity

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

ann_idstringrequired

Unique identifier of the corporate-action announcement.

register_idstringrequired

Unique identifier of the client register-detail record to modify.

detailsarray<object>required

List of detail items whose exercise quantity is being modified. Each item corresponds to one event.

Child attributes
event_idstringrequired

Unique identifier of the event that the detail item belongs to.

idstringrequired

Unique identifier of the detail item.

choices_quantitystringrequired

New exercise quantity (choices quantity) for the detail item.

audit_frontend_resourceobject

Caller-provided audit context recording the business information associated with this operation. Typically includes the security, announcement number, and client account identifiers.

Child attributes
origin_counter_idstring

Associated security identifier.

ca_codestring

Associated corporate-action announcement number.

aaidstring

Associated client account identifier.

Responses

HTTP 200The request was processed successfully. The result is returned in data.
Standard response envelopecodemessagedata
dataobjectdata structure

Business result; usually an empty object.

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