<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://mediawiki.emersion.com.au/wiki/index.php?action=history&amp;feed=atom&amp;title=API%2FServices%2FCreateAccountDicountSubscription</id>
		<title>API/Services/CreateAccountDicountSubscription - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://mediawiki.emersion.com.au/wiki/index.php?action=history&amp;feed=atom&amp;title=API%2FServices%2FCreateAccountDicountSubscription"/>
		<link rel="alternate" type="text/html" href="https://mediawiki.emersion.com.au/wiki/index.php?title=API/Services/CreateAccountDicountSubscription&amp;action=history"/>
		<updated>2026-04-29T11:26:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.2</generator>

	<entry>
		<id>https://mediawiki.emersion.com.au/wiki/index.php?title=API/Services/CreateAccountDicountSubscription&amp;diff=2690&amp;oldid=prev</id>
		<title>Jlee: Created page with &quot;'''Purpose '''  This method is designed to allow the user a method to create an account discount subscription against their existing client.    '''Inputs'''     &lt;soapenv:Body&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.emersion.com.au/wiki/index.php?title=API/Services/CreateAccountDicountSubscription&amp;diff=2690&amp;oldid=prev"/>
				<updated>2014-09-10T08:10:42Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Purpose &amp;#039;&amp;#039;&amp;#039;  This method is designed to allow the user a method to create an account discount subscription against their existing client.    &amp;#039;&amp;#039;&amp;#039;Inputs&amp;#039;&amp;#039;&amp;#039;     &amp;lt;soapenv:Body&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Purpose '''&lt;br /&gt;
&lt;br /&gt;
This method is designed to allow the user a method to create an account discount subscription against their existing client.  &lt;br /&gt;
&lt;br /&gt;
'''Inputs'''&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;soapenv:Body&amp;gt;&lt;br /&gt;
      &amp;lt;ser:CreateAccountDiscountSubscription&amp;gt;&lt;br /&gt;
         &amp;lt;ser:AccountID&amp;gt;?&amp;lt;/ser:AccountID&amp;gt;&lt;br /&gt;
         &amp;lt;ser:DiscountPlanID&amp;gt;?&amp;lt;/ser:DiscountPlanID&amp;gt;&lt;br /&gt;
         &amp;lt;!--Optional:--&amp;gt;&lt;br /&gt;
         &amp;lt;ser:DateEffective&amp;gt;?&amp;lt;/ser:DateEffective&amp;gt;&lt;br /&gt;
      &amp;lt;/ser:CreateAccountDiscountSubscription&amp;gt;&lt;br /&gt;
   &amp;lt;/soapenv:Body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Important notes:'''&lt;br /&gt;
-	AccountID needs to be the ID of the Account in the Emersion system&lt;br /&gt;
-	DiscountPlanID needs to be the ID of the Discount Plan in the Emersion system&lt;br /&gt;
-	DateEffective has to be a valid date, it’s an optional field&lt;br /&gt;
&lt;br /&gt;
'''Example Validation Error:'''&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;SOAP-ENV:Fault&amp;gt;&lt;br /&gt;
         &amp;lt;faultcode&amp;gt;SOAP-ENV:Client&amp;lt;/faultcode&amp;gt;&lt;br /&gt;
         &amp;lt;faultstring&amp;gt;Validation Error&amp;lt;/faultstring&amp;gt;&lt;br /&gt;
         &amp;lt;faultactor&amp;gt;http://emersion.com.au/Services&amp;lt;/faultactor&amp;gt;&lt;br /&gt;
         &amp;lt;detail&amp;gt;Could not find Account ID!&amp;lt;/detail&amp;gt;&lt;br /&gt;
      &amp;lt;/SOAP-ENV:Fault&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Validation rules:'''&lt;br /&gt;
&lt;br /&gt;
-	Account Exists&lt;br /&gt;
&lt;br /&gt;
-	Account is a direct child of the account calling the API&lt;br /&gt;
&lt;br /&gt;
-	Account Discount Plan Exists&lt;br /&gt;
&lt;br /&gt;
-	Account Discount Plan owner is the same as the account calling the API&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Output'''&lt;br /&gt;
  &amp;lt;SOAP-ENV:Body&amp;gt;&lt;br /&gt;
      &amp;lt;ns1:CreateDiscountSubscriptionResponse&amp;gt;&lt;br /&gt;
         &amp;lt;ns1:AccountDiscountSubscriptionID&amp;gt;100013&amp;lt;/ns1:AccountDiscountSubscriptionID&amp;gt;&lt;br /&gt;
      &amp;lt;/ns1:CreateDiscountSubscriptionResponse&amp;gt;&lt;br /&gt;
   &amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This Account Discount Subscription doesn't have a Start Date!&lt;br /&gt;
&lt;br /&gt;
'''Error String:'''&lt;br /&gt;
&lt;br /&gt;
-	Invalid or Missing Account ID&lt;br /&gt;
&lt;br /&gt;
-	Invalid or Missing Discount Plan ID&lt;br /&gt;
&lt;br /&gt;
-	Could not find Account ID!&lt;br /&gt;
&lt;br /&gt;
-	You do not have permission to modify this Account!&lt;br /&gt;
&lt;br /&gt;
-	Account Discount Plan specified does not exist in the database!&lt;br /&gt;
&lt;br /&gt;
-	You do not have permission to modify this Account Discount Plan!&lt;/div&gt;</summary>
		<author><name>Jlee</name></author>	</entry>

	</feed>