GET api/rfidreaderapi/RfidReadersBySite/{siteId}?active={active}&lastUpdate={lastUpdate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
Required |
|
| active | boolean |
None. |
|
| lastUpdate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of RfidReaderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| duration | integer |
None. |
|
| id | globally unique identifier |
None. |
|
| ip | string |
None. |
|
| name | string |
Required |
|
| pc_id | globally unique identifier |
None. |
|
| power | decimal number |
None. |
|
| sector_entry | integer |
None. |
|
| sector_exit | integer |
None. |
|
| sensibility | decimal number |
None. |
|
| site_id | globally unique identifier |
Required |
|
| tag_filter | string |
None. |
|
| rfid_reader_type_id | globally unique identifier |
Required |
|
| active | boolean |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"duration": 1,
"id": "eeb8dcf5-58d9-4fdb-8f81-2ac882c22cef",
"ip": "sample string 2",
"name": "sample string 3",
"pc_id": "360b61e4-8895-40f5-8958-a996b882d9da",
"power": 1.1,
"sector_entry": 1,
"sector_exit": 1,
"sensibility": 1.1,
"site_id": "596c0024-e5d4-4b45-819b-d331a69139c2",
"tag_filter": "sample string 4",
"rfid_reader_type_id": "f687fbcd-f8ca-42d0-9d72-4120a51db147",
"active": true
},
{
"duration": 1,
"id": "eeb8dcf5-58d9-4fdb-8f81-2ac882c22cef",
"ip": "sample string 2",
"name": "sample string 3",
"pc_id": "360b61e4-8895-40f5-8958-a996b882d9da",
"power": 1.1,
"sector_entry": 1,
"sector_exit": 1,
"sensibility": 1.1,
"site_id": "596c0024-e5d4-4b45-819b-d331a69139c2",
"tag_filter": "sample string 4",
"rfid_reader_type_id": "f687fbcd-f8ca-42d0-9d72-4120a51db147",
"active": true
}
]
application/xml, text/xml
Sample:
<ArrayOfrfid_reader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<rfid_reader>
<active>true</active>
<duration>1</duration>
<id>eeb8dcf5-58d9-4fdb-8f81-2ac882c22cef</id>
<ip>sample string 2</ip>
<name>sample string 3</name>
<pc_id>360b61e4-8895-40f5-8958-a996b882d9da</pc_id>
<power>1.1</power>
<rfid_reader_type_id>f687fbcd-f8ca-42d0-9d72-4120a51db147</rfid_reader_type_id>
<sector_entry>1</sector_entry>
<sector_exit>1</sector_exit>
<sensibility>1.1</sensibility>
<site_id>596c0024-e5d4-4b45-819b-d331a69139c2</site_id>
<tag_filter>sample string 4</tag_filter>
</rfid_reader>
<rfid_reader>
<active>true</active>
<duration>1</duration>
<id>eeb8dcf5-58d9-4fdb-8f81-2ac882c22cef</id>
<ip>sample string 2</ip>
<name>sample string 3</name>
<pc_id>360b61e4-8895-40f5-8958-a996b882d9da</pc_id>
<power>1.1</power>
<rfid_reader_type_id>f687fbcd-f8ca-42d0-9d72-4120a51db147</rfid_reader_type_id>
<sector_entry>1</sector_entry>
<sector_exit>1</sector_exit>
<sensibility>1.1</sensibility>
<site_id>596c0024-e5d4-4b45-819b-d331a69139c2</site_id>
<tag_filter>sample string 4</tag_filter>
</rfid_reader>
</ArrayOfrfid_reader>