Skip to content
Longport Whale
Business type

Edit Booking Type

Submission of the inline "Edit" dialog on the Business Type list.

POSThttps://b-api.longbridge.xyz/book/edit_booking_types

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Booking Type ID. Taken from the row data record.id.

source_idstringrequired

Source ID. Single-select, enum sourced from ref book_data_source.

directionstring

Direction. A radio whose enum comes from the booking_types_pay reference; hidden and not submitted when source_id is the client fee list.

biz_codestringrequired

Biz Code. The dropdown options come from getBizCodeOptions.

is_accountstringrequired

Is Account. A radio whose enum comes from the ref booking_types_is_account.

YN

account_currenciesarray<string>required

Account Currencies. A tree-select component; fixed to ['ALL'] when is_account=N.

language_enstring

Language EN. Taken from the name.en of the biz_code option.

language_cnstring

Language CN. Taken from name['zh-CN'] of the biz_code option.

language_hkstring

Language HK. Taken from name['zh-HK'] of the biz_code option.

audit_frontend_resourceobject

Audit Frontend Resource. Taken from the row data record before editing; not a business field.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs