GET api/Setting/TicketCheckGates/BySiteId/{siteid}
获取闸机清单
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteid |
检票站点ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取闸机清单
Collection of TicketCheckGateName | Description | Type | Additional information |
---|---|---|---|
siteid |
检票站点ID |
string |
None. |
gateid |
闸机ID |
string |
None. |
direction |
检票方向 I进入,O离开,A进入和离开 |
string |
None. |
reserve1 |
保留一 |
string |
None. |
reserve2 |
保留二 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "siteid": "sample string 1", "gateid": "sample string 2", "direction": "sample string 3", "reserve1": "sample string 4", "reserve2": "sample string 5" }, { "siteid": "sample string 1", "gateid": "sample string 2", "direction": "sample string 3", "reserve1": "sample string 4", "reserve2": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfTicketCheckGate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result"> <TicketCheckGate> <direction>sample string 3</direction> <gateid>sample string 2</gateid> <reserve1>sample string 4</reserve1> <reserve2>sample string 5</reserve2> <siteid>sample string 1</siteid> </TicketCheckGate> <TicketCheckGate> <direction>sample string 3</direction> <gateid>sample string 2</gateid> <reserve1>sample string 4</reserve1> <reserve2>sample string 5</reserve2> <siteid>sample string 1</siteid> </TicketCheckGate> </ArrayOfTicketCheckGate>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.