Fixed Asset Disposal
The fixed asset disposal resource.
/fixedAssetDisposalList fixed asset disposals
Retrieve a paginated list of fixed asset disposals. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
curl --request GET \
--url 'https://rest.carbon.ms/fixedAssetDisposal?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'[
{
"id": "abc123def456",
"fixedAssetId": "xyz789",
"disposalMethod": "string",
"disposalDate": "2026-01-01",
"saleProceeds": 0,
"netBookValueAtDisposal": 0,
"gainLoss": 0,
"companyId": "xyz789"
}
]/fixedAssetDisposalRetrieve a fixed asset disposal
Fetch a single fixed asset disposal by filtering on `id`.
Query parameters
idstringMatch on the fixed asset disposal's `id`, e.g. `eq.{id}`.
curl --request GET \
--url 'https://rest.carbon.ms/fixedAssetDisposal?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'{
"id": "abc123def456",
"fixedAssetId": "xyz789",
"disposalMethod": "string",
"disposalDate": "2026-01-01",
"saleProceeds": 0,
"netBookValueAtDisposal": 0,
"gainLoss": 0,
"companyId": "xyz789"
}/fixedAssetDisposalCreate a fixed asset disposal
Create a new fixed asset disposal.
Body parameters
fixedAssetIdstringrequiredReferences fixedAsset.id
disposalMethoddisposalMethodrequireddisposalDatedaterequiredsaleProceedsnumberrequirednetBookValueAtDisposalnumberrequiredgainLossnumberrequiredjournalIdstringReferences journal.id
companyIdstringrequiredReferences company.id
curl --request POST \
--url https://rest.carbon.ms/fixedAssetDisposal \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"fixedAssetId":"xyz789","disposalMethod":"string","disposalDate":"2026-01-01","saleProceeds":0,"netBookValueAtDisposal":0,"gainLoss":0,"companyId":"xyz789"}'{
"id": "abc123def456",
"fixedAssetId": "xyz789",
"disposalMethod": "string",
"disposalDate": "2026-01-01",
"saleProceeds": 0,
"netBookValueAtDisposal": 0,
"gainLoss": 0,
"companyId": "xyz789"
}/fixedAssetDisposalUpdate a fixed asset disposal
Update an existing fixed asset disposal, matched on `id`.
Body parameters
fixedAssetIdstringrequiredReferences fixedAsset.id
disposalMethoddisposalMethodrequireddisposalDatedaterequiredsaleProceedsnumberrequirednetBookValueAtDisposalnumberrequiredgainLossnumberrequiredjournalIdstringReferences journal.id
companyIdstringrequiredReferences company.id
curl --request PATCH \
--url 'https://rest.carbon.ms/fixedAssetDisposal?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"fixedAssetId":"xyz789"}'{
"id": "abc123def456",
"fixedAssetId": "xyz789",
"disposalMethod": "string",
"disposalDate": "2026-01-01",
"saleProceeds": 0,
"netBookValueAtDisposal": 0,
"gainLoss": 0,
"companyId": "xyz789"
}/fixedAssetDisposalDelete a fixed asset disposal
Delete a fixed asset disposal, matched on `id`. Returns 204 No Content.
Query parameters
idstringThe `id` of the fixed asset disposal to delete, e.g. `eq.{id}`.
curl --request DELETE \
--url 'https://rest.carbon.ms/fixedAssetDisposal?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'