WebApi

<back to all web services

DeviceProvisionRequest

The following routes are available for this service:
PUT/devices/{DeviceIdentifier}/provisioningSaves device metadata to server.
OPTIONS/devices/{DeviceIdentifier}/provisioning

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/DeviceProvisionRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: application/xml
Content-Length: length

<DeviceProvisionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
  <AppBuildKind xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">Unknown</AppBuildKind>
  <AppKind xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">Unknown</AppKind>
  <DeviceAppVersion xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</DeviceAppVersion>
  <DeviceIdentifier xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</DeviceIdentifier>
  <HardwareIdentifier xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</HardwareIdentifier>
  <HardwareVersion xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</HardwareVersion>
  <Platform xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">Unknown</Platform>
  <PlatformVersion xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">String</PlatformVersion>
</DeviceProvisionRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DeviceProvisionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Mobile">
  <MessageDetails i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages" />
  <ResponseMessageKind xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages">None</ResponseMessageKind>
  <AppBuildInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models">
    <d2p1:AppBuildKind>Unknown</d2p1:AppBuildKind>
    <d2p1:AppKind>Unknown</d2p1:AppKind>
    <d2p1:VersionBuild>0</d2p1:VersionBuild>
    <d2p1:VersionMajor>0</d2p1:VersionMajor>
    <d2p1:VersionMinor>0</d2p1:VersionMinor>
    <d2p1:VersionRelease>0</d2p1:VersionRelease>
  </AppBuildInfo>
  <CurrentAppVersion>String</CurrentAppVersion>
  <IsAppOutdated>false</IsAppOutdated>
  <IsDeviceAllowed>false</IsDeviceAllowed>
  <IsUserAllowed>false</IsUserAllowed>
</DeviceProvisionResponse>