POST Api/MyDespar/RegisterDevice

Request Information

URI Parameters

None.

Body Parameters

Device
NameDescriptionTypeAdditional information
AppId

string

None.

Id

string

None.

Brand

string

None.

SOVersion

string

None.

Platform

string

None.

Language

string

None.

DeviceName

string

None.

DeviceType

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AppId": "sample string 1",
  "Id": "sample string 2",
  "Brand": "sample string 3",
  "SOVersion": "sample string 4",
  "Platform": "sample string 5",
  "Language": "sample string 6",
  "DeviceName": "sample string 7",
  "DeviceType": "sample string 8",
  "Active": true
}

application/xml, text/xml

Sample:
<Device xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotSteel.Service.Web.Models.MyDespar">
  <Active>true</Active>
  <AppId>sample string 1</AppId>
  <Brand>sample string 3</Brand>
  <DeviceName>sample string 7</DeviceName>
  <DeviceType>sample string 8</DeviceType>
  <Id>sample string 2</Id>
  <Language>sample string 6</Language>
  <Platform>sample string 5</Platform>
  <SOVersion>sample string 4</SOVersion>
</Device>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RegisterDeviceResponse
NameDescriptionTypeAdditional information
ResponseCheck

boolean

None.

ResponseError

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCheck": true,
  "ResponseError": "sample string 2"
}

application/xml, text/xml

Sample:
<RegisterDeviceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HotSteel.Service.Web.Models.MyDespar">
  <ResponseCheck>true</ResponseCheck>
  <ResponseError>sample string 2</ResponseError>
</RegisterDeviceResponse>