_getInvoice

Returns Asset invoices.

Parameters

id

signout id for the asset

Example

FM_api('Assets_getInvoice', ['id' => '1'])

On Success

{"id":"2","name":"Boiler","start_time":"2018-10-15 13:00:00","end_time":"2018-10-16 18:00:00","total":"1000.0000"}

On Failure

If the user is not logged in: {'error':'not logged in'}

Last updated