https://b-api.longbridge.xyz/book/account_detail/updateAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Account Detail ID. The entry id passed in the edit scenario; present only in the edit endpoint.
Book Source. A dropdown selection; values come from the pg_book_source dynamic enumeration; disabled and not editable in edit mode; converted to a number before submission.
Booking Type ID. Dropdown selection; values come from the pg_book_types_pickid_v2 dynamic enum (loaded in cascade based on the source field). When the source is 0, this item is hidden and not submitted.
Associated Account ID. A custom component selects the associated account; hidden and not submitted when the source is 0.
Transaction No. Disabled and not editable in edit mode.
Description. Free text.
Account Date. A date, converted to the 'YYYY-MM-DD 00:00:00' format before submission.
Ledger Date. A date, converted to the 'YYYY-MM-DD HH:mm:ss' format before submission.
Object Code. A dropdown selection; values come from the global_currency_filter_by_account_channel dynamic enumeration.
Debit First-level Subject Code. Dropdown selection for the debit first-level account; the values come from the linked account-query interface.
Debit Second-level Subject Code. Dropdown selection; debit second-level account, loaded in linkage with the debit first-level account.
Debit Third-level Subject Code. Dropdown selection for the debit lowest-level account, loaded in cascade based on the debit second-level account; once selected, the full name of the item is taken as the debit account name.
Credit First-level Subject Code. Dropdown selection for the credit first-level account; the values come from the linked account-query interface.
Credit Second-level Subject Code. Dropdown selection; credit second-level account, loaded in linkage with the credit first-level account.
Credit Third-level Subject Code. Dropdown selection for the credit lowest-level account, loaded in cascade based on the credit second-level account; once selected, the full name of the item is taken as the credit account name.
Amount. A number, converted to a string before submission.
Remark. Free text, up to 100 characters.
Debit Subject Full Name. Not a form field; when the debit leaf account is selected, its value is taken from the option's full name and attached on submit.
Credit Subject Full Name. Not a form field; when the credit leaf account is selected, its value is taken from the option's full name and attached on submit.
Object Type. The object type, submitted along with the request.
Audit Frontend Resource Snapshot. A snapshot of the original data fetched before editing, used for backend audit comparison; not a user-editable field.
Responses
HTTP 200No confirmable field definitions are available for the response yet.codemessagedatadataobjectdata structureNo nested fields