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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

BadgeReaderTypeViewModel
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

type

string

Required

String length: inclusive between 0 and 100

description

string

Required

active

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "id": "62bc3157-eb91-4f44-94bb-3808d5aeb78c",
  "type": "sample string 2",
  "description": "sample string 3",
  "active": true
}

application/xml, text/xml

Sample:
<badge_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 3</description>
  <id>62bc3157-eb91-4f44-94bb-3808d5aeb78c</id>
  <type>sample string 2</type>
</badge_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:
"50a83617-cf71-447c-9f5c-089902c3bfc2"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">50a83617-cf71-447c-9f5c-089902c3bfc2</guid>