Returns the list of available courses
Function: getcourses
parameters: no parameters required
Example: https://backend.prowaregolf.nl/api/getcourses/key/<your authrisation code here>
result:
{
"getcourses":[
{
"courseid":"1",
"coursename":"Koninklijke Haagsche GCC",
"teeid":"2",
"lusname":"Haagsche 2e 9 holes",
"amountofholes":"9",
"courserating":"66.9",
"sloperating":"117",
"par":"36",
"categoryid":"11",
"teename":" Rood (heren)"
},
{
"courseid":"1",
"coursename":"Koninklijke Haagsche GCC",
"teeid":"2",
"lusname":"Haagsche 2e 9 holes",
"amountofholes":"9",
"courserating":"64.9",
"sloperating":"113",
"par":"36",
"categoryid":"12",
"teename":" Oranje (heren)"
},
{
"courseid":"1",
"coursename":"Koninklijke Haagsche GCC",
"teeid":"2",
"lusname":"Haagsche 2e 9 holes",
"amountofholes":"9",
"courserating":"76.7",
"sloperating":"138",
"par":"36",
"categoryid":"13",
"teename":" Geel (dames)"
}
]
}