XOMNI: Experience Omni-Channel

Last Updated: May 05, 2016

This API enables a client application to update physical device information that is used during oauth token generation operation. Client applications can relate physical devices to spesific stores.

Request

{
   "Description":"Test Store",
   "StoreId":1
}
HTTP Method Resource URI
PUT https://{tenantName}.api.xomni.com/company/physicaldevices

Request Body Description

Parameter Name Description Type Conditions
Description Description of the physical device. String
Optional
StoreId Unique id of the store where physical device is used. Number
Optional.

Request Headers

Header Field Name Description
Content-Type
Content type of the response entity. The value of this header is always application/json.
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":"TestDevice",
      "Description":"Test Store",
      "StoreId":1
   }
}

Response Body Description

Parameter Name Description Type
Data.DeviceId Unique ID of the device. String
Data.StoreId Unique ID of the store where physical device is used. Number
Data.Description Description of the physical device. String

Response Headers

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