POST api/rfidreadertypeapi/add?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

RfidReaderTypeViewModel
NameDescriptionTypeAdditional information
active

boolean

None.

description

string

Required

id

globally unique identifier

None.

type

string

Required

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "active": true,
  "description": "sample string 2",
  "id": "6b1eb015-0b4b-4ada-b392-c16a11f094e9",
  "type": "sample string 4"
}

application/xml, text/xml

Sample:
<rfid_reader_type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <description>sample string 2</description>
  <id>6b1eb015-0b4b-4ada-b392-c16a11f094e9</id>
  <type>sample string 4</type>
</rfid_reader_type>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RfidReaderTypeViewModel'.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"8ed86f95-65da-43b4-a28e-4a61e5645ea1"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8ed86f95-65da-43b4-a28e-4a61e5645ea1</guid>