/hcp/gettees

Retrieve a list of available tees.

parameters:

auth the authorisation code you received from Intogolf BV (mandatory)
holes only show tees available on courses with 18 or 9 holes
clunr only show tees available on courses for this clunr (clunr is the official club id provided by the NGF)
ratnr show the tee for this course/tee combination

example: https://backend.ikgagolfen.nl/hcp/gettees?auth=<your authorisation code>&clunr=1 (will show all course/tee combinations for the Koninklijke Haagsche GCC)

result:

{
{
  "gettees": [
    {
      "teenr": 8,
      "teename": "white"
    },
    {
      "teenr": 9,
      "teename": "yellow"
    },
    {
      "teenr": 10,
      "teename": "blue"
    },
    {
      "teenr": 11,
      "teename": "red"
    },
    {
      "teenr": 13,
      "teename": "yellow"
    },
    {
      "teenr": 14,
      "teename": "blue"
    },
    {
      "teenr": 15,
      "teename": "red"
    }
  ]
}

if a wrong authorisation code is provided, the backend will return 401, Unauthorized