User Tools

Site Tools


getcalendar

/pwg/getcalendar

The function returns a teesheet between 2 days. Id you want one day use the same date in startdate and enddate. If you use the parameter loggedin with value 1 the names, searchcodes and contributioncodes of the persons will show in the output. When you dont use the paramter the will not show.

Function: getcalendar

parameters: startdate, enddate

Optional paramtere: loggedin

Example: https://backend.prowaregolf.nl/api/getcalendar/key/<your authrisation code here>/startdate/<start date>/enddate/<end date>/loggedin/<When logged in then 1 else dont use this parameter>

result:

With parameter logged in:
{
 "getcalendar":[
  {
   "ingelogd":"1",
   "Datum":"2015-11-05",
   "Tijd":"09:20",
   "Lidnummer":"1",
   "Zoekcode":"TEST 1",
   "Naam":"Testpersoon",
   "Contributiecode":"GL99",
   "Soortregistratieid":"1",
   "Soortregistratie":"Speler",
   "Aantal":"0",
   "Lus":"Eerste 9 holes",
   "Objectid":"6",
   "Doorlooprijd":"02:00:00"
  }
 ]
}


Without parameter logged in:
{
 "getcalendar":[
  {
   "ingelogd":"2",
   "Datum":"2015-11-05",
   "Tijd":"09:20",
   "Lidnummer":"Afgeschermd",
   "Zoekcode":"Afgeschermd",
   "Naam":"Lid",
   "Contributiecode":"Afgeschermd",
   "Soortregistratieid":"1",
   "Soortregistratie":"Speler",
   "Aantal":"0",
   "Lus":"Eerste 9 holes",
   "Objectid":"6",
   "Doorlooprijd":"02:00:00"
  }
 ]
}
getcalendar.txt · Last modified: 2015/11/05 11:26 (external edit)