save_asset
save_assetAdd a new asset or update an existing one in a Yimu bookkeeping ledger. Provide asset fields such as name, type, balance, and total quota; include the asset ID to modify an existing record.
Instructions
新增或更新资产(POST /asset/addOrUpdateAsset,upsert:带主键为更新)。entity 字段:assetId 主键;assetName 名称;assetType 类型;assetNumber 余额;totalQuota 总额度;intoTotalAsset 计入总资产;hide 隐藏;bookId 账本;currency 币种;remark/simpleName/cardCode/positionWeight 可选;userId/updateTime 自动填充
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | 资产对象 |