GET Entry/bybranch?branchid={branchid}&startDate={startDate}&endDate={endDate}&offset={offset}&length={length}

Gets the data of all the accesses in a specific branch

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branchid

id of the branch

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 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-10T09:43:04.2641412+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:43:04.2641412+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:43:04.2641412+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:43:04.2641412+02:00</time>
  </Entry>
</ArrayOfEntry>