User Tools

Site Tools


general

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general [2018/06/27 23:21]
clubadmin
general [2022/03/29 22:00] (current)
Line 1: Line 1:
 +===== Home.WakeUp=====
 +
 +Returns a text and makes sure the website is up.
 +
 +https://demo.clubplanner.be/Home/WakeUp/1
 +
 ===== General.GetClubs ===== ===== General.GetClubs =====
  
Line 11: Line 17:
 Result: 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":""}]+[{"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 ===== ===== General.GetClub =====
Line 27: Line 33:
 Result: Result:
  
-{"Id":1,"Name":"Demo Brussels","AddressLine":"Molenstraat 1","City":"Brussel","Zip":"1000","EMail":"info@clubplanner.be","Region":"","Classification":""}+{"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 ===== ===== General.GetCheckInPoint =====
Line 64: Line 78:
         /// <param name="token"></param>         /// <param name="token"></param>
         /// <param name="parameter"></param>         /// <param name="parameter"></param>
-        /// <param name="owner_id"></param>     +        /// <param name="ownerid"></param>     
  
  
-Example: https://demo.clubplanner.be/api/general/GetParameter?token=DEMOTOKEN&parameter=club_culture&owner_id=1+Example: https://demo.clubplanner.be/api/general/GetParameter?token=DEMOTOKEN&parameter=club_culture&ownerid=1
  
 Result: Result:
Line 135: Line 149:
 Example: https://demo.clubplanner.be/api/general/GetImage?token=DEMOTOKEN&type=option&data=1&format=gif&scale=0.25 Example: https://demo.clubplanner.be/api/general/GetImage?token=DEMOTOKEN&type=option&data=1&format=gif&scale=0.25
  
-Result:+===== General.UrlEncryptData=====
  
-Preview Image+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=====
 +
 +Decrypt a URL querystring using RSA encryption.
 +
 +        /// <param name="token"></param>
 +        /// <param name="input">string</param>
 +        
 +https://demo.clubplanner.be/api/general/UrlDecryptData?token=DEMOTOKEN&input=f8AqhFvuSFv77sbuDOHiBAQIYQ_T6UE77T5CO3uWpjG2DG-pgVweSEG3j_wE_UKCVuDiAnt4KlCH7sZx_P_DpuCxJpOm3gTCucrhl5GNW1Wv25vhFen_ciapW4jJnFY-qCCmD7tmBcfkAo3AtHIidIIL-Vy49V7GF6TqvF2GpiY1
general.1530134512.txt.gz · Last modified: 2018/06/27 23:21 by clubadmin