curl --request GET \
--url https://api.exowpee.com/v1/accounting/client/fixed-assets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.exowpee.com/v1/accounting/client/fixed-assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.exowpee.com/v1/accounting/client/fixed-assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.exowpee.com/v1/accounting/client/fixed-assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.exowpee.com/v1/accounting/client/fixed-assets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.exowpee.com/v1/accounting/client/fixed-assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.exowpee.com/v1/accounting/client/fixed-assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"owner_type": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>",
"asset_account_id": "<string>",
"asset_account": {},
"depreciation_account_id": "<string>",
"depreciation_account": {},
"expense_account_id": "<string>",
"expense_account": {},
"acquisition_date": "2023-12-25",
"in_service_date": "2023-12-25",
"acquisition_cost": 123,
"salvage_value": 123,
"useful_life_months": 123,
"method": "<string>",
"fiscal_method": "<string>",
"fiscal_rate": 123,
"fiscal_useful_life_months": 123,
"fiscal_accumulated_depreciation": 123,
"status": "<string>",
"accumulated_depreciation": 123,
"net_book_value": 123,
"acquisition_journal_entry_id": "<string>",
"disposal_date": "2023-12-25",
"disposal_proceeds": 123,
"disposal_journal_entry_id": "<string>",
"currency_code": "<string>",
"currency_exponent": 123,
"created_by": "<string>",
"created_by_type": "<string>",
"version": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"per_page": 123,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"errors": {}
}List fixed assets (client account)
Client space, on the client’s own books. Lists the fixed assets of the book, optionally by status.
curl --request GET \
--url https://api.exowpee.com/v1/accounting/client/fixed-assets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.exowpee.com/v1/accounting/client/fixed-assets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.exowpee.com/v1/accounting/client/fixed-assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.exowpee.com/v1/accounting/client/fixed-assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.exowpee.com/v1/accounting/client/fixed-assets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.exowpee.com/v1/accounting/client/fixed-assets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.exowpee.com/v1/accounting/client/fixed-assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"owner_type": "<string>",
"code": "<string>",
"name": "<string>",
"description": "<string>",
"asset_account_id": "<string>",
"asset_account": {},
"depreciation_account_id": "<string>",
"depreciation_account": {},
"expense_account_id": "<string>",
"expense_account": {},
"acquisition_date": "2023-12-25",
"in_service_date": "2023-12-25",
"acquisition_cost": 123,
"salvage_value": 123,
"useful_life_months": 123,
"method": "<string>",
"fiscal_method": "<string>",
"fiscal_rate": 123,
"fiscal_useful_life_months": 123,
"fiscal_accumulated_depreciation": 123,
"status": "<string>",
"accumulated_depreciation": 123,
"net_book_value": 123,
"acquisition_journal_entry_id": "<string>",
"disposal_date": "2023-12-25",
"disposal_proceeds": 123,
"disposal_journal_entry_id": "<string>",
"currency_code": "<string>",
"currency_exponent": 123,
"created_by": "<string>",
"created_by_type": "<string>",
"version": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"per_page": 123,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}
}{
"message": "<string>"
}{
"message": "<string>",
"errors": {}
}fixed_assets.list
Conditions
- The accounting module must be part of the organization’s plan.
- status, when sent, must be active, fully_depreciated or disposed.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Number of items per page.
1 <= x <= 100Position in the list. Pass the meta.next_cursor or meta.prev_cursor value of the previous page; leave it out to get the first page.
Field the list is sorted by.
code, acquisition_date, in_service_date, created_at asc for ascending order, desc for descending order.
asc, desc Narrows the list to assets in one status: active, fully_depreciated or disposed.
active, fully_depreciated, disposed Response mode. Default resource; none answers 204 No Content.
resource Comma-separated JSON keys of the root resource (id is always rendered). Available: id, owner_type, code, name, description, asset_account_id, depreciation_account_id, expense_account_id, acquisition_date, in_service_date, acquisition_cost, salvage_value, useful_life_months, method, fiscal_method, fiscal_rate, fiscal_useful_life_months, fiscal_accumulated_depreciation, status, accumulated_depreciation, acquisition_journal_entry_id, disposal_date, disposal_proceeds, disposal_journal_entry_id, currency_code, currency_exponent, created_by, created_by_type, version, created_at, updated_at, net_book_value.
Comma-separated include paths, each optionally followed by its fields in parentheses: units(id,sku),units.uomUnit(id,name). Max depth 6, max 40 paths. Available: assetAccount, depreciationAccount, expenseAccount.