Skip to content
Longport Whale
Data source verification rules

Modify Data Check Config

Submitted by the inline "Edit" drawer form in the Data source verification rules list (when a record exists). The request body is { id: record.id, param: pick(values, ['sourceId','busi_type','channel','check_source','check_busi_type']), audit_frontend_resource }.

POSThttps://b-api.longbridge.xyz/book/data/check/modify

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

idstringrequired

Data Check Config ID. Taken from the edited record's id.

paramobjectrequired

Data Check Config Payload. Inner fields are the same as the create endpoint: sourceId (data source, single-select); busi_type (business type, multi-select, source varies with sourceId: sourceId=1 uses ref pg_book_types_bilateral_account, sourceId=6 uses ref pg_book_types_member_fee_account); channel (channel, text, disabled when sourceId=6); check_source (reconciliation data source, single-select, ref book_data_check_source); check_busi_type (reconciliation business type, multi-select, ref book_data_check_source_type).

audit_frontend_resourceobject

Audit Frontend Resource

Responses

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

No nested fields

Whale Docs