User Tools

Site Tools


getcourselustees

This is an old revision of the document!


/pwg/getcourselustees

Returns the list of available courses

Function: getcourselustees

parameters: courseid, teeid, sex

Example: https://backend.prowaregolf.nl/api/getcourselustees/key/<your authrisation code here>/courseid/<courseid>/teeid/<teeid>/sex/<sex: M or V>

result:

{
"getcourselustees":[
{
"courseid":"36",
"teeid":"2",
"categoryid":"12",
"courseluscolor":" Oranje (heren)",
"sex":"M"
},
{
"courseid":"36",
"teeid":"2",
"categoryid":"11",
"courseluscolor":" Rood (heren)",
"sex":"M"
},
{
"courseid":"36",
"teeid":"2",
"categoryid":"10",
"courseluscolor":" Blauw (heren)",
"sex":"M"
},
{
"courseid":"36",
"teeid":"2",
"categoryid":"9",
"courseluscolor":" Geel (heren)",
"sex":"M"
},
{
"courseid":"36",
"teeid":"2",
"categoryid":"8",
"courseluscolor":" Wit",
"sex":"M"
}
getcourselustees.1445413974.txt.gz · Last modified: 2015/10/21 08:52 (external edit)