GET Entry/byDate?startDate={startDate}&endDate={endDate}&branchId={branchId}&offset={offset}&length={length}

Gets the data of all the accesses in an specific branch in a fix interval

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

Date to filter from

date

Required

endDate

Date to filter to

date

Required

branchId

branch Id

decimal number

Required

offset

Indicates how many result skip

integer

Required

length

Indicates how many result keep

integer

Required

Body Parameters

None.

Response Information

Resource Description

Array with Access data received and processed

Collection of Entry
NameDescriptionTypeAdditional 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-10T11:17:55.6672421+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-10T11:17:55.6672421+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-10T11:17:55.6672421+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-10T11:17:55.6672421+02:00</time>
  </Entry>
</ArrayOfEntry>