GET Classes/ecomm_get_bookings?customerid={customerid}&startdate={startdate}&enddate={enddate}

Gets bookings list

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerid

ID of a Customer

decimal number

Required

startdate

The start date

date

Required

enddate

The end date

date

Required

Body Parameters

None.

Response Information

Resource Description

Array of appointments

Collection of CustomerLesson
NameDescriptionTypeAdditional information
appointmentid

string

None.

timestart

date

None.

timeend

date

None.

date

date

None.

activityname

string

None.

skill

string

None.

objectname

string

None.

objecttype

string

None.

branchname

string

None.

isbooking

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "appointmentid": "sample string 1",
    "timestart": "2025-05-10T09:34:44.7321662+02:00",
    "timeend": "2025-05-10T09:34:44.7321662+02:00",
    "date": "2025-05-10T09:34:44.7321662+02:00",
    "activityname": "sample string 5",
    "skill": "sample string 6",
    "objectname": "sample string 7",
    "objecttype": "sample string 8",
    "branchname": "sample string 9",
    "isbooking": true
  },
  {
    "appointmentid": "sample string 1",
    "timestart": "2025-05-10T09:34:44.7321662+02:00",
    "timeend": "2025-05-10T09:34:44.7321662+02:00",
    "date": "2025-05-10T09:34:44.7321662+02:00",
    "activityname": "sample string 5",
    "skill": "sample string 6",
    "objectname": "sample string 7",
    "objecttype": "sample string 8",
    "branchname": "sample string 9",
    "isbooking": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerLesson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel">
  <CustomerLesson>
    <activityname>sample string 5</activityname>
    <appointmentid>sample string 1</appointmentid>
    <branchname>sample string 9</branchname>
    <date>2025-05-10T09:34:44.7321662+02:00</date>
    <isbooking>true</isbooking>
    <objectname>sample string 7</objectname>
    <objecttype>sample string 8</objecttype>
    <skill>sample string 6</skill>
    <timeend>2025-05-10T09:34:44.7321662+02:00</timeend>
    <timestart>2025-05-10T09:34:44.7321662+02:00</timestart>
  </CustomerLesson>
  <CustomerLesson>
    <activityname>sample string 5</activityname>
    <appointmentid>sample string 1</appointmentid>
    <branchname>sample string 9</branchname>
    <date>2025-05-10T09:34:44.7321662+02:00</date>
    <isbooking>true</isbooking>
    <objectname>sample string 7</objectname>
    <objecttype>sample string 8</objecttype>
    <skill>sample string 6</skill>
    <timeend>2025-05-10T09:34:44.7321662+02:00</timeend>
    <timestart>2025-05-10T09:34:44.7321662+02:00</timestart>
  </CustomerLesson>
</ArrayOfCustomerLesson>