This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
getrelations [2013/12/17 13:38] richard |
getrelations [2014/01/20 14:08] (current) laurens |
||
---|---|---|---|
Line 20: | Line 20: | ||
result: | result: | ||
- | <code>{ | + | <code> |
{ | { | ||
"getrelations": [ | "getrelations": [ | ||
{ | { | ||
- | "balance": 304.73, | + | "relnr": 999999, |
- | "pmtnr": 300, | + | "relnrlocal": 1, |
- | "pmtname": "delflandcard" | + | "type": 0, |
+ | "lastname": "Knol", | ||
+ | "initials": "R", | ||
+ | "prefix": "", | ||
+ | "firstname": "Richard", | ||
+ | "rtlnr": 1, | ||
+ | "address1": "Moerstraat 7", | ||
+ | "address2": "", | ||
+ | "city": "Rotterdam", | ||
+ | "postalcode": "0000TT", | ||
+ | "isocountry": "NL", | ||
+ | "phone": "123456789", | ||
+ | "phonemobile": "123456789", | ||
+ | "phonework": "123456789", | ||
+ | "fax": "123456789", | ||
+ | "email": "helpdesk@intogolf.com", | ||
+ | "emailwork": "", | ||
+ | "datebirth": "19650225", | ||
+ | "handicap": 18.2, | ||
+ | "ngfnumber": "913753", | ||
+ | "externalid": "", | ||
+ | "debtorid": "5", | ||
+ | "maxcredit": 0, | ||
+ | "value1": "", | ||
+ | "value2": "", | ||
+ | "value3": "", | ||
+ | "companyrelnrlocal": 3, | ||
+ | "debtorrelnrlocal": 0, | ||
+ | "mailrelnrlocal": 0, | ||
+ | "language": 2, | ||
+ | "bankaccount": null, | ||
+ | "vatid": null, | ||
+ | "mbrcode": "KNOL01", | ||
+ | "membertype": "PL", | ||
+ | "relationtype1": 0, | ||
+ | "relationtype2": 0, | ||
+ | "relationtype3": 0, | ||
+ | "default_greenfee": 0, | ||
+ | "deleted": 0 | ||
} | } | ||
] | ] | ||
Line 33: | Line 71: | ||
}</code> | }</code> | ||
- | |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| | + | |initials|if the relation is a company, this field will be filled with an optional 2nd line of the company name| |
+ | |type |0 - person, 1 - company| | ||
+ | |rtlnr |1 - male, 2 - female| | ||
+ | |isocountry |2 letter country code| | ||
+ | |datebirth |dateformat yyyymmdd| | ||
+ | |language |2 dutch, 1 english| | ||