curl --request PUT \
--url 'https://api.stateset.com/api/v1/fixed-assets/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"category": null,
"description": null,
"name": null,
"salvage_value": null,
"useful_life_months": null
}'
{
"accumulated_depreciation": "string",
"acquisition_cost": "string",
"acquisition_date": "string",
"asset_number": "string",
"book_value": "string",
"category": "string",
"created_at": "string",
"currency": "string",
"disposal_gain_loss": null,
"id": "string",
"in_service_date": null,
"name": "string",
"salvage_value": "string",
"status": "string",
"useful_life_months": 1
}
Update a fixed assets
Update a fixed assets
PUT
/
api
/
v1
/
fixed-assets
/
{id}
curl --request PUT \
--url 'https://api.stateset.com/api/v1/fixed-assets/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"category": null,
"description": null,
"name": null,
"salvage_value": null,
"useful_life_months": null
}'
{
"accumulated_depreciation": "string",
"acquisition_cost": "string",
"acquisition_date": "string",
"asset_number": "string",
"book_value": "string",
"category": "string",
"created_at": "string",
"currency": "string",
"disposal_gain_loss": null,
"id": "string",
"in_service_date": null,
"name": "string",
"salvage_value": "string",
"status": "string",
"useful_life_months": 1
}
Path parameters
string
required
Fixed asset ID
Request body
UpdateFixedAssetRequest
string,null
string,null
string,null
string,null
Decimal salvage value as a string.
integer,null (int32)
Responses
FixedAssetResponse
ErrorBody
curl --request PUT \
--url 'https://api.stateset.com/api/v1/fixed-assets/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"category": null,
"description": null,
"name": null,
"salvage_value": null,
"useful_life_months": null
}'
{
"accumulated_depreciation": "string",
"acquisition_cost": "string",
"acquisition_date": "string",
"asset_number": "string",
"book_value": "string",
"category": "string",
"created_at": "string",
"currency": "string",
"disposal_gain_loss": null,
"id": "string",
"in_service_date": null,
"name": "string",
"salvage_value": "string",
"status": "string",
"useful_life_months": 1
}
โI