_get

Returns given asset details

Parameters

id

The ID of the asset

Example

FM_api('Asset_get', ['id'=>'1']);

On Success

{"id":"1","name":"2017 Ninja H2r","code":"","active":"1","value":"25000.00","meta":"{\"main\":{\"vehicle_reg\":\"TEST\"},\"custom\":{\"Test\":\"Test\"}}","last_edited":"2017-07-20 15:12:58","cdate":"2017-07-03 14:56:00","type_id":"1","location_type":"0","location_id":"1","owner_id":"5","appId":"0","archived":"0","departments":null,"edited_uuid":"Asset_setCustom","warranty":"2017-07-31","book_id":""}

On Error (No ID / ID not found)

false

Last updated