Update device's meta information (assignment info and location)
承認
ボディ
The status of the device. If IN_STOCK status is set, the device will be unassigned and the assignment start/end date will be cleared. If DECOMMISSIONED status is set, the assignment dates will be cleared but the last assigned user will be preserved for audit purposes.
in_stock, pre_use, active, missing, malfunction, decommissioned, on_order "active"
The people ID to assign the device to. If null, the device will be unassigned. Device that has IN_STOCK status can't be assigned to a person. For DECOMMISSIONED devices, the last assigned user is preserved for audit purposes.
123
The date the device is assigned to the person. Device that has IN_STOCK or DECOMMISSIONED can't have assignment start date
"2021-01-01"
The date the device assignment ends. Device that has IN_STOCK or DECOMMISSIONED can't have assignment end date
"2021-01-02"
Primary location information for the device
"location1"
Secondary location information for the device
"location2"
Comment or reason for the assignment/status change
"Assigned to new employee"
レスポンス
Unique identifier for the device
123
Additional notes or memo about the device
"foo bar"
Type of the device (e.g., PC, Phone, Tablet)
pc, phone, other "pc"
Person assigned to this device, or null if unassigned
Identity information of the assigned person, or null if unassigned
Preset fields for the device. This is a hashmap where the key maps to the field uniqueName in device fields.
Custom fields for the device. This is a hashmap where the key maps to the field uniqueName in device fields.
Timestamp when the device was created
"2024-03-20T00:00:00Z"
Timestamp when the device was last updated
"2024-03-20T00:00:00Z"

