GetAccounts¶
This method returns a list of all Accounts managed by a master account.
Request¶
GET https://api.uberflip.com/?Version=0.1&Method=GetAccounts&APIKey=xxxxxxx&Signature=xxxxxx&ResponseType=XML
URL Parameters | Description |
---|---|
Version | The version of the API to call (0.1 ). |
Method | The method being called (GetAccounts ). |
APIKey | Your account’s API key. |
Signature | Your account’s API signature. |
ResponseType | (optional) The response format (XML or JSON ). Defaults to JSON . |
Limit | (optional) The maximum number of results to return. |
Page | (optional) The page number of results to return. Defaults to 1 . |
SortBy | (optional) The field to sort the results by (id , username , company_name , firstname , lastname , created , or status ). |
SortDirection | (optional) The direction to sort the results in (ASC or DESC ). |
For results to be sorted, both SortBy
and SortDirection
are required.
Examples¶
Sample response:
<Response>
<User>
<id>1876</id>
<username>johndoe1</username>
<company_name>Acme Co.</company_name>
<firstname>John</firstname>
<lastname>Doe</lastname>
<created>2009-08-14 16:40:07</created>
<status>Active</status>
</User>
<User>
...
</User>
<User>
<id>1924</id>
<username>jane79</username>
<company_name>Muffins By Jane</company_name>
<firstname>Jane</firstname>
<lastname>Smith</lastname>
<created>2009-08-15 12:14:16</created>
<status>Active</status>
</User>
<Pagination>
<TotalResults>56</TotalResults>
<TotalPages>6</TotalPages>
<Page>1</Page>
</Pagination>
</Response>