Skip to content
Longport Whale
Bizcode Management

Add Biz Code

Submitted by the "New" dialog form on the Bizcode Management page, adding a biz-code configuration. It changes biz-code configuration.

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

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

visibleboolean

Visible

business_typestringrequired

Business Type. Values come from the biz_code_business_type dynamic enumeration and are not fixed.

create_typestringrequired

Create Type. Creation method; values come from the biz_code_create_type dynamic enumeration: Customized = manual, Automatic = system-generated.

account_typestring

Account Type. Values come from the biz_code_account_type dynamic enumeration and are not fixed.

action_typestring

Action Type. Values come from the biz_code_action_type dynamic enumeration and are not fixed.

biz_codestringrequired

Biz Code

languagestring

Language Names. A JSON string holding the display names for each language.

remarkstring

Remark

Responses

HTTP 200Returns business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
ticket_idstring

Ticket ID. A non-zero value means it goes through the approval flow and must be viewed in the ticket.

Whale Docs