Skip to content

Reference Device

Benedikt Schulze Baek edited this page Feb 13, 2017 · 2 revisions

Get Device

This method will get information about a specific device.

GET https://api.chayns.net/v2.0/{LocationID}/Device/{DeviceID}

Permissions
'PublicInfo', 'UserInfo', 'DeviceInfo'

Header
Authorization: Basic {TappId}:{Secret}

The part 'TappID:Secret' has to be Base64 encoded.

Parameter

  • LocationID : int - Can be found in chayns.env.site.
  • TappID : int - Can be found in chayns.env.site.tapp.
  • DeviceID : int - Can bet get by using the chayns.env.

Result

  • sysName : string - The name of the running OS.
  • sysVersion : string - The OS version of the device running the app.
  • lastRequest : string - The last recognized use of the app using that specific device.
  • deviceToken : string - A token generated for the device.
  • udid : string - The unique device identifier.
  • deviceId : int - An internal id of the device.
  • appVersion : int - The last recognized version of the app that is used on that specific device.