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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

CabReaderTypeViewModel
NameDescriptionTypeAdditional information
active

boolean

Required

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": "04ab20f1-017f-472c-90a5-599ba6f61322",
  "type": "sample string 4"
}

application/xml, text/xml

Sample:
<cab_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>04ab20f1-017f-472c-90a5-599ba6f61322</id>
  <type>sample string 4</type>
</cab_reader_type>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"be6220a5-c5ae-451e-89d8-f57d2c24d90b"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">be6220a5-c5ae-451e-89d8-f57d2c24d90b</guid>