PUT api/Devices/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Device
NameDescriptionTypeAdditional information
Id

integer

None.

DeviceId

string

Required

UserName

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DeviceId": "sample string 2",
  "UserName": "sample string 3"
}

application/xml, text/xml

Sample:
<Device xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KemuriSF.Models">
  <DeviceId>sample string 2</DeviceId>
  <Id>1</Id>
  <UserName>sample string 3</UserName>
</Device>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.