User Tools

Site Tools


general

Home.WakeUp

Returns a text and makes sure the website is up.

https://demo.clubplanner.be/Home/WakeUp/1

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”:“”,“IsClubOpenType”:0},{“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”:“”,“IsClubOpenType”:0}]

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”:“”,“IsClubOpenType”:0}

Note: IsClubOpenType: * Open = 0, * Holiday = 1 * NotInHours = 2

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="ownerid"></param>     

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

Result:

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

General.UpdateParameter

Method: general/UpdateParameter

Update the value of given parameter

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

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

General.GetHtml

Method: general/GetHtml

Get the properties of a given ID

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

Example: https://demo.clubplanner.be/api/general/GetHtml?token=DEMOTOKEN&aId=app_home

Result:

{“Name”:“app_home”,“Value”:“<!DOCTYPE html>\n<html lang=\”en\“ >\n<head>\n <meta charset=\”UTF-8\“>\n <script src=\”https://demo.clubplanner.be/App/js/modernizr.min.js\“ type=\”text/javascript\“></script>\n<link href=\”https://fonts.googleapis.com/css?family=Dosis\“ rel=\”stylesheet\“ type=\”text/css\“>\n <link rel=\”stylesheet\“ href=\”https://demo.clubplanner.be/App/css/normalize.min.css\“>\n <link rel=\”stylesheet\“ href=\”https://demo.clubplanner.be/App/css/style.css\“>\n</head>\n<body> \n

\n <h1 class=\”headline\“>Club Planner\n

\n </h1>\n

\n</body>\n</html>\n”}

General.GetEmail

Method: general/GetEmail

Get the properties of a given message

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

Example: https://demo.clubplanner.be/api/general/GetEmail?token=DEMOTOKEN&message_id=129

Result:

{“Id”:129,“Subject”:“E-ID laten inlezen (SMS)”,“Description”:“Beste @[MEMBERFIRSTNAME]@, Gelieve bij uw volgende bezoek uw elektronische identiteitskaart te laten inlezen, ter activatie van uw lidkaart.”}

General.GetImage

Method: general/GetImage

Get the properties of a given image

      /// <param name="token"></param>
      /// <param name="type"></param>
      /// <param name="data"></param>
      /// <param name="format"></param>
      /// <param name="scale"></param>
      

Example: https://demo.clubplanner.be/api/general/GetImage?token=DEMOTOKEN&type=option&data=1&format=gif&scale=0.25

General.UrlEncryptData

Encrypt a URL querystring using RSA encryption.

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

https://demo.clubplanner.be/api/general/UrlEncryptData?token=DEMOTOKEN&input=my_data_to_be_encrypted

General.UrlDecryptData

general.txt · Last modified: 2022/03/29 22:00 (external edit)