Accounts
The Accounts resource allows you to view financial accounts.
The full range of URIs and HTTP Verbs supported are:
Operation |
HTTP Action |
List a page of accounts. |
GET /Accounts |
GET Accounts
Available Fields for Accounts:
Field |
Type |
Length |
Notes |
AccountCode |
String |
50 |
|
AccountName |
String |
500 |
|
AccountType |
AccountType |
|
Can be either Sales, Cost of Goods Sold, or Expenses. |
Examples for Response GET /Accounts
show xml example
<?xml version="1.0"?>
<Accounts xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.unleashedsoftware.com/version/1">
<Pagination>
<NumberOfItems>7</NumberOfItems>
<PageSize>200</PageSize>
<PageNumber>1</PageNumber>
<NumberOfPages>1</NumberOfPages>
</Pagination>
<Account>
<AccountCode>NZSAL</AccountCode>
<AccountName>New Zealand Sales</AccountName>
<AccountType>Sales</AccountType>
</Account>
<Account>
<AccountCode>AUSAL</AccountCode>
<AccountName>Australian Sales</AccountName>
<AccountType>Sales</AccountType>
</Account>
<Account>
<AccountCode>MAN</AccountCode>
<AccountName>Manufacturing costs</AccountName>
<AccountType>Cost Of Goods Sold</AccountType>
</Account>
<Account>
<AccountCode>EMPL</AccountCode>
<AccountName>Wages & Salaries</AccountName>
<AccountType>Cost Of Goods Sold</AccountType>
</Account>
<Account>
<AccountCode>EQUP</AccountCode>
<AccountName>Equipment Costs</AccountName>
<AccountType>Expense</AccountType>
</Account>
<Account>
<AccountCode>OVRH</AccountCode>
<AccountName>Overheads</AccountName>
<AccountType>Expense</AccountType>
</Account>
<Account>
<AccountCode>UKSAL</AccountCode>
<AccountName>United Kingdom Sales</AccountName>
<AccountType>Sales</AccountType>
</Account>
</Accounts>
show json example
{
"Pagination": {
"NumberOfItems": 7,
"PageSize": 200,
"PageNumber": 1,
"NumberOfPages": 1
},
"Items": [
{
"AccountCode": "NZSAL",
"AccountName": "New Zealand Sales",
"AccountType": "Sales"
},
{
"AccountCode": "AUSAL",
"AccountName": "Australian Sales",
"AccountType": "Sales"
},
{
"AccountCode": "MAN",
"AccountName": "Manufacturing costs",
"AccountType": "Cost Of Goods Sold"
},
{
"AccountCode": "EMPL",
"AccountName": "Wages & Salaries",
"AccountType": "Cost Of Goods Sold"
},
{
"AccountCode": "EQUP",
"AccountName": "Equipment Costs",
"AccountType": "Expense"
},
{
"AccountCode": "OVRH",
"AccountName": "Overheads",
"AccountType": "Expense"
},
{
"AccountCode": "UKSAL",
"AccountName": "United Kingdom Sales",
"AccountType": "Sales"
}
]
}
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note: An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register.