This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gethandicaphistory [2013/02/12 14:46] richard |
gethandicaphistory [2013/12/16 12:34] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====/igg/gethandicaphistory==== | + | ====/hcp/gethandicaphistory==== |
Retrieve a list of all qualifying and non-qualifying golfrounds played by a golfer. | Retrieve a list of all qualifying and non-qualifying golfrounds played by a golfer. | ||
Line 7: | Line 7: | ||
|showpractise |if 1 the result will also include non-qualifying rounds| | |showpractise |if 1 the result will also include non-qualifying rounds| | ||
- | example: https://backend.ikgagolfen.nl/igg/gethandicaphistory?auth=<your authorisation code>&645347&showpractise=0 | + | example: https://backend.ikgagolfen.nl/hcp/gethandicaphistory?auth=<your authorisation code>&relnr=645347&showpractise=0 |
result: | result: | ||
Line 13: | Line 13: | ||
"gethandicaphistory": [ | "gethandicaphistory": [ | ||
{ | { | ||
+ | "ihhnr": 0, | ||
"chhnr": 0, | "chhnr": 0, | ||
"epenr": 188417, | "epenr": 188417, | ||
Line 27: | Line 28: | ||
}, | }, | ||
{ | { | ||
+ | "ihhnr": 0, | ||
"chhnr": 61674, | "chhnr": 61674, | ||
"epenr": 0, | "epenr": 0, | ||
Line 41: | Line 43: | ||
}, | }, | ||
{ | { | ||
+ | "ihhnr": 0, | ||
"chhnr": 0, | "chhnr": 0, | ||
"epenr": 186203, | "epenr": 186203, | ||
Line 58: | Line 61: | ||
+ | |ihhnr |internal id of the record in the handicap history of practise rounds| | ||
|chhnr |internal id of the record in the handicap history| | |chhnr |internal id of the record in the handicap history| | ||
|epenr |internal id of the record that represents the golfer in the competition (if applicable)| | |epenr |internal id of the record that represents the golfer in the competition (if applicable)| | ||
Line 71: | Line 75: | ||
|rmark |remark entered by the user | | |rmark |remark entered by the user | | ||
- | if a wrong authorisation code is provided, the backend will return “no authorisation” | + | if a wrong authorisation code is provided, the backend will return no result |