XOMNI: Experience Omni-Channel

Last Updated: May 05, 2016

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


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
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da
Includes minor version header.
Sample: application/vnd.xomni.api-v4-1, */*


      "Description":"Test Device",


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 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.