文档
测试

设备详情

GET
api/v1/hardware/{hardware}

接口描述

{hardware}为设备的id

响应参数

参数名
类型
描述
必填
id
int
示例:342
必填
name
string
示例:
必填
asset_tag
string
示例:
必填
serial
string
示例:1234567
必填
model
object
数据字典
必填
id
int
示例:6
必填
name
string
示例:1001
必填
model_number
object
示例:null
必填
eol
object
示例:null
必填
status_label
object
数据字典
必填
id
int
示例:3
必填
name
string
示例:Archived
必填
status_type
string
示例:archived
必填
status_meta
string
示例:archived
必填
category
object
数据字典
必填
id
int
示例:3
必填
name
string
示例:打印机
必填
manufacturer
object
示例:null
必填
supplier
object
示例:null
必填
notes
object
示例:null
必填
order_number
object
示例:null
必填
company
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:云上贵州
必填
location
object
示例:null
必填
rtd_location
object
示例:null
必填
image
object
示例:null
必填
assigned_to
object
数据字典
必填
id
int
示例:53
必填
name
string
示例:12312
必填
type
string
示例:department
必填
warranty_months
object
示例:null
必填
warranty_expires
object
示例:null
必填
created_at
object
数据字典
必填
datetime
string
示例:2020-09-10 18:11:52
必填
formatted
string
示例:2020-09-10 6:11PM
必填
updated_at
object
数据字典
必填
datetime
string
示例:2020-09-10 18:11:52
必填
formatted
string
示例:2020-09-10 6:11PM
必填
last_audit_date
object
示例:null
必填
next_audit_date
object
示例:null
必填
deleted_at
object
示例:null
必填
purchase_date
object
示例:null
必填
last_checkout
object
示例:null
必填
expected_checkin
object
示例:null
必填
purchase_cost
object
示例:null
必填
checkin_counter
int
示例:0
必填
checkout_counter
int
示例:0
必填
requests_counter
int
示例:0
必填
user_can_checkout
boolean
示例:false
必填
custom_fields
array
数据列表
必填
available_actions
object
数据字典
必填
clone
boolean
示例:true
必填
restore
boolean
示例:false
必填
update
boolean
示例:true
必填
delete
boolean
示例:true
必填