文档
测试

设备列表

GET
/api/v1/hardware

请求参数

参数名
类型
描述
必填
status_id
int
状态id
必填
category_id
int
分类id
必填
supplier_id
int
供应商id
必填
depart_id
int
部门id
必填
limit
int
每页条数
必填
page
int
页数
必填
order
int
排序顺序
必填
search
string
搜索字段 设备名称或者sn
必填
page_size
int
条数
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
object
数据字典
必填
total
int
示例:26
必填
list
array
数据列表
必填
id
int
示例:342
必填
name
object
示例:null
必填
asset_tag
object
示例:null
必填
model_id
string
示例:6
必填
serial
string
示例:1234567
必填
purchase_date
object
示例:null
必填
purchase_cost
object
示例:null
必填
order_number
object
示例:null
必填
assigned_to
object
示例:null
必填
notes
object
示例:null
必填
image
object
示例:null
必填
user_id
string
示例:1
必填
created_at
string
示例:2020-09-10 18:11:52
必填
updated_at
string
示例:2020-09-10 18:11:52
必填
physical
string
示例:1
必填
deleted_at
object
示例:null
必填
status_id
string
示例:3
必填
archived
string
示例:0
必填
warranty_months
object
示例:null
必填
depreciate
string
示例:0
必填
supplier_id
object
示例:null
必填
requestable
string
示例:0
必填
rtd_location_id
object
示例:null
必填
accepted
object
示例:null
必填
last_checkout
object
示例:null
必填
expected_checkin
object
示例:null
必填
company_id
string
示例:1
必填
assigned_type
object
示例:null
必填
last_audit_date
object
示例:null
必填
next_audit_date
object
示例:null
必填
location_id
object
示例:null
必填
checkin_counter
string
示例:0
必填
checkout_counter
string
示例:0
必填
requests_counter
string
示例:0
必填
assign_depart_id
string
示例:53
必填
feature
object
示例:null
必填
category_id
string
示例:3
必填
location
object
示例:null
必填
assetstatus
object
数据字典
必填
id
int
示例:3
必填
name
string
示例:Archived
必填
created_at
object
示例:null
必填
updated_at
string
示例:2020-08-07 14:15:34
必填
deployable
string
示例:0
必填
pending
string
示例:0
必填
archived
string
示例:1
必填
notes
string
示例:These assets are no longer in circulation or viable.
必填
color
object
示例:null
必填
show_in_nav
string
示例:0
必填
default_label
string
示例:0
必填
assetlog
array
数据列表
必填
id
int
示例:66
必填
user_id
string
示例:1
必填
action_type
string
示例:create
必填
target_id
object
示例:null
必填
target_type
object
示例:null
必填
location_id
object
示例:null
必填
note
object
示例:null
必填
filename
object
示例:null
必填
item_type
string
示例:App\Models\Asset
必填
item_id
string
示例:342
必填
expected_checkin
object
示例:null
必填
accepted_id
object
示例:null
必填
created_at
string
示例:2020-09-10 18:11:52
必填
updated_at
string
示例:2020-09-10 18:11:52
必填
deleted_at
object
示例:null
必填
thread_id
object
示例:null
必填
company_id
object
示例:null
必填
accept_signature
object
示例:null
必填
log_meta
object
示例:null
必填
company
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:云上贵州
必填
code
string
示例:
必填
description
object
示例:null
必填
status
string
示例:0
必填
create_time
string
示例:2020-07-09 12:13:20
必填
update_time
string
示例:2020-07-09 12:13:20
必填
default_loc
object
示例:null
必填
category
object
数据字典
必填
id
int
示例:3
必填
name
string
示例:打印机
必填
created_at
string
示例:2020-06-23 14:15:44
必填
updated_at
string
示例:2020-06-23 14:15:44
必填
eula_text
string
示例:打印机
必填
use_default_eula
string
示例:0
必填
require_acceptance
string
示例:1
必填
category_type
string
示例:asset
必填
checkin_email
string
示例:1
必填
image
object
示例:null
必填
model
object
数据字典
必填
id
int
示例:6
必填
name
string
示例:1001
必填
model_number
object
示例:null
必填
manufacturer_id
object
示例:null
必填
category_id
object
示例:null
必填
created_at
string
示例:2020-08-18 19:00:36
必填
updated_at
string
示例:2020-08-18 19:00:36
必填
depreciation_id
object
示例:null
必填
eol
object
示例:null
必填
image
object
示例:null
必填
deprecated_mac_address
string
示例:0
必填
fieldset_id
object
示例:null
必填
notes
object
示例:null
必填
requestable
string
示例:0
必填
manufacturer
object
示例:null
必填
fieldset
object
示例:null
必填
supplier
object
示例:null
必填