YM REST Services

<back to all web services

MembershipRenewalReminderGetRequest

Get the Membership Renewal Reminder details

Requires Authentication
Requires any of the roles:admin, oauthadminRequires the permission:CanAdminMembers
The following routes are available for this service:
GET/Ams/{ClientID}/MembershipRenewalReminder/{id}Return a Membership Renewal Reminders Details for given Membership Id.
MembershipRenewalReminderGetRequest Parameters:
NameParameterData TypeRequiredDescription
IdpathintNoMembership Id
MemberBaseSharedDto Parameters:
NameParameterData TypeRequiredDescription
MemberIDformintNo
BaseSharedDto Parameters:
NameParameterData TypeRequiredDescription
ClientIDformintNo
ResponseStatusformResponseStatusNo
BypassCacheformboolNo
DateCachedformDateTimeNo
DeviceformDeviceNo
MembershipRenewalReminderGetResponse Parameters:
NameParameterData TypeRequiredDescription
membershipRenewalReminderformMembershipRenewalReminderNo
MembershipRenewalReminder Parameters:
NameParameterData TypeRequiredDescription
IdformintNoMembership Id
AdvanceRenewalReminderformList<AdvanceRenewalReminder>NoAdvance Renewal Reminder configuration for Reminder 1 , 2 and 3
AdvanceMembershipRenewalDaysformint?NoHow many days in advance can memberships be renewed?
UseCustomLastDayExpireNotificationformbool?NoUse custom reminder email content for last day renewal reminder
UseCustomPostExpireNoticationformbool?NoUse custom reminder email content for post expiration renewal reminder
CustomLastDaySubjectformstringNoCustom subject for last day renewal reminder
CustomLastDayNotificationBodyformstringNoCustom message for last day renewal reminder
CustomPostExpireSubjectformstringNoCustom subject for post expiration renewal reminder
CustomPostExpireNotificationBodyformstringNoCustom message for post expiration renewal reminder
MembershipNameformstringNoMembership name
PostExpireMembershipRenewalDaysformint?NoHow many days after should a reminder be sent?
SendPostExpireMembershipReminderformbool?NoSend a reminder via email for post expiration renewal reminder
SendLastDayExpireMembershipReminderformbool?NoSend a reminder via email for last day renewal reminder
AdvanceRenewalReminder Parameters:
NameParameterData TypeRequiredDescription
ReminderTypeformintNoType of advance renewal reminder
SendMembershipReminderformbool?NoSend a reminder via email for advanced renewal reminder
AdvanceMembershipRenewalReminderDaysformint?NoHow many days in advance should a reminder be sent?
UseCustomPreExpireNotificationformbool?NoUse custom reminder email content for advanced renewal reminder
CustomPreExpireSubjectformstringNoCustom subject for advanced renewal reminder
CustomPreExpireNotificationBodyformstringNoCustom message for advanced renewal reminder

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Ams/{ClientID}/MembershipRenewalReminder/{id} HTTP/1.1 
Host: ws.yourmembership.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"membershipRenewalReminder":{"Id":0,"AdvanceRenewalReminder":[{"ReminderType":0,"SendMembershipReminder":false,"AdvanceMembershipRenewalReminderDays":0,"UseCustomPreExpireNotification":false,"CustomPreExpireSubject":"String","CustomPreExpireNotificationBody":"String"}],"AdvanceMembershipRenewalDays":0,"UseCustomLastDayExpireNotification":false,"UseCustomPostExpireNotication":false,"CustomLastDaySubject":"String","CustomLastDayNotificationBody":"String","CustomPostExpireSubject":"String","CustomPostExpireNotificationBody":"String","MembershipName":"String","PostExpireMembershipRenewalDays":0,"SendPostExpireMembershipReminder":false,"SendLastDayExpireMembershipReminder":false},"Id":0,"MemberID":0,"ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T08:37:04.1249068-05:00","Device":"Desktop"}