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/03/13 21:31]
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 114: Line 128:
  
  
-Example: https://demo.clubplanner.be/api/general/token=DEMOTOKEN&message_id=129+Example: https://demo.clubplanner.be/api/general/GetEmail?token=DEMOTOKEN&message_id=129
  
 Result: Result:
Line 121: Line 135:
  
  
 +===== 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=====
 +
 +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.1520973060.txt.gz · Last modified: 2018/03/13 22:31 (external edit)