Update Fixed Asset
curl --request PUT \
--url https://api.meetcampfire.com/coa/api/fixed-asset/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"purchase_date": "2023-12-25",
"depreciations": [
{
"post_date": "2023-12-25",
"id": 123,
"fixed_asset": 123,
"depreciated_until": "2023-12-25",
"posted": true,
"amount": 0,
"journal_entry": 123
}
],
"depreciation_start_date": "2023-12-25",
"depreciation_end_date": "2023-12-25",
"depreciated_until": "2023-12-25",
"chat_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"currency": "<string>",
"initial_value": 0,
"salvage_value": 0,
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"exchange_rate": 0,
"exchange_rate_book": 0,
"is_non_depreciable": true,
"chat_id": -1,
"entity": 123,
"asset_class": 123,
"purchase_journal_entry": 123,
"purchase_transaction": 123,
"vendor": 123,
"department": 123,
"purchase_transactions": [
123
]
}
'import requests
url = "https://api.meetcampfire.com/coa/api/fixed-asset/{id}"
payload = {
"name": "<string>",
"purchase_date": "2023-12-25",
"depreciations": [
{
"post_date": "2023-12-25",
"id": 123,
"fixed_asset": 123,
"depreciated_until": "2023-12-25",
"posted": True,
"amount": 0,
"journal_entry": 123
}
],
"depreciation_start_date": "2023-12-25",
"depreciation_end_date": "2023-12-25",
"depreciated_until": "2023-12-25",
"chat_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"currency": "<string>",
"initial_value": 0,
"salvage_value": 0,
"tag_ids": [0],
"tag_group_ids": [0],
"exchange_rate": 0,
"exchange_rate_book": 0,
"is_non_depreciable": True,
"chat_id": -1,
"entity": 123,
"asset_class": 123,
"purchase_journal_entry": 123,
"purchase_transaction": 123,
"vendor": 123,
"department": 123,
"purchase_transactions": [123]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
purchase_date: '2023-12-25',
depreciations: [
{
post_date: '2023-12-25',
id: 123,
fixed_asset: 123,
depreciated_until: '2023-12-25',
posted: true,
amount: 0,
journal_entry: 123
}
],
depreciation_start_date: '2023-12-25',
depreciation_end_date: '2023-12-25',
depreciated_until: '2023-12-25',
chat_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
description: '<string>',
currency: '<string>',
initial_value: 0,
salvage_value: 0,
tag_ids: [0],
tag_group_ids: [0],
exchange_rate: 0,
exchange_rate_book: 0,
is_non_depreciable: true,
chat_id: -1,
entity: 123,
asset_class: 123,
purchase_journal_entry: 123,
purchase_transaction: 123,
vendor: 123,
department: 123,
purchase_transactions: [123]
})
};
fetch('https://api.meetcampfire.com/coa/api/fixed-asset/{id}', 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.meetcampfire.com/coa/api/fixed-asset/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'purchase_date' => '2023-12-25',
'depreciations' => [
[
'post_date' => '2023-12-25',
'id' => 123,
'fixed_asset' => 123,
'depreciated_until' => '2023-12-25',
'posted' => true,
'amount' => 0,
'journal_entry' => 123
]
],
'depreciation_start_date' => '2023-12-25',
'depreciation_end_date' => '2023-12-25',
'depreciated_until' => '2023-12-25',
'chat_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'description' => '<string>',
'currency' => '<string>',
'initial_value' => 0,
'salvage_value' => 0,
'tag_ids' => [
0
],
'tag_group_ids' => [
0
],
'exchange_rate' => 0,
'exchange_rate_book' => 0,
'is_non_depreciable' => true,
'chat_id' => -1,
'entity' => 123,
'asset_class' => 123,
'purchase_journal_entry' => 123,
'purchase_transaction' => 123,
'vendor' => 123,
'department' => 123,
'purchase_transactions' => [
123
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/fixed-asset/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"purchase_date\": \"2023-12-25\",\n \"depreciations\": [\n {\n \"post_date\": \"2023-12-25\",\n \"id\": 123,\n \"fixed_asset\": 123,\n \"depreciated_until\": \"2023-12-25\",\n \"posted\": true,\n \"amount\": 0,\n \"journal_entry\": 123\n }\n ],\n \"depreciation_start_date\": \"2023-12-25\",\n \"depreciation_end_date\": \"2023-12-25\",\n \"depreciated_until\": \"2023-12-25\",\n \"chat_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"initial_value\": 0,\n \"salvage_value\": 0,\n \"tag_ids\": [\n 0\n ],\n \"tag_group_ids\": [\n 0\n ],\n \"exchange_rate\": 0,\n \"exchange_rate_book\": 0,\n \"is_non_depreciable\": true,\n \"chat_id\": -1,\n \"entity\": 123,\n \"asset_class\": 123,\n \"purchase_journal_entry\": 123,\n \"purchase_transaction\": 123,\n \"vendor\": 123,\n \"department\": 123,\n \"purchase_transactions\": [\n 123\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.meetcampfire.com/coa/api/fixed-asset/{id}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"purchase_date\": \"2023-12-25\",\n \"depreciations\": [\n {\n \"post_date\": \"2023-12-25\",\n \"id\": 123,\n \"fixed_asset\": 123,\n \"depreciated_until\": \"2023-12-25\",\n \"posted\": true,\n \"amount\": 0,\n \"journal_entry\": 123\n }\n ],\n \"depreciation_start_date\": \"2023-12-25\",\n \"depreciation_end_date\": \"2023-12-25\",\n \"depreciated_until\": \"2023-12-25\",\n \"chat_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"initial_value\": 0,\n \"salvage_value\": 0,\n \"tag_ids\": [\n 0\n ],\n \"tag_group_ids\": [\n 0\n ],\n \"exchange_rate\": 0,\n \"exchange_rate_book\": 0,\n \"is_non_depreciable\": true,\n \"chat_id\": -1,\n \"entity\": 123,\n \"asset_class\": 123,\n \"purchase_journal_entry\": 123,\n \"purchase_transaction\": 123,\n \"vendor\": 123,\n \"department\": 123,\n \"purchase_transactions\": [\n 123\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/fixed-asset/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"purchase_date\": \"2023-12-25\",\n \"depreciations\": [\n {\n \"post_date\": \"2023-12-25\",\n \"id\": 123,\n \"fixed_asset\": 123,\n \"depreciated_until\": \"2023-12-25\",\n \"posted\": true,\n \"amount\": 0,\n \"journal_entry\": 123\n }\n ],\n \"depreciation_start_date\": \"2023-12-25\",\n \"depreciation_end_date\": \"2023-12-25\",\n \"depreciated_until\": \"2023-12-25\",\n \"chat_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"initial_value\": 0,\n \"salvage_value\": 0,\n \"tag_ids\": [\n 0\n ],\n \"tag_group_ids\": [\n 0\n ],\n \"exchange_rate\": 0,\n \"exchange_rate_book\": 0,\n \"is_non_depreciable\": true,\n \"chat_id\": -1,\n \"entity\": 123,\n \"asset_class\": 123,\n \"purchase_journal_entry\": 123,\n \"purchase_transaction\": 123,\n \"vendor\": 123,\n \"department\": 123,\n \"purchase_transactions\": [\n 123\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": 123,
"entity_name": "<string>",
"entity_currency": "<string>",
"useful_life": "<string>",
"asset_class_useful_life": 123,
"asset_class_name": "<string>",
"asset_account": "<string>",
"asset_account_name": "<string>",
"depreciation_expense_account": "<string>",
"depreciation_expense_account_name": "<string>",
"accumulated_depreciation_account": "<string>",
"accumulated_depreciation_account_name": "<string>",
"purchase_journal_entry_order": "<string>",
"purchase_transaction_id": "<string>",
"vendor_name": "<string>",
"department_name": "<string>",
"tags": [
{}
],
"attachments": [
{
"id": 123,
"customer": 123,
"created_at": "2023-11-07T05:31:56Z",
"created_by": 123,
"created_by_name": "<string>",
"created_by_email": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"url": "<string>",
"s3_path": "<string>",
"app": "<string>",
"model": "<string>",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"s3_content_type": "<string>",
"s3_content_length": 1073741823,
"object_id": 1073741823
}
],
"disposals": [
{
"id": 123,
"journal_entry_order": "<string>",
"disposal_percentage": 0,
"disposal_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"fixed_asset": 123,
"proceeds_amount": 0,
"journal_entry": 123
}
],
"transfers": [
{
"id": 123,
"source_asset_class_name": "<string>",
"new_asset_class_name": "<string>",
"reclassification_journal_entry_order": "<string>",
"catchup_depreciation_journal_entry_order": "<string>",
"created_asset_name": "<string>",
"effective_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"fixed_asset": 123,
"source_asset_class": 123,
"new_asset_class": 123,
"is_partial": true,
"transfer_amount": 0,
"transfer_accumulated_depreciation": 0,
"transfer_percentage": 0,
"new_useful_life_months": -1,
"new_salvage_value": 0,
"new_depreciation_start_date": "2023-12-25",
"new_depreciation_end_date": "2023-12-25",
"memo": "<string>",
"reclassification_journal_entry": 123,
"catchup_depreciation_journal_entry": 123,
"created_asset": 123
}
],
"net_book_value": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"purchase_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"pause_date": "2023-12-25",
"pause_reason": "<string>",
"last_resume_date": "2023-12-25",
"customer": 123,
"depreciations": [
{
"journal_entry_order": "<string>",
"post_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"id": 123,
"posted": true,
"amount": 0,
"journal_entry": 123
}
],
"depreciation_start_date": "2023-12-25",
"depreciation_end_date": "2023-12-25",
"description": "<string>",
"currency": "<string>",
"initial_value": 0,
"salvage_value": 0,
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"exchange_rate": 0,
"exchange_rate_book": 0,
"is_non_depreciable": true,
"chat_id": -1,
"entity": 123,
"asset_class": 123,
"purchase_journal_entry": 123,
"purchase_transaction": 123,
"vendor": 123,
"department": 123,
"purchase_transactions": [
123
]
}Core Accounting
Update Fixed Asset
PUT
/
coa
/
api
/
fixed-asset
/
{id}
Update Fixed Asset
curl --request PUT \
--url https://api.meetcampfire.com/coa/api/fixed-asset/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"purchase_date": "2023-12-25",
"depreciations": [
{
"post_date": "2023-12-25",
"id": 123,
"fixed_asset": 123,
"depreciated_until": "2023-12-25",
"posted": true,
"amount": 0,
"journal_entry": 123
}
],
"depreciation_start_date": "2023-12-25",
"depreciation_end_date": "2023-12-25",
"depreciated_until": "2023-12-25",
"chat_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"currency": "<string>",
"initial_value": 0,
"salvage_value": 0,
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"exchange_rate": 0,
"exchange_rate_book": 0,
"is_non_depreciable": true,
"chat_id": -1,
"entity": 123,
"asset_class": 123,
"purchase_journal_entry": 123,
"purchase_transaction": 123,
"vendor": 123,
"department": 123,
"purchase_transactions": [
123
]
}
'import requests
url = "https://api.meetcampfire.com/coa/api/fixed-asset/{id}"
payload = {
"name": "<string>",
"purchase_date": "2023-12-25",
"depreciations": [
{
"post_date": "2023-12-25",
"id": 123,
"fixed_asset": 123,
"depreciated_until": "2023-12-25",
"posted": True,
"amount": 0,
"journal_entry": 123
}
],
"depreciation_start_date": "2023-12-25",
"depreciation_end_date": "2023-12-25",
"depreciated_until": "2023-12-25",
"chat_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"currency": "<string>",
"initial_value": 0,
"salvage_value": 0,
"tag_ids": [0],
"tag_group_ids": [0],
"exchange_rate": 0,
"exchange_rate_book": 0,
"is_non_depreciable": True,
"chat_id": -1,
"entity": 123,
"asset_class": 123,
"purchase_journal_entry": 123,
"purchase_transaction": 123,
"vendor": 123,
"department": 123,
"purchase_transactions": [123]
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
purchase_date: '2023-12-25',
depreciations: [
{
post_date: '2023-12-25',
id: 123,
fixed_asset: 123,
depreciated_until: '2023-12-25',
posted: true,
amount: 0,
journal_entry: 123
}
],
depreciation_start_date: '2023-12-25',
depreciation_end_date: '2023-12-25',
depreciated_until: '2023-12-25',
chat_uuid: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
description: '<string>',
currency: '<string>',
initial_value: 0,
salvage_value: 0,
tag_ids: [0],
tag_group_ids: [0],
exchange_rate: 0,
exchange_rate_book: 0,
is_non_depreciable: true,
chat_id: -1,
entity: 123,
asset_class: 123,
purchase_journal_entry: 123,
purchase_transaction: 123,
vendor: 123,
department: 123,
purchase_transactions: [123]
})
};
fetch('https://api.meetcampfire.com/coa/api/fixed-asset/{id}', 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.meetcampfire.com/coa/api/fixed-asset/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'purchase_date' => '2023-12-25',
'depreciations' => [
[
'post_date' => '2023-12-25',
'id' => 123,
'fixed_asset' => 123,
'depreciated_until' => '2023-12-25',
'posted' => true,
'amount' => 0,
'journal_entry' => 123
]
],
'depreciation_start_date' => '2023-12-25',
'depreciation_end_date' => '2023-12-25',
'depreciated_until' => '2023-12-25',
'chat_uuid' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'description' => '<string>',
'currency' => '<string>',
'initial_value' => 0,
'salvage_value' => 0,
'tag_ids' => [
0
],
'tag_group_ids' => [
0
],
'exchange_rate' => 0,
'exchange_rate_book' => 0,
'is_non_depreciable' => true,
'chat_id' => -1,
'entity' => 123,
'asset_class' => 123,
'purchase_journal_entry' => 123,
'purchase_transaction' => 123,
'vendor' => 123,
'department' => 123,
'purchase_transactions' => [
123
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.meetcampfire.com/coa/api/fixed-asset/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"purchase_date\": \"2023-12-25\",\n \"depreciations\": [\n {\n \"post_date\": \"2023-12-25\",\n \"id\": 123,\n \"fixed_asset\": 123,\n \"depreciated_until\": \"2023-12-25\",\n \"posted\": true,\n \"amount\": 0,\n \"journal_entry\": 123\n }\n ],\n \"depreciation_start_date\": \"2023-12-25\",\n \"depreciation_end_date\": \"2023-12-25\",\n \"depreciated_until\": \"2023-12-25\",\n \"chat_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"initial_value\": 0,\n \"salvage_value\": 0,\n \"tag_ids\": [\n 0\n ],\n \"tag_group_ids\": [\n 0\n ],\n \"exchange_rate\": 0,\n \"exchange_rate_book\": 0,\n \"is_non_depreciable\": true,\n \"chat_id\": -1,\n \"entity\": 123,\n \"asset_class\": 123,\n \"purchase_journal_entry\": 123,\n \"purchase_transaction\": 123,\n \"vendor\": 123,\n \"department\": 123,\n \"purchase_transactions\": [\n 123\n ]\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.meetcampfire.com/coa/api/fixed-asset/{id}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"purchase_date\": \"2023-12-25\",\n \"depreciations\": [\n {\n \"post_date\": \"2023-12-25\",\n \"id\": 123,\n \"fixed_asset\": 123,\n \"depreciated_until\": \"2023-12-25\",\n \"posted\": true,\n \"amount\": 0,\n \"journal_entry\": 123\n }\n ],\n \"depreciation_start_date\": \"2023-12-25\",\n \"depreciation_end_date\": \"2023-12-25\",\n \"depreciated_until\": \"2023-12-25\",\n \"chat_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"initial_value\": 0,\n \"salvage_value\": 0,\n \"tag_ids\": [\n 0\n ],\n \"tag_group_ids\": [\n 0\n ],\n \"exchange_rate\": 0,\n \"exchange_rate_book\": 0,\n \"is_non_depreciable\": true,\n \"chat_id\": -1,\n \"entity\": 123,\n \"asset_class\": 123,\n \"purchase_journal_entry\": 123,\n \"purchase_transaction\": 123,\n \"vendor\": 123,\n \"department\": 123,\n \"purchase_transactions\": [\n 123\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetcampfire.com/coa/api/fixed-asset/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"purchase_date\": \"2023-12-25\",\n \"depreciations\": [\n {\n \"post_date\": \"2023-12-25\",\n \"id\": 123,\n \"fixed_asset\": 123,\n \"depreciated_until\": \"2023-12-25\",\n \"posted\": true,\n \"amount\": 0,\n \"journal_entry\": 123\n }\n ],\n \"depreciation_start_date\": \"2023-12-25\",\n \"depreciation_end_date\": \"2023-12-25\",\n \"depreciated_until\": \"2023-12-25\",\n \"chat_uuid\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"description\": \"<string>\",\n \"currency\": \"<string>\",\n \"initial_value\": 0,\n \"salvage_value\": 0,\n \"tag_ids\": [\n 0\n ],\n \"tag_group_ids\": [\n 0\n ],\n \"exchange_rate\": 0,\n \"exchange_rate_book\": 0,\n \"is_non_depreciable\": true,\n \"chat_id\": -1,\n \"entity\": 123,\n \"asset_class\": 123,\n \"purchase_journal_entry\": 123,\n \"purchase_transaction\": 123,\n \"vendor\": 123,\n \"department\": 123,\n \"purchase_transactions\": [\n 123\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": 123,
"entity_name": "<string>",
"entity_currency": "<string>",
"useful_life": "<string>",
"asset_class_useful_life": 123,
"asset_class_name": "<string>",
"asset_account": "<string>",
"asset_account_name": "<string>",
"depreciation_expense_account": "<string>",
"depreciation_expense_account_name": "<string>",
"accumulated_depreciation_account": "<string>",
"accumulated_depreciation_account_name": "<string>",
"purchase_journal_entry_order": "<string>",
"purchase_transaction_id": "<string>",
"vendor_name": "<string>",
"department_name": "<string>",
"tags": [
{}
],
"attachments": [
{
"id": 123,
"customer": 123,
"created_at": "2023-11-07T05:31:56Z",
"created_by": 123,
"created_by_name": "<string>",
"created_by_email": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"url": "<string>",
"s3_path": "<string>",
"app": "<string>",
"model": "<string>",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"s3_content_type": "<string>",
"s3_content_length": 1073741823,
"object_id": 1073741823
}
],
"disposals": [
{
"id": 123,
"journal_entry_order": "<string>",
"disposal_percentage": 0,
"disposal_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"fixed_asset": 123,
"proceeds_amount": 0,
"journal_entry": 123
}
],
"transfers": [
{
"id": 123,
"source_asset_class_name": "<string>",
"new_asset_class_name": "<string>",
"reclassification_journal_entry_order": "<string>",
"catchup_depreciation_journal_entry_order": "<string>",
"created_asset_name": "<string>",
"effective_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"fixed_asset": 123,
"source_asset_class": 123,
"new_asset_class": 123,
"is_partial": true,
"transfer_amount": 0,
"transfer_accumulated_depreciation": 0,
"transfer_percentage": 0,
"new_useful_life_months": -1,
"new_salvage_value": 0,
"new_depreciation_start_date": "2023-12-25",
"new_depreciation_end_date": "2023-12-25",
"memo": "<string>",
"reclassification_journal_entry": 123,
"catchup_depreciation_journal_entry": 123,
"created_asset": 123
}
],
"net_book_value": "<string>",
"last_modified_at": "2023-11-07T05:31:56Z",
"is_deleted": false,
"deleted_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"purchase_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"pause_date": "2023-12-25",
"pause_reason": "<string>",
"last_resume_date": "2023-12-25",
"customer": 123,
"depreciations": [
{
"journal_entry_order": "<string>",
"post_date": "2023-12-25",
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"customer": 123,
"id": 123,
"posted": true,
"amount": 0,
"journal_entry": 123
}
],
"depreciation_start_date": "2023-12-25",
"depreciation_end_date": "2023-12-25",
"description": "<string>",
"currency": "<string>",
"initial_value": 0,
"salvage_value": 0,
"tag_ids": [
0
],
"tag_group_ids": [
0
],
"exchange_rate": 0,
"exchange_rate_book": 0,
"is_non_depreciable": true,
"chat_id": -1,
"entity": 123,
"asset_class": 123,
"purchase_journal_entry": 123,
"purchase_transaction": 123,
"vendor": 123,
"department": 123,
"purchase_transactions": [
123
]
}Authorizations
Token-based authentication with required prefix "Token"
Path Parameters
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data
Maximum string length:
250Show child attributes
Show child attributes
Maximum string length:
3Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-1000000000000000000 < x < 1000000000000000000ACTIVE- ActivePAUSED- PausedDEPRECIATED- DepreciatedDISPOSED- Disposed
Available options:
ACTIVE, PAUSED, DEPRECIATED, DISPOSED Required range:
-9223372036854776000 <= x <= 9223372036854776000Required range:
-9223372036854776000 <= x <= 9223372036854776000Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000Required range:
-2147483648 <= x <= 2147483647Response
200 - application/json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Maximum string length:
250Show child attributes
Show child attributes
Maximum string length:
3Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-1000000000000000000 < x < 1000000000000000000ACTIVE- ActivePAUSED- PausedDEPRECIATED- DepreciatedDISPOSED- Disposed
Available options:
ACTIVE, PAUSED, DEPRECIATED, DISPOSED Required range:
-9223372036854776000 <= x <= 9223372036854776000Required range:
-9223372036854776000 <= x <= 9223372036854776000Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000Required range:
-2147483648 <= x <= 2147483647⌘I