https://b-api.longbridge.xyz/book/account_detail/updateAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
The entry id passed in the edit scenario; present only in the edit endpoint.
A dropdown selection; values come from the book_source dynamic enumeration; disabled and not editable in edit mode; converted to a number before submission.
Call GET /v1/datasets/refs/book_source to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Dropdown selection; values come from the book_business_types_by_source dynamic enum (loaded in cascade based on the source field). When the source is 0, this item is hidden and not submitted.
Call GET /v1/datasets/refs/book_business_types_by_source to retrieve the current data dictionary, and use the returned entry's key as this field's value.
A custom component selects the associated account; hidden and not submitted when the source is 0.
Specifies Transaction No.. This field is required.
Specifies Description. This field is required.
A date, converted to the 'YYYY-MM-DD 00:00:00' format before submission.
A date, converted to the 'YYYY-MM-DD HH:mm:ss' format before submission.
A dropdown selection; values come from the tenant_currencies_by_channel dynamic enumeration.
Call GET /v1/datasets/refs/tenant_currencies_by_channel to retrieve the current data dictionary, and use the returned entry's key as this field's value.
Dropdown selection for the debit first-level account; the values come from the linked account-query interface.
Dropdown selection; debit second-level account, loaded in linkage with the debit first-level account.
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.
Dropdown selection for the credit first-level account; the values come from the linked account-query interface.
Dropdown selection; credit second-level account, loaded in linkage with the credit first-level account.
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 involved in this business operation. This field is required.
Free text, up to 100 characters.
Not a request field; when the debit leaf account is selected, its value is taken from the option's full name and attached on submit.
Not a request field; when the credit leaf account is selected, its value is taken from the option's full name and attached on submit.
Specifies Object Type.
A snapshot of the original data fetched before editing, used for backend audit comparison; not a user-editable field.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureNo nested fields
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields