GET Entry/latest?totalEntries={totalEntries}&startDate={startDate}&branchid={branchid}
Gets the latest accesses in a specific branch
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
totalEntries |
total number of entries requested which cannot exceed 250 records |
integer |
Required |
startDate |
date to filter from (optional) |
date |
None. |
branchid |
id of the branch (optional) |
decimal number |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of EntryName | Description | Type | Additional information |
---|---|---|---|
id | decimal number |
None. |
|
time | date |
None. |
|
badgeid | string |
None. |
|
customerid | decimal number |
None. |
|
customerFullname | string |
None. |
|
deviceid | decimal number |
None. |
|
deviceName | string |
None. |
|
description | string |
None. |
|
direction | EntryDirection |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1.0, "time": "2025-05-10T10:35:24.4036921+02:00", "badgeid": "sample string 3", "customerid": 1.0, "customerFullname": "sample string 4", "deviceid": 1.0, "deviceName": "sample string 5", "description": "sample string 6", "direction": "IN" }, { "id": 1.0, "time": "2025-05-10T10:35:24.4036921+02:00", "badgeid": "sample string 3", "customerid": 1.0, "customerFullname": "sample string 4", "deviceid": 1.0, "deviceName": "sample string 5", "description": "sample string 6", "direction": "IN" } ]
application/xml, text/xml
Sample:
<ArrayOfEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel"> <Entry> <badgeid>sample string 3</badgeid> <customerFullname>sample string 4</customerFullname> <customerid>1</customerid> <description>sample string 6</description> <deviceName>sample string 5</deviceName> <deviceid>1</deviceid> <direction>IN</direction> <id>1</id> <time>2025-05-10T10:35:24.4036921+02:00</time> </Entry> <Entry> <badgeid>sample string 3</badgeid> <customerFullname>sample string 4</customerFullname> <customerid>1</customerid> <description>sample string 6</description> <deviceName>sample string 5</deviceName> <deviceid>1</deviceid> <direction>IN</direction> <id>1</id> <time>2025-05-10T10:35:24.4036921+02:00</time> </Entry> </ArrayOfEntry>