https://b-api.longbridge.xyz/forex/rate/updateAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Rate Record ID. The primary key of the reference-exchange-rate record to edit, from the list row's record.id.
Rate Source. A read-only field taken from the record itself; the dropdown enum comes from ref rate_source.
Allowed values: FILE, MANUEL_CREATE (MANUEL CREATE), AUTO, COPY, CCASS (Auto Follow HKEX)
FILEMANUEL_CREATEAUTOCOPYCCASS
Channel / Change Type. A read-only field (disabled in edit mode); if multi-select, it is joined into a comma-separated string on submission. The dropdown enum comes from ref manual_forex_change_type, e.g. MANUAL_CURRENT/MANUAL_ACCOUNT/CCASS.
Allowed values: MANUAL_CURRENT (Spot rate), MANUAL_ACCOUNT (Ledger rate), CCASS
MANUAL_CURRENTMANUAL_ACCOUNTCCASS
Base Currency. A read-only field (disabled when editing); defaults to the standard_money currency from atm_currency_config.
Other Currency. Read-only field (disabled in edit mode).
Record Date. A read-only field (disabled in edit mode); converted by the client to a YYYYMMDD-format string before submission.
Bid Rate. Must be > 0, with precision determined by the rate_precision returned by the getCurrencyRateAccuracy endpoint.
Offer Rate. Must be > 0, with precision determined by the rate_precision returned by the getCurrencyRateAccuracy endpoint.
Average Rate. Must be > 0, with precision determined by the rate_precision returned by the getCurrencyRateAccuracy endpoint.
Audit Context. Audit information attached automatically by the client; in the edit scenario it contains $behavior / $action='edit' / bid_rate / offer_rate / average_rate (the pre-edit old values).
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