XOMNI: Experience Omni-Channel

Last Updated: May 05, 2016

This API enables a client application to fetc a logical device details by ID.

Request

HTTP Method Resource URI
GET https://{tenantName}.api.xomni.com/company/logicaldevices/{deviceId}

URI Parameters

Parameter Name Description Type Conditions
deviceId The Id of the device which is going to be updated. String

Request Headers

Header Field Name Description
Authorization
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da
Accept
Includes minor version header.
Sample: application/vnd.xomni.api-v4-1, */*

Response

{
   "Data":{
      "DeviceId":"e4ded600-5faa-46fa-b7d9-7dde44725dfa",
      "Description":"Test Device",
      "DeviceTypeId":1,
      "DeviceTypeDescription":"Kiosk",
      "ExpirationDate":"2014-11-19T15:17:17.2730996+02:00",
      "Metadata":[

      ],
      "IsRealtimeEnabled":true
   }
}

Response Body Description

Parameter Name Description Type
Description Description of the device. String
Key The key for the metadata. String
Value The value of the metadata. String
IsRealtimeEnabled A boolean filed indicating whether the logical device has realtime capabilities or not. Unknown
RealtimeHostUrl Realtime endpoint host url. String
RealtimeAccessKey Realtime endpoint access key. String
DeviceId Unique ID of the device. String
DeviceTypeId Unique ID of the device type. Number
DeviceTypeDescription Description of the device type. String
ExpirationDate Expiration date of the device. Date

Response Headers

Header Field Name Description
Content-Type
Content type of the response entity. The value of this header is always application/json.

Status Codes

A successful operation returns status code 200 (OK) for GET operations. Possible response status codes are as listed below:

Status Code Description
400 (Bad Request) DeviceId is required.
404 (Not Found) Specified device not found.