Subscriptions
Click here for a complete list of operations.
GetAllAvailableSubsByStartDate
Return a list of all Subscription Types which may be purchased with OneOffPrice and ProRataPrice.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Plus2MemberWebserviceDEV/Subscriptions.asmx HTTP/1.1 Host: tst.myeveryoneactive.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.gladstonemrm.com/memberwebservice/GetAllAvailableSubsByStartDate" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthHeader xmlns="http://www.gladstonemrm.com/memberwebservice/"> <Username>string</Username> <Password>string</Password> <AppName>string</AppName> </AuthHeader> </soap:Header> <soap:Body> <GetAllAvailableSubsByStartDate xmlns="http://www.gladstonemrm.com/memberwebservice/"> <request> <SiteID>string</SiteID> <MemberID>int</MemberID> <WebBookable>boolean</WebBookable> <StartDate>dateTime</StartDate> <UseEFTDateModule>boolean</UseEFTDateModule> <CollectionRunDate>dateTime</CollectionRunDate> <SubscriptionTypeIDs> <string>string</string> <string>string</string> </SubscriptionTypeIDs> <PromotionCode>string</PromotionCode> </request> </GetAllAvailableSubsByStartDate> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetAllAvailableSubsByStartDateResponse xmlns="http://www.gladstonemrm.com/memberwebservice/"> <GetAllAvailableSubsByStartDateResult> <Subscription> <SubscriptionType> <SubTypeId>string</SubTypeId> <Description>string</Description> <SecondLanguageDescription>string</SecondLanguageDescription> <ProRataInd>boolean</ProRataInd> <WebComments>string</WebComments> <Instalments>int</Instalments> <Duration>int</Duration> <DurationType>Monthly or Daily or Weekly</DurationType> <PaymentMethodId>string</PaymentMethodId> <PaymentMethodDescription>string</PaymentMethodDescription> <Price>decimal</Price> <PriceOneOff>decimal</PriceOneOff> <PriceProRata>decimal</PriceProRata> <PriceTotal>decimal</PriceTotal> <DiscountPriceAmount>decimal</DiscountPriceAmount> <DiscountedPrice>decimal</DiscountedPrice> <PriceDiscountedUntil>dateTime</PriceDiscountedUntil> <DiscountPriceOneOffAmount>decimal</DiscountPriceOneOffAmount> <DiscountedPriceOneOff>decimal</DiscountedPriceOneOff> <IntroductoryPrice>decimal</IntroductoryPrice> <IntroductoryPriceUntil>dateTime</IntroductoryPriceUntil> <DiscountIntroductoryPriceAmount>decimal</DiscountIntroductoryPriceAmount> <DiscountedIntroductoryPrice>decimal</DiscountedIntroductoryPrice> <FirstRegularPrice>decimal</FirstRegularPrice> <FirstRegularPriceUntil>dateTime</FirstRegularPriceUntil> <DiscountFirstRegularPriceAmount>decimal</DiscountFirstRegularPriceAmount> <DiscountedFirstRegularPrice>decimal</DiscountedFirstRegularPrice> <NextCollectionDate>dateTime</NextCollectionDate> <SubscriptionTypeGroups xsi:nil="true" /> <OneOffProducts xsi:nil="true" /> <SubscriptionProducts xsi:nil="true" /> <SubscriptionFixPriceDetails xsi:nil="true" /> <ApplyToLinks>boolean</ApplyToLinks> <FixPriceDetails xsi:nil="true" /> <Priority>int</Priority> <PreventConcurrencyInd>int</PreventConcurrencyInd> <ApplyToCorporateLink>boolean</ApplyToCorporateLink> <RestrictToCorporateLink>boolean</RestrictToCorporateLink> <CollectionInterface>Manual or Direct_Debit or Credit_Card or External or Smart_Card or Cashless_Account or Loyalty_Points or Online_Authorisation or Invoicing_Account or EFT</CollectionInterface> <AllowDuplicate>boolean</AllowDuplicate> <SiteGroupId>string</SiteGroupId> <BackColor>string</BackColor> <ForeColor>string</ForeColor> <DiscountPromotionCodeApplied>string</DiscountPromotionCodeApplied> <NewMembershipEmailId>int</NewMembershipEmailId> <BlockNewMembershipEmail>boolean</BlockNewMembershipEmail> <AutoRenewInd>int</AutoRenewInd> </SubscriptionType> <SubscriptionType> <SubTypeId>string</SubTypeId> <Description>string</Description> <SecondLanguageDescription>string</SecondLanguageDescription> <ProRataInd>boolean</ProRataInd> <WebComments>string</WebComments> <Instalments>int</Instalments> <Duration>int</Duration> <DurationType>Monthly or Daily or Weekly</DurationType> <PaymentMethodId>string</PaymentMethodId> <PaymentMethodDescription>string</PaymentMethodDescription> <Price>decimal</Price> <PriceOneOff>decimal</PriceOneOff> <PriceProRata>decimal</PriceProRata> <PriceTotal>decimal</PriceTotal> <DiscountPriceAmount>decimal</DiscountPriceAmount> <DiscountedPrice>decimal</DiscountedPrice> <PriceDiscountedUntil>dateTime</PriceDiscountedUntil> <DiscountPriceOneOffAmount>decimal</DiscountPriceOneOffAmount> <DiscountedPriceOneOff>decimal</DiscountedPriceOneOff> <IntroductoryPrice>decimal</IntroductoryPrice> <IntroductoryPriceUntil>dateTime</IntroductoryPriceUntil> <DiscountIntroductoryPriceAmount>decimal</DiscountIntroductoryPriceAmount> <DiscountedIntroductoryPrice>decimal</DiscountedIntroductoryPrice> <FirstRegularPrice>decimal</FirstRegularPrice> <FirstRegularPriceUntil>dateTime</FirstRegularPriceUntil> <DiscountFirstRegularPriceAmount>decimal</DiscountFirstRegularPriceAmount> <DiscountedFirstRegularPrice>decimal</DiscountedFirstRegularPrice> <NextCollectionDate>dateTime</NextCollectionDate> <SubscriptionTypeGroups xsi:nil="true" /> <OneOffProducts xsi:nil="true" /> <SubscriptionProducts xsi:nil="true" /> <SubscriptionFixPriceDetails xsi:nil="true" /> <ApplyToLinks>boolean</ApplyToLinks> <FixPriceDetails xsi:nil="true" /> <Priority>int</Priority> <PreventConcurrencyInd>int</PreventConcurrencyInd> <ApplyToCorporateLink>boolean</ApplyToCorporateLink> <RestrictToCorporateLink>boolean</RestrictToCorporateLink> <CollectionInterface>Manual or Direct_Debit or Credit_Card or External or Smart_Card or Cashless_Account or Loyalty_Points or Online_Authorisation or Invoicing_Account or EFT</CollectionInterface> <AllowDuplicate>boolean</AllowDuplicate> <SiteGroupId>string</SiteGroupId> <BackColor>string</BackColor> <ForeColor>string</ForeColor> <DiscountPromotionCodeApplied>string</DiscountPromotionCodeApplied> <NewMembershipEmailId>int</NewMembershipEmailId> <BlockNewMembershipEmail>boolean</BlockNewMembershipEmail> <AutoRenewInd>int</AutoRenewInd> </SubscriptionType> </Subscription> </GetAllAvailableSubsByStartDateResult> </GetAllAvailableSubsByStartDateResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Plus2MemberWebserviceDEV/Subscriptions.asmx HTTP/1.1 Host: tst.myeveryoneactive.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <AuthHeader xmlns="http://www.gladstonemrm.com/memberwebservice/"> <Username>string</Username> <Password>string</Password> <AppName>string</AppName> </AuthHeader> </soap12:Header> <soap12:Body> <GetAllAvailableSubsByStartDate xmlns="http://www.gladstonemrm.com/memberwebservice/"> <request> <SiteID>string</SiteID> <MemberID>int</MemberID> <WebBookable>boolean</WebBookable> <StartDate>dateTime</StartDate> <UseEFTDateModule>boolean</UseEFTDateModule> <CollectionRunDate>dateTime</CollectionRunDate> <SubscriptionTypeIDs> <string>string</string> <string>string</string> </SubscriptionTypeIDs> <PromotionCode>string</PromotionCode> </request> </GetAllAvailableSubsByStartDate> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetAllAvailableSubsByStartDateResponse xmlns="http://www.gladstonemrm.com/memberwebservice/"> <GetAllAvailableSubsByStartDateResult> <Subscription> <SubscriptionType> <SubTypeId>string</SubTypeId> <Description>string</Description> <SecondLanguageDescription>string</SecondLanguageDescription> <ProRataInd>boolean</ProRataInd> <WebComments>string</WebComments> <Instalments>int</Instalments> <Duration>int</Duration> <DurationType>Monthly or Daily or Weekly</DurationType> <PaymentMethodId>string</PaymentMethodId> <PaymentMethodDescription>string</PaymentMethodDescription> <Price>decimal</Price> <PriceOneOff>decimal</PriceOneOff> <PriceProRata>decimal</PriceProRata> <PriceTotal>decimal</PriceTotal> <DiscountPriceAmount>decimal</DiscountPriceAmount> <DiscountedPrice>decimal</DiscountedPrice> <PriceDiscountedUntil>dateTime</PriceDiscountedUntil> <DiscountPriceOneOffAmount>decimal</DiscountPriceOneOffAmount> <DiscountedPriceOneOff>decimal</DiscountedPriceOneOff> <IntroductoryPrice>decimal</IntroductoryPrice> <IntroductoryPriceUntil>dateTime</IntroductoryPriceUntil> <DiscountIntroductoryPriceAmount>decimal</DiscountIntroductoryPriceAmount> <DiscountedIntroductoryPrice>decimal</DiscountedIntroductoryPrice> <FirstRegularPrice>decimal</FirstRegularPrice> <FirstRegularPriceUntil>dateTime</FirstRegularPriceUntil> <DiscountFirstRegularPriceAmount>decimal</DiscountFirstRegularPriceAmount> <DiscountedFirstRegularPrice>decimal</DiscountedFirstRegularPrice> <NextCollectionDate>dateTime</NextCollectionDate> <SubscriptionTypeGroups xsi:nil="true" /> <OneOffProducts xsi:nil="true" /> <SubscriptionProducts xsi:nil="true" /> <SubscriptionFixPriceDetails xsi:nil="true" /> <ApplyToLinks>boolean</ApplyToLinks> <FixPriceDetails xsi:nil="true" /> <Priority>int</Priority> <PreventConcurrencyInd>int</PreventConcurrencyInd> <ApplyToCorporateLink>boolean</ApplyToCorporateLink> <RestrictToCorporateLink>boolean</RestrictToCorporateLink> <CollectionInterface>Manual or Direct_Debit or Credit_Card or External or Smart_Card or Cashless_Account or Loyalty_Points or Online_Authorisation or Invoicing_Account or EFT</CollectionInterface> <AllowDuplicate>boolean</AllowDuplicate> <SiteGroupId>string</SiteGroupId> <BackColor>string</BackColor> <ForeColor>string</ForeColor> <DiscountPromotionCodeApplied>string</DiscountPromotionCodeApplied> <NewMembershipEmailId>int</NewMembershipEmailId> <BlockNewMembershipEmail>boolean</BlockNewMembershipEmail> <AutoRenewInd>int</AutoRenewInd> </SubscriptionType> <SubscriptionType> <SubTypeId>string</SubTypeId> <Description>string</Description> <SecondLanguageDescription>string</SecondLanguageDescription> <ProRataInd>boolean</ProRataInd> <WebComments>string</WebComments> <Instalments>int</Instalments> <Duration>int</Duration> <DurationType>Monthly or Daily or Weekly</DurationType> <PaymentMethodId>string</PaymentMethodId> <PaymentMethodDescription>string</PaymentMethodDescription> <Price>decimal</Price> <PriceOneOff>decimal</PriceOneOff> <PriceProRata>decimal</PriceProRata> <PriceTotal>decimal</PriceTotal> <DiscountPriceAmount>decimal</DiscountPriceAmount> <DiscountedPrice>decimal</DiscountedPrice> <PriceDiscountedUntil>dateTime</PriceDiscountedUntil> <DiscountPriceOneOffAmount>decimal</DiscountPriceOneOffAmount> <DiscountedPriceOneOff>decimal</DiscountedPriceOneOff> <IntroductoryPrice>decimal</IntroductoryPrice> <IntroductoryPriceUntil>dateTime</IntroductoryPriceUntil> <DiscountIntroductoryPriceAmount>decimal</DiscountIntroductoryPriceAmount> <DiscountedIntroductoryPrice>decimal</DiscountedIntroductoryPrice> <FirstRegularPrice>decimal</FirstRegularPrice> <FirstRegularPriceUntil>dateTime</FirstRegularPriceUntil> <DiscountFirstRegularPriceAmount>decimal</DiscountFirstRegularPriceAmount> <DiscountedFirstRegularPrice>decimal</DiscountedFirstRegularPrice> <NextCollectionDate>dateTime</NextCollectionDate> <SubscriptionTypeGroups xsi:nil="true" /> <OneOffProducts xsi:nil="true" /> <SubscriptionProducts xsi:nil="true" /> <SubscriptionFixPriceDetails xsi:nil="true" /> <ApplyToLinks>boolean</ApplyToLinks> <FixPriceDetails xsi:nil="true" /> <Priority>int</Priority> <PreventConcurrencyInd>int</PreventConcurrencyInd> <ApplyToCorporateLink>boolean</ApplyToCorporateLink> <RestrictToCorporateLink>boolean</RestrictToCorporateLink> <CollectionInterface>Manual or Direct_Debit or Credit_Card or External or Smart_Card or Cashless_Account or Loyalty_Points or Online_Authorisation or Invoicing_Account or EFT</CollectionInterface> <AllowDuplicate>boolean</AllowDuplicate> <SiteGroupId>string</SiteGroupId> <BackColor>string</BackColor> <ForeColor>string</ForeColor> <DiscountPromotionCodeApplied>string</DiscountPromotionCodeApplied> <NewMembershipEmailId>int</NewMembershipEmailId> <BlockNewMembershipEmail>boolean</BlockNewMembershipEmail> <AutoRenewInd>int</AutoRenewInd> </SubscriptionType> </Subscription> </GetAllAvailableSubsByStartDateResult> </GetAllAvailableSubsByStartDateResponse> </soap12:Body> </soap12:Envelope>