Skip to content
Bill Rules

Add Auto-Mark Bill Rule

Add Auto-Mark Bill Rule.

Request parameters

  • Required: bill_type (Bill Type), fund_type_id (Fund Type ID)
  • Optional: bank_account (Bank Account), bank_username (Bank Username), bank_serial_no (Bank Serial No.), bank_busi_type (Bank Business Type), bank_remark (Bank Remark)
  • See each field for its format, allowed values, and business meaning.

Result

On success, the endpoint completes the operation. See the 200 response schema for returned data and subsequent state information.

POSThttps://b-api.longbridge.xyz/book/bill/rule

Authorization

Authorizationstringheaderaccounting.bill_rule_manageRequired

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

Request body application/json

bill_typestringrequired

Bill Type. Specifies Bill Type. This field is required.

fund_type_idstringrequired

Fund Type ID. Fund Type ID associated with this request.

bank_accountstring

Bank Account. Specifies Bank Account.

bank_usernamestring

Bank Username. Specifies Bank Username.

bank_serial_nostring

Bank Serial No.. Specifies Bank Serial No..

bank_busi_typestring

Bank Business Type. Specifies Bank Business Type.

bank_remarkstring

Bank Remark. Specifies Bank Remark.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs