User Tools

Site Tools


getcoursedetails

/pwg/getcoursedetails

This function returns de details of the course

Function: getcoursedetails

parameters: no parameters required

Example: https://backend.prowaregolf.nl/api/getcoursedetails/key/<your authrisation code here>

result:

{
 "Coursedetails":[
  {
   "courseid":"898",
   "teeid":"1",
   "categoryid":"8",
   "courseluscolor":" Wit",
   "coursename":"Prowaregolf9 holes",
   "sex":"M",
   "cr":"70",
   "sr":"130",
   "par":"35",
   "par1":"4",
   "par2":"3",
   "par3":"5",
   "par4":"3",
   "par5":"4",
   "par6":"5",
   "par7":"4",
   "par8":"4",
   "par9":"3",
   "par10":"0",
   "par11":"0",
   "par12":"0",
   "par13":"0",
   "par41":"0",
   "par15":"0",
   "par16":"0",
   "par17":"0",
   "par18":"0",
   "length1":"335",
   "length2":"130",
   "length3":"486",
   "length4":"138",
   "length5":"367",
   "length6":"529",
   "length7":"353",
   "length8":"315",
   "length9":"181",
   "length10":"0",
   "length11":"0",
   "length12":"0",
   "length13":"0",
   "length14":"0",
   "length15":"0",
   "length16":"0",
   "length17":"0",
   "length18":"0",
   "strokeindex1":"7",
   "strokeindex2":"17",
   "strokeindex3":"3",
   "strokeindex4":"13",
   "strokeindex5":"1",
   "strokeindex6":"9",
   "strokeindex7":"15",
   "strokeindex8":"11",
   "strokeindex9":"5",
   "strokeindex10":"0",
   "strokeindex11":"0",
   "strokeindex12":"0",
   "strokeindex13":"0",
   "strokeindex14":"0",
   "strokeindex15":"0",
   "strokeindex16":"0",
   "strokeindex17":"0",
   "strokeindex18":"0"
  }
 ]
}
getcoursedetails.txt · Last modified: 2016/08/15 13:35 (external edit)