DELETE api/Device/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DeviceModel
NameDescriptionTypeAdditional information
Id

integer

None.

SerialNumber

string

None.

QRCode

string

None.

TypeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SerialNumber": "sample string 2",
  "QRCode": "sample string 3",
  "TypeId": 4
}

application/xml, text/xml

Sample:
<DeviceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServis.Db">
  <Id>1</Id>
  <QRCode>sample string 3</QRCode>
  <SerialNumber>sample string 2</SerialNumber>
  <TypeId>4</TypeId>
</DeviceModel>