Skip to content
Bizcode Management

Update Biz Code

Update Biz Code.

Request parameters

  • Required: biz_code (Biz Code)
  • Optional: visible (Visible), business_type (Business Type), account_type (Account Type), action_type (Action Type), language (Language Names), remark (Remark)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the endpoint completes the operation. See the 200 response schema for returned data and subsequent state information.

POSThttps://b-api.longbridge.xyz/portfolio/dawn/update_biz_code_info_v2

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

biz_codestringrequired

Biz Code. Cannot be changed when editing; used to locate the record.

visibleboolean

Visible. Boolean flag for visible.

Boolean values:

  • true - The condition applies
  • false - The condition does not apply
business_typestring

Business Type. Identifies the business scenario to which this request applies.

account_typestring

Account Type. Specifies Account Type.

action_typestring

Action Type. Specifies Action Type.

languagestring

Language Names. Specifies Language Names.

remarkstring

Remark. Specifies Remark.

Responses

HTTP 200The request was processed successfully. data.ticket_id contains the approval ticket ID, which can be used to query the subsequent approval status.
Standard response envelopecodemessagedata
dataobjectdata structure
ticket_idstring

Ticket ID. Returned value: Approval ticket ID. Returned only when the operation starts an approval workflow.

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