This is an old revision of the document!
Retrieve relation data of 1 relation, all relations or all realtions updated since a specific date.
parameters:
auth | the authorisation code you received from Intogolf BV (mandatory) (you need autorisation level 3 for this API) |
relnr | retrieve 1 (possibly more if duplicates exist) golfer with ikgagolfen id |
relnrlocal | retrieve 1 golfer with this local id within the domain of the golfcourse |
mbrcode | retrieve the golfer(s) with this membercode |
ngfnumber | retrieve the golfer(s) with this ngf number |
debtorid | retrieve the golfer(s) with this debtorid |
externalid | retrieve the golfer(s) with this externalid |
datefrom | retrieve data of all golfers changed since this date (format yyyymmdd) |
If only the auth parameter is provided, all non-deleted golfers are returned.
If a wrong authorisation code is provided, the backend will return 401,“Unauthorized”
example: https://backend.intogolf.com/itg/getrelations?auth=<your authorisation code>&relnr=659764
result:
{ "getrelations": [ { "balance": 304.73, "pmtnr": 300, "pmtname": "delflandcard" } ] }
rtlnr | 0 - person, 1 - company |
initials | if the relation is a company, this fild will be filled with an optional 2nd line of the company name |