Retrieve a device
GET/hris/{connection_id}/device/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Device
Returns
idstring
created_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
asset_tagstring
versionstring
device version
manufacturerstring
device manufacturer
modelstring
device model
osstring
operating system name
os_versionstring
user_idsstring array
users who have this device
admin_user_idsstring array
(reference to HrisEmployee)
location_idstring
pointer to HR Location object (reference to HrisLocation)
has_antivirusboolean
has_password_managerboolean
has_firewallboolean
has_hd_encryptedboolean
has_screenlockboolean
is_missingboolean
const options = {
method: 'GET',
url: 'https://api.unified.to/hris/5de520f96e439b002043d8dc/device/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know