User Tools

Site Tools


member

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
member [2022/04/29 14:56]
clubadmin [Member.PaySubscription]
member [2026/02/23 11:42] (current)
clubadmin
Line 78: Line 78:
         /// <param name="email"></param>         /// <param name="email"></param>
  
-Example’s:+Examples:
 https://demo.clubplanner.be/api/member/getmember?token=DEMOTOKEN&id=1 https://demo.clubplanner.be/api/member/getmember?token=DEMOTOKEN&id=1
  
Line 89: Line 89:
 {"Id":1,"UId":"GMOL1","OwnerId":1,"OwnerName":"Demo Brussels","FirstName":"Jane","LastName":"Johanson","CheckInStatus":"20 turns left valid until 7 maart Remainder 60,00 €","CheckInStatusId":"HasRemainderLeft","EmailAddress":"jane.johanson@mail.com","MobileNumber":"04812121340","City":"Bruxelles","Zip":"1000","Address":"Streetroad 1","BirthDate":"14/07/1963","LastVisit":"08/08/2016 17:53","NumberOfVisits":8476,"Password":"0LlHgtVlYrxx3y1ch/lfGFmADSENw1wSK67fxRMQWZjE45FFWta1IrHTIM0oOgr5Q33MbfW7jR7vblHz+uLs","LanguageId":"EN"} {"Id":1,"UId":"GMOL1","OwnerId":1,"OwnerName":"Demo Brussels","FirstName":"Jane","LastName":"Johanson","CheckInStatus":"20 turns left valid until 7 maart Remainder 60,00 €","CheckInStatusId":"HasRemainderLeft","EmailAddress":"jane.johanson@mail.com","MobileNumber":"04812121340","City":"Bruxelles","Zip":"1000","Address":"Streetroad 1","BirthDate":"14/07/1963","LastVisit":"08/08/2016 17:53","NumberOfVisits":8476,"Password":"0LlHgtVlYrxx3y1ch/lfGFmADSENw1wSK67fxRMQWZjE45FFWta1IrHTIM0oOgr5Q33MbfW7jR7vblHz+uLs","LanguageId":"EN"}
  
 +===== Member.DeleteMember =====
 +
 +Method: member/DeleteMember 
 +
 +Deletes a member via MemberId
 +
 +        /// <param name="token"></param>
 +        /// <param name="memberid"></param> 
 +        
 ===== Member.AddSubscription ===== ===== Member.AddSubscription =====
  
Line 98: Line 107:
         /// <param name="token"></param>         /// <param name="token"></param>
         /// <param name="memberid"></param>         /// <param name="memberid"></param>
 +        /// <param name="owner">optional, when not provided it will use home club of member</param>
         /// <param name="subid"></param>         /// <param name="subid"></param>
         /// <param name="startdate"></param>         /// <param name="startdate"></param>
Line 200: Line 210:
         /// <param name="todate">mandatory</param>         /// <param name="todate">mandatory</param>
         /// <param name="subscriptionid">optional</param>         /// <param name="subscriptionid">optional</param>
 +        /// <param name="lastmodifiedfrom">optional, extra filter on starting from last modified on date</param>
 +        /// <param name="lastmodifiedto">optional, extra filter on until last modified on date</param>
         /// <param name="owner">optional</param>         /// <param name="owner">optional</param>
                  
Line 241: Line 253:
  
  
-Example's:+Examples:
  
 https://demo.clubplanner.be/api/member/GetSubscriptionOptions?token=DEMOTOKEN&subid=1&ownerid=1 https://demo.clubplanner.be/api/member/GetSubscriptionOptions?token=DEMOTOKEN&subid=1&ownerid=1
Line 316: Line 328:
         /// <param name="credit">amount</param>         /// <param name="credit">amount</param>
         /// <param name="id">Member Id</param>         /// <param name="id">Member Id</param>
 +        /// <param name="paymethod">optional, Paymethod Id</param>
         /// <param name="email">Email Address</param>         /// <param name="email">Email Address</param>
         /// <param name="uid">unique card ID</param>         /// <param name="uid">unique card ID</param>
 +        /// <param name="note">optional, note</param>
         /// <param name="from">Example: Icemachine</param>         /// <param name="from">Example: Icemachine</param>
  
Line 415: Line 429:
 Filter on EMAIL (LIKE filter) Filter on EMAIL (LIKE filter)
 https://demo.clubplanner.be/api/Member/GetMembers?token=DEMOTOKEN&filter=email_address%20like%20%27%gmail%%27 https://demo.clubplanner.be/api/Member/GetMembers?token=DEMOTOKEN&filter=email_address%20like%20%27%gmail%%27
 +
 +Filter op LAST MODIFIED (> Filter)
 +https://demo.clubplanner.be/api/Member/GetMembers?token=DEMOTOKEN&filter=last_modified%3E%272022/12/10%27%20
  
 Result: Result:
Line 437: Line 454:
         /// <param name="memberid">ID of member</param>         /// <param name="memberid">ID of member</param>
         /// <param name="message">content of SMS</param>         /// <param name="message">content of SMS</param>
 +        /// <param name="mobilenbr">optional mobile nbr to use</param>
         /// <param name="from"></param>         /// <param name="from"></param>
                  
Line 442: Line 460:
  
 https://demo.clubplanner.be/api/member/SendSMS?token=DEMOTOKEN&memberid=1&message=ABCDEF https://demo.clubplanner.be/api/member/SendSMS?token=DEMOTOKEN&memberid=1&message=ABCDEF
 +
 +https://demo.clubplanner.be/api/member/SendSMS?token=DEMOTOKEN&memberid=1&mobilenbr=123&message=ABCDEF
  
  
Line 547: Line 567:
         public bool Failed         public bool Failed
     }     }
 +    
 +===== Member.GetContractState=====
 +
 +Returns all the details of given contract
 +
 +        /// <param name="token"></param>
 +        /// <param name="contractid">id of the contract</param>
 +        
 +===== Member.GetContractFile=====
 +
 +Returns the signed pdf contract of a given contract
 +
 +        /// <param name="token"></param>
 +        /// <param name="contractid">id of the contract</param>
 +
member.1651237000.txt.gz · Last modified: 2022/04/29 14:56 by clubadmin