User Tools

Site Tools


getmeasuredcourses

/hcp/getmeasuredcourses

Retrieve a list of coursedata as registered by the NGF. You can make subselections from this extensive list by providing one or more parameters.

parameters:

auth the authorisation code you received from Intogolf BV (mandatory)
holes limit the results to 18 or 9 holes
teenr limit the results to only this tee
clunr limit the results to only this clunr (clunr is the official club id provided by the NGF)
ratnr limit the results to 1 record that only shows the data for 1 specific course/tee combination

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

result:

{
{
  "getmeasuredcourses": [
    {
      "ratnr": 13,
      "clubname": "Koninklijke Haagsche GCC",
      "coursename": "Haagsche 18 holes",
      "clunr": 1,
      "teenr": 1,
      "par": 72,
      "cr": 74.2,
      "sr": 133,
      "holes": 18,
      "par1": 5,
      "par2": 4,
      "par3": 4,
      "par4": 3,
      "par5": 5,
      "par6": 4,
      "par7": 4,
      "par8": 3,
      "par9": 4,
      "par10": 5,
      "par11": 4,
      "par12": 3,
      "par13": 4,
      "par14": 4,
      "par15": 4,
      "par16": 4,
      "par17": 3,
      "par18": 5,
      "si1": 13,
      "si2": 7,
      "si3": 5,
      "si4": 11,
      "si5": 15,
      "si6": 1,
      "si7": 9,
      "si8": 17,
      "si9": 3,
      "si10": 12,
      "si11": 6,
      "si12": 16,
      "si13": 2,
      "si14": 10,
      "si15": 4,
      "si16": 14,
      "si17": 18,
      "si18": 8,
      "clubhcponly": 0
    },
    {
      "ratnr": 14,
      "clubname": "Koninklijke Haagsche GCC",
      "coursename": "Haagsche 18 holes",
      "clunr": 1,
      "teenr": 2,
      "par": 72,
      "cr": 71.4,
      "sr": 130,
      "holes": 18,
      "par1": 5,
      "par2": 4,
      "par3": 4,
      "par4": 3,
      "par5": 5,
      "par6": 4,
      "par7": 4,
      "par8": 3,
      "par9": 4,
      "par10": 5,
      "par11": 4,
      "par12": 3,
      "par13": 4,
      "par14": 4,
      "par15": 4,
      "par16": 4,
      "par17": 3,
      "par18": 5,
      "si1": 13,
      "si2": 7,
      "si3": 5,
      "si4": 11,
      "si5": 15,
      "si6": 1,
      "si7": 9,
      "si8": 17,
      "si9": 3,
      "si10": 12,
      "si11": 6,
      "si12": 16,
      "si13": 2,
      "si14": 10,
      "si15": 4,
      "si16": 14,
      "si17": 18,
      "si18": 8,
      "clubhcponly": 0
    },
    {
      "ratnr": 5416,
      "clubname": "Koninklijke Haagsche GCC",
      "coursename": "Haagsche 1e 9 holes",
      "clunr": 1,
      "teenr": 4,
      "par": 36,
      "cr": 75.0,
      "sr": 133,
      "holes": 9,
      "par1": 5,
      "par2": 4,
      "par3": 4,
      "par4": 3,
      "par5": 5,
      "par6": 4,
      "par7": 4,
      "par8": 3,
      "par9": 4,
      "par10": 0,
      "par11": 0,
      "par12": 0,
      "par13": 0,
      "par14": 0,
      "par15": 0,
      "par16": 0,
      "par17": 0,
      "par18": 0,
      "si1": 13,
      "si2": 7,
      "si3": 5,
      "si4": 11,
      "si5": 15,
      "si6": 1,
      "si7": 9,
      "si8": 17,
      "si9": 3,
      "si10": 0,
      "si11": 0,
      "si12": 0,
      "si13": 0,
      "si14": 0,
      "si15": 0,
      "si16": 0,
      "si17": 0,
      "si18": 0,
      "clubhcponly": 0
    },
    {
      "ratnr": 5417,
      "clubname": "Koninklijke Haagsche GCC",
      "coursename": "Haagsche 1e 9 holes",
      "clunr": 1,
      "teenr": 5,
      "par": 36,
      "cr": 74.5,
      "sr": 131,
      "holes": 9,
      "par1": 5,
      "par2": 4,
      "par3": 4,
      "par4": 3,
      "par5": 5,
      "par6": 4,
      "par7": 4,
      "par8": 3,
      "par9": 4,
      "par10": 0,
      "par11": 0,
      "par12": 0,
      "par13": 0,
      "par14": 0,
      "par15": 0,
      "par16": 0,
      "par17": 0,
      "par18": 0,
      "si1": 13,
      "si2": 7,
      "si3": 5,
      "si4": 11,
      "si5": 15,
      "si6": 1,
      "si7": 9,
      "si8": 17,
      "si9": 3,
      "si10": 0,
      "si11": 0,
      "si12": 0,
      "si13": 0,
      "si14": 0,
      "si15": 0,
      "si16": 0,
      "si17": 0,
      "si18": 0,
      "clubhcponly": 0
    },
    {
      "ratnr": 5418,
      "clubname": "Koninklijke Haagsche GCC",
      "coursename": "Haagsche 1e 9 holes",
      "clunr": 1,
      "teenr": 6,
      "par": 36,
      "cr": 70.3,
      "sr": 121,
      "holes": 9,
      "par1": 5,
      "par2": 4,
      "par3": 4,
      "par4": 3,
      "par5": 5,
      "par6": 4,
      "par7": 4,
      "par8": 3,
      "par9": 4,
      "par10": 0,
      "par11": 0,
      "par12": 0,
      "par13": 0,
      "par14": 0,
      "par15": 0,
      "par16": 0,
      "par17": 0,
      "par18": 0,
      "si1": 13,
      "si2": 7,
      "si3": 5,
      "si4": 11,
      "si5": 15,
      "si6": 1,
      "si7": 9,
      "si8": 17,
      "si9": 3,
      "si10": 0,
      "si11": 0,
      "si12": 0,
      "si13": 0,
      "si14": 0,
      "si15": 0,
      "si16": 0,
      "si17": 0,
      "si18": 0,
      "clubhcponly": 0
    }
  ]
}
ratnrid of the measured
teenrid of the tee used
clunrofficial id of the golfclub
teenrid of the tee
par par of the course
sr slope rating of the course
cr course rating of the course
holes 9 or 18 holes course
par1 .. 18 par of the hole
si1 .. 18 stroke index of the hole
clubhcponly if 1 this course can only be used for club handicaps (37-54) and not for EGA handicaps ⇐ 36)

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

getmeasuredcourses.txt · Last modified: 2013/11/27 11:27 by richard