Get Fixed Asset by ID
Fixed Assets API
Get Fixed Asset
Retrieve a specific fixed asset by its ID
GET
Get Fixed Asset by ID
Get Fixed Asset by ID
This endpoint allows you to retrieve a specific fixed asset by its ID.Headers
| Parameter | Type | Description |
|---|---|---|
| X-API-KEY | string | Formation API Key (required) |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| fixed_asset_id | string | Fixed Asset ID (required) |
Parameter Examples
- Fixed Asset ID:
64b8f1a2e4b0c8d9f0123456
Response
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates if the operation was successful |
| message | string | Additional information about the operation |
| data | object | Response data for successful requests |
| data.id | string | Unique identifier for the fixed asset |
| data.title | string | Title/name of the fixed asset |
| data.placed_in_service | integer | Timestamp when asset was placed in service |
| data.cost | number | Original cost of the fixed asset |
| data.salvage_value | number | Estimated salvage value of the asset |
| data.business_use | number | Percentage of business use (0-100) |
| data.fixed_asset_number | integer | Auto-generated fixed asset number |
| data.fixed_asset_number_text | string | Formatted fixed asset number text |
| data.created_at | integer | Creation timestamp |
| data.updated_at | integer | Last update timestamp |
Error Responses
Invalid Request (400)
Unauthorized (401)
Fixed Asset Not Found (404)
Internal Server Error (500)
Notes
- The fixed asset ID must be a valid ObjectID format
- This endpoint returns detailed information about a single fixed asset
- All timestamps are returned in Unix timestamp format
Authorizations
Formation API key for authentication.
Path Parameters
Fixed Asset ID
Response
Fixed asset retrieved successfully
Example:
true
Example:
"Fixed asset retrieved successfully"
Example:
{
"id": "64b8f1a2e4b0c8d9f0123456",
"created_at": 1640995200,
"updated_at": 1640995200,
"title": "Office Computer",
"placed_in_service": 1640995200,
"cost": 1500,
"salvage_value": 150,
"business_use": 100,
"fixed_asset_number": 1,
"fixed_asset_number_text": "AST-1"
}