纷析云财务软件API
  1. 资产
纷析云财务软件API
资产
  • 应用
  • 用户
  • 总帐
  • 资金
  • 资产
  • 发票
  • 薪资
  • 设置
  • 资产
    • 资产列表
      GET
    • 新增资产
      POST
    • 删除资产
      DELETE
    • 批量删除资产
      DELETE
    • 资产复制
      POST
    • 账套Id获取资产列表
      GET
    • 新增账套资产
      POST
    • 资产总结
      POST
    • 资产检查
      POST
    • 资产拥有
      GET
    • 资产删除
      DELETE
    • 资产相关凭证
      GET
    • 生成凭证
      GET
    • 资产日期核算
      GET
    • 资产模板
      GET
    • 导入资产凭证
      POST
  • 资产折旧
    • 资产折旧列表
      GET
    • 资产折旧详情
      POST
    • 资产折旧
      GET
    • 取消资产折旧
      GET
    • 新增资产折旧
      POST
    • 更新资产折旧
      PUT
    • 资产折旧生成凭证
      GET
    • 资产折旧相关凭证
      GET
  • 资产明细
    • 资产明细列表
      GET
  • 资产类型
    • 资产类型列表
      GET
    • 新增资产类型
      POST
    • 删除资产类型
      DELETE
  1. 资产

新增资产

POST
https://v4.fenxi365.com/api/assets
最后修改时间:2024-04-25 16:53:32
责任人:未设置
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v4.fenxi365.com/api/assets' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "accountSetsId": 0,
    "code": "string",
    "name": "string",
    "assetsTypeId": 0,
    "startDate": "string",
    "addType": 0,
    "specification": "string",
    "supplier": "string",
    "deptId": 0,
    "entryDate": "string",
    "depreciationMethod": "string",
    "assetsSubjectCode": "string",
    "totalDepreciationSubjectCode": "string",
    "assetsCleanSubjectCode": "string",
    "depreciationExpenseSubjectCode": "string",
    "originalValue": 0,
    "useMonth": 0,
    "expectUseMonth": 0,
    "remainingUseMonth": 0,
    "residualRate": 0,
    "expectResidualRate": 0,
    "totalDepreciation": 0,
    "yearTotalDepreciation": 0,
    "beforeYearTotalDepreciation": 0,
    "currentMonthDepreciation": 0,
    "status": 0,
    "reduceType": "string",
    "reduceDate": "string",
    "remark": "string",
    "isVoucher": true,
    "isPeriod": true,
    "createDateTime": "string",
    "disposeType": "SELL",
    "disposeCheckDate": "string"
}'
响应示例响应示例
{
  "success": false,
  "code": 0,
  "msg": "",
  "data": {}
}

请求参数

Body 参数application/json
id
integer  | null 
可选
accountSetsId
integer  | null 
可选
code
string  | null 
可选
name
string  | null 
可选
assetsTypeId
integer  | null 
可选
startDate
string  | null 
可选
addType
integer  | null 
可选
增加方式{1:'购入',2:'在建工程转入',3:'其他'}
specification
string  | null 
可选
supplier
string  | null 
可选
deptId
integer  | null 
可选
entryDate
string  | null 
可选
depreciationMethod
string  | null 
可选
assetsSubjectCode
string  | null 
可选
totalDepreciationSubjectCode
string  | null 
可选
assetsCleanSubjectCode
string  | null 
可选
depreciationExpenseSubjectCode
string  | null 
可选
originalValue
number  | null 
可选
useMonth
integer  | null 
可选
expectUseMonth
integer  | null 
可选
remainingUseMonth
integer  | null 
可选
residualRate
number  | null 
可选
expectResidualRate
number  | null 
可选
totalDepreciation
number  | null 
可选
yearTotalDepreciation
number  | null 
可选
beforeYearTotalDepreciation
number  | null 
可选
currentMonthDepreciation
number  | null 
可选
status
integer  | null 
可选
{1:'正常',2:'停用',3:'出租'}
reduceType
string  | null 
可选
reduceDate
string  | null 
可选
remark
string  | null 
可选
isVoucher
boolean  | null 
可选
isPeriod
boolean  | null 
可选
createDateTime
string  | null 
可选
disposeType
enum<string>  | enum<null> 
处置类型
可选
枚举值:
SELLSCRAPOTHER
disposeCheckDate
string  | null 
处置期间
可选
示例

返回响应

🟢200成功
application/json
Body
<p>****************************************************************************</p> <p><b>Copyright © 2010-2019纷析云(杭州)科技有限公司All Rights Reserved<b></p> <ul style="margin:15px;"> <li>Description : 统一返回请求结果</li> <li>Version : 1.0</li> <li>Creation : 2019年11月18日</li> <li>@author : ____′↘夏悸</li> </ul> <p>****************************************************************************</p>
success
boolean  | null 
可选
默认值:
true
code
integer  | null 
可选
默认值:
200
msg
string  | null 
可选
data
object (Assets) 
可选
id
integer  | null 
可选
accountSetsId
integer  | null 
可选
code
string  | null 
可选
name
string  | null 
可选
assetsTypeId
integer  | null 
可选
startDate
string  | null 
可选
addType
integer  | null 
可选
增加方式{1:'购入',2:'在建工程转入',3:'其他'}
specification
string  | null 
可选
supplier
string  | null 
可选
deptId
integer  | null 
可选
entryDate
string  | null 
可选
depreciationMethod
string  | null 
可选
assetsSubjectCode
string  | null 
可选
totalDepreciationSubjectCode
string  | null 
可选
assetsCleanSubjectCode
string  | null 
可选
depreciationExpenseSubjectCode
string  | null 
可选
originalValue
number  | null 
可选
useMonth
integer  | null 
可选
expectUseMonth
integer  | null 
可选
remainingUseMonth
integer  | null 
可选
residualRate
number  | null 
可选
expectResidualRate
number  | null 
可选
totalDepreciation
number  | null 
可选
yearTotalDepreciation
number  | null 
可选
beforeYearTotalDepreciation
number  | null 
可选
currentMonthDepreciation
number  | null 
可选
status
integer  | null 
可选
{1:'正常',2:'停用',3:'出租'}
reduceType
string  | null 
可选
reduceDate
string  | null 
可选
remark
string  | null 
可选
isVoucher
boolean  | null 
可选
isPeriod
boolean  | null 
可选
createDateTime
string  | null 
可选
disposeType
enum<string>  | enum<null> 
处置类型
可选
枚举值:
SELLSCRAPOTHER
disposeCheckDate
string  | null 
处置期间
可选
修改于 2024-04-25 16:53:32
上一页
资产列表
下一页
删除资产
Built with