<?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-attributes%3AGET</id>
		<title>Accounts-accountId-attributes: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-attributes%3AGET"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-attributes:GET&amp;action=history"/>
		<updated>2026-05-22T12:01:43Z</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-attributes:GET&amp;diff=2118&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 109</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-attributes:GET&amp;diff=2118&amp;oldid=prev"/>
				<updated>2015-07-24T18:12:40Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 109&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 18:12, 24 July 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountId-attributes:GET&amp;diff=2117&amp;oldid=prev</id>
		<title>Petre.popescu: Created page with &quot;= GET /accounts/''{accountId}''/attributes = Get attributes list. __TOC__ == Request == &lt;code&gt;GET /accounts/''{accountId}''/attributes&lt;/code&gt;  ==== Parameters ==== ; accountId...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-attributes:GET&amp;diff=2117&amp;oldid=prev"/>
				<updated>2015-04-28T18:13:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;= GET /accounts/&amp;#039;&amp;#039;{accountId}&amp;#039;&amp;#039;/attributes = Get attributes list. __TOC__ == Request == &amp;lt;code&amp;gt;GET /accounts/&amp;#039;&amp;#039;{accountId}&amp;#039;&amp;#039;/attributes&amp;lt;/code&amp;gt;  ==== Parameters ==== ; accountId...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= GET /accounts/''{accountId}''/attributes =&lt;br /&gt;
Get attributes list.&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;GET /accounts/''{accountId}''/attributes&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The Id of the Hostway account.&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
{{Authorization}}&lt;br /&gt;
&lt;br /&gt;
; Content-Type&lt;br /&gt;
: application/json&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;
; 403 Forbidden&lt;br /&gt;
: Forbidden access to a user not authorized for such access.&lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The account Id or attribute were not found.&lt;br /&gt;
&lt;br /&gt;
; 415 Unsupported Media Type&lt;br /&gt;
: The Content-Type header was not specified or the specified type is not supported. Use application/json.&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;list&amp;quot;: [&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;{name}&amp;quot;,&lt;br /&gt;
    &amp;quot;value&amp;quot;: &amp;quot;{value}&amp;quot;,&lt;br /&gt;
    &amp;quot;links&amp;quot; : [{&amp;quot;href&amp;quot;: &amp;quot;&amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/accounts/{accountId}/attributes/{name}&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;}]&lt;br /&gt;
  ],&lt;br /&gt;
  &amp;quot;links&amp;quot;: [&lt;br /&gt;
    {&amp;quot;href&amp;quot;: &amp;quot;&amp;lt;/nowiki&amp;gt;{{APIBaseURL}}&amp;lt;nowiki&amp;gt;/accounts/{accountId}/attributes&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;self&amp;quot;}&lt;br /&gt;
  ]&lt;br /&gt;
}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; list - ''list''&lt;br /&gt;
: A collection of dictionaries containing information about specific attribute&lt;br /&gt;
&lt;br /&gt;
:; name - ''string''&lt;br /&gt;
:: Descriptive name of the attribute&lt;br /&gt;
&lt;br /&gt;
:; value - ''string''&lt;br /&gt;
:: Value of the attribute&lt;br /&gt;
&lt;br /&gt;
: NOTE: The &amp;quot;partner_account_id&amp;quot; attribute will not be returned in this list.&lt;br /&gt;
&lt;br /&gt;
:;  links - ''list''&lt;br /&gt;
:: [[Hypermedia]] for this product resource. Links to the attribute.&lt;br /&gt;
&lt;br /&gt;
; links - ''list''&lt;br /&gt;
: [[Hypermedia]] for this resource. Links to self.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Sending unauthorized request ===&lt;br /&gt;
''Request''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/account-id/attributes&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;
401 Unauthorized&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sending request without setting Content-Type  ===&lt;br /&gt;
''Request''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/account-id/attributes&lt;br /&gt;
Authorization: Basic base64_encode(username:password)&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;
415 Unsupported Media Type&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Getting list of attributes of not existing account ===&lt;br /&gt;
'''Request'''&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
GET /accounts/not-existing-account-id/attributes&lt;br /&gt;
Authorization: Basic base64_encode(username:password)&lt;br /&gt;
Content-Type: application/json&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;
404 Not Found&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&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/account-id/attributes&lt;br /&gt;
Authorization: Basic base64_encode(username:password)&lt;br /&gt;
Content-Type: application/json&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;
200 OK&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;list&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;name&amp;quot;: &amp;quot;test_attribute&amp;quot;, &lt;br /&gt;
            &amp;quot;value&amp;quot;: &amp;quot;123&amp;quot;, &lt;br /&gt;
            &amp;quot;links&amp;quot;: [{&amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/account-id/attributes/test_attribute/&amp;quot;, &amp;quot;rel&amp;quot;: &amp;quot;related&amp;quot;}]&lt;br /&gt;
        }&lt;br /&gt;
    ],&lt;br /&gt;
    &amp;quot;links&amp;quot;: [&lt;br /&gt;
        {&lt;br /&gt;
            &amp;quot;href&amp;quot;: &amp;quot;{{APIBaseURL}}/accounts/account-id/attributes/&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;
== 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>Petre.popescu</name></author>	</entry>

	</feed>