Rest MyAccount » History » Version 2
Go MAEDA, 2020-06-14 15:08
1 | 1 | Jean-Philippe Lang | h1. MyAccount |
---|---|---|---|
2 | |||
3 | h2. /my/account.:format |
||
4 | |||
5 | h3. GET |
||
6 | |||
7 | 2 | Go MAEDA | Returns the details of your account. |
8 | 1 | Jean-Philippe Lang | |
9 | 2 | Go MAEDA | +Examples+: |
10 | 1 | Jean-Philippe Lang | |
11 | 2 | Go MAEDA | <pre> |
12 | GET /my/account.xml |
||
13 | GET /my/account.json |
||
14 | </pre> |
||
15 | |||
16 | +Response+: |
||
17 | |||
18 | <pre><code class="xml"> |
||
19 | <?xml version="1.0" encoding="UTF-8"?> |
||
20 | <user> |
||
21 | <id>3</id> |
||
22 | <login>dlopper</login> |
||
23 | <admin>false</admin> |
||
24 | <firstname>Dave</firstname> |
||
25 | <lastname>Lopper</lastname> |
||
26 | <mail>dlopper@somenet.foo</mail> |
||
27 | <created_on>2006-07-19T17:33:19Z</created_on> |
||
28 | <last_login_on>2020-06-14T13:03:34Z</last_login_on> |
||
29 | <api_key>c308a59c9dea95920b13522fb3e0fb7fae4f292d</api_key> |
||
30 | <custom_fields type="array"> |
||
31 | <custom_field id="4" name="Phone number"> |
||
32 | <value/> |
||
33 | </custom_field> |
||
34 | <custom_field id="5" name="Money"> |
||
35 | <value/> |
||
36 | </custom_field> |
||
37 | </custom_fields> |
||
38 | </user> |
||
39 | </code></pre> |
||
40 | |||
41 | 1 | Jean-Philippe Lang | h3. PUT |
42 | |||
43 | 2 | Go MAEDA | Updates your account. |
44 | 1 | Jean-Philippe Lang | |
45 | TODO |