User Tools

Site Tools


general

This is an old revision of the document!


General.GetClubs

Method: general/GetClubs

Returns all clubs available

      /// <param name="token"></param>

Example: https://demo.clubplanner.be/api/general/GetClubs?token=DEMOTOKEN

Result:

[{“Id”:1,“Name”:“Demo Brussels”,“AddressLine”:“Molenstraat 1”,“City”:“Brussel”,“Zip”:“1000”,“EMail”:“info@clubplanner.be”,“Region”:“”,“Classification”:“”},{“Id”:2,“Name”:“Demo Paris”,“AddressLine”:“Rue Mac Mahon”,“City”:“Paris”,“Zip”:“2000”,“EMail”:“info@test.be”,“Region”:“”,“Classification”:“”},{“Id”:3,“Name”:“Demo New York”,“AddressLine”:“6th Avenue”,“City”:“New York”,“Zip”:“90210”,“EMail”:“info@democlub.be”,“Region”:“”,“Classification”:“”}]

General.GetClub

Method: general/GetClub

Get the properties of a given club

      /// <param name="token"></param>
      /// <param name="id"></param>

Example: https://demo.clubplanner.be/api/general/GetClub?token=DEMOTOKEN&id=1

Result:

{“Id”:1,“Name”:“Demo Brussels”,“AddressLine”:“Molenstraat 1”,“City”:“Brussel”,“Zip”:“1000”,“EMail”:“info@clubplanner.be”,“Region”:“”,“Classification”:“”}

General.GetCheckInPoint

Get the properties of a given checkinpoint

      /// <param name="token"></param>
      /// <param name="id"></param>

Example: https://demo.clubplanner.be/api/general/GetClub?token=DEMOTOKEN&id=1

General.GetPaymentMethods

Method: general/GetPaymentMethods

Get all payment methods

      /// <param name="token"></param>        

Example: https://demo.clubplanner.be/api/general/GetPaymentMethods?token=DEMOTOKEN

Result:

[{“Id”:5,“Description”:“Bancontact”},{“Id”:11,“Description”:“Cadeaucheque”},{“Id”:1,“Description”:“Cash”},{“Id”:4,“Description”:“Domiciliering”},{“Id”:16,“Description”:“MAESTRO”},{“Id”:15,“Description”:“MASTERCARD”},{“Id”:3,“Description”:“Overschrijving”},{“Id”:12,“Description”:“Sportcheque”},{“Id”:13,“Description”:“Via Factuur”},{“Id”:14,“Description”:“VISA”},{“Id”:17,“Description”:“VISA DEBET”}]

General.GetParameter

Method: general/GetParameter

Get the properties of a given parameter

      /// <param name="token"></param>
      /// <param name="parameter"></param>
      /// <param name="owner_id"></param>     

Example: https://demo.clubplanner.be/api/general/GetParameter?token=DEMOTOKEN&parameter=club_culture&owner_id=1

Result:

{“Name”:“club_culture”,“Value”:“EN”}

general.1520972112.txt.gz · Last modified: 2018/03/13 22:15 (external edit)