Dispose of a fixed asset

Posts the previewed disposal through the app's own disposal service and marks the asset disposed. Send exactly the previewed disposal fields with the confirmation_token, the same Idempotency-Key and the preview's etag as If-Match. Requires the fixed-assets:action OAuth scope.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

Confirmed values used to dispose of a fixed asset, including the confirmation token returned by fixedAsset.disposePreview.

Commit the disposal previewed with exactly these fields.

date
required
string
enum
required

sale, scrap, donation or exchange.

Allowed:
number
required
0 to 999999999999

Amount received, in the base currency; 0 for scrap or donation. A sale needs more than 0.

integer | null
≥ 1

The account debited with the proceeds (bank, receivable); required when proceeds are above 0.

integer
required
≥ 1

The gain/loss on disposal account; never an income (revenue) account (IAS 16.68).

string | null

Free text, at most 255 characters (the confirmation token carries it).

string
required
length ≤ 8192

The token from fixedAsset.disposePreview, sent with the same Idempotency-Key and the preview's etag as If-Match.

Headers
string
required
length ≤ 191

Required unique key whose request hash and terminal response are stored durably for 24 hours.

string

Required. ETag from the latest representation; a stale value returns 412 precondition_failed. Send this header, not the standard If-Match: some HTTP intermediaries evaluate a standard If-Match themselves and can answer 412 even though the change was applied. Never send both; both with different ETags returns 400 conflicting_precondition_headers.

string
deprecated

Accepted with the same value and meaning as Cybooks-If-Match, but do not send it: an intermediary can answer 412 to it after the change was applied. Send Cybooks-If-Match instead.

Responses

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*