Skip to content
Transfer-Out Details

Batch Update Transfer-out Stock Detail

Batch-updates the status of withdrawal detail items, updating a group of items to the specified status.

Request parameters

  • Required: ids (withdrawal detail ID list), state (updated status)
  • Optional: remark (remark), remark_config_type (remark type configuration)
  • See the field descriptions for the format, value range, and business meaning of each field.

Business notes

Advances transfer-out processing in batch at the security-detail granularity. remark is recorded according to remark_config_type.

Only rows whose current state is 0 (initialized) and that have no pending approval ticket are accepted. Rows already in a final state (1 succeeded, 2 failed) or with a pending ticket return the generic error 203500.

Risk warning

This operation changes the live status of withdrawal detail items and affects transfer-out processing progress. Confirm the target items and target status before calling.

Result

On success, the selected withdrawal detail items are updated. The resulting state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/v1/atm/batch/transfer/out/stock/update

Authorization

AuthorizationstringheaderRequired

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

Permission

finance.update_transfer_out_stock

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

idsarray<string>required

Transfer-out detail ID list. IDs of the batch-selected rows; only rows in state 0 (initialized) can be updated.

statenumberrequired

Resulting State. Target state after the batch update; in the "Update" dialog, send 1 when confirming success and 2 when confirming failure.

Allowed values: 1 Success, 2 Failed

Values
1
Success
2
Failed
remarkstring

Remark. Passed only when marking as failed; corresponds to the failure reason entered in the dialog.

remark_config_typestring

Remark Config Type. An optional remark-type configuration field, usually not sent.

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