<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountId-discount%3AGET</id>
		<title>Accounts-accountId-discount:GET - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountId-discount%3AGET"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-discount:GET&amp;action=history"/>
		<updated>2026-04-26T01:13:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountId-discount:GET&amp;diff=2377&amp;oldid=prev</id>
		<title>Corinne.chui: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-discount:GET&amp;diff=2377&amp;oldid=prev"/>
				<updated>2016-05-30T19:33:57Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 19:33, 30 May 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Corinne.chui</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountId-discount:GET&amp;diff=2376&amp;oldid=prev</id>
		<title>Viktor.penkov: /* Response Body */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-discount:GET&amp;diff=2376&amp;oldid=prev"/>
				<updated>2015-11-06T12:38:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Response Body&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= GET /accounts/{accountId}/discount =&lt;br /&gt;
Get account level discount&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt; GET /accounts/{accountId}/discount &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The user account on which the discount is applied&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
; 200 OK&lt;br /&gt;
: Success&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: The supplied credentials are invalid or do not provide permissions for this operation.&lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The account or invoice does not exist.&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
    {&lt;br /&gt;
       &amp;quot;discountPercentage&amp;quot;: &amp;quot;{discountPercentage}&amp;quot;,&lt;br /&gt;
       &amp;quot;links&amp;quot;:&lt;br /&gt;
       [&lt;br /&gt;
           {&lt;br /&gt;
                &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/{accountId}/discount&amp;quot;,&lt;br /&gt;
                &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
           }&lt;br /&gt;
       ]&lt;br /&gt;
    }&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; discountPercentage - ''integer''&lt;br /&gt;
: Discount percentage&lt;br /&gt;
&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The user account on which the discount is applied&lt;br /&gt;
&lt;br /&gt;
; links - ''string''&lt;br /&gt;
:Hypermedia for this resource. Links to self&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Success scenario ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/test-account/discount&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    {&lt;br /&gt;
       &amp;quot;discountPercentage&amp;quot;: 30,&lt;br /&gt;
       &amp;quot;links&amp;quot;:&lt;br /&gt;
       [&lt;br /&gt;
           {&lt;br /&gt;
               &amp;quot;href&amp;quot;: &amp;quot;http://{{APIBaseURL}}/accounts/test-account/discount/&amp;quot;,&lt;br /&gt;
               &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;&lt;br /&gt;
           }&lt;br /&gt;
       ]&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Account|Account Management API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Account Management API]]&lt;/div&gt;</summary>
		<author><name>Viktor.penkov</name></author>	</entry>

	</feed>