GET Entry/bycustomer?customerid={customerid}&startDate={startDate}&endDate={endDate}&offset={offset}&length={length}
Gets the data of all the accesses of a customer
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerid |
id of the customer |
decimal number |
Required |
startDate |
Date to filter from |
date |
Required |
endDate |
Date to filter to |
date |
Required |
offset |
Indicates how many result skip |
integer |
Required |
length |
Indicates how many result keep |
integer |
Required |
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-10T09:56:13.2784215+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-10T09:56:13.2784215+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-10T09:56:13.2784215+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-10T09:56:13.2784215+02:00</time> </Entry> </ArrayOfEntry>