_getByBookID

Returns asset details, searching by book_id fields

Parameters

book_id

the asset's book_id. max 32 characters

Example

FM_api('Asset_getByBookID', ['book_id'=>'test1']);

On Success

{"id":"376199","name":"asset 2","code":"asset 2","active":"1","value":"0.00","meta":"{\"custom\":[]}","last_edited":"2020-09-25 14:49:03","cdate":"2020-09-07 13:05:14","type_id":"367024","location_type":"1","location_id":"565915","owner_id":"-1","appId":"0","archived":"0","departments":null,"edited_uuid":"Asset_setBookId","warranty":null,"book_id":"test1","custom_qr":null,"make":"asset 2","model":"asset 2"}

On Error (not found)

false

Last updated