Get recent appointments for an asset assigned to a customer

Parameters

id

This can be the ID of the customer or the asset

Example

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

Result

On Success

{"asset":"1","description":"Service","id":"127","meeting_time":"2018-11-07 14:47:55","job_ref":"51"},{"asset":"1","description":"Service","id":"127","meeting_time":"2018-11-07 14:47:55","job_ref":"51"}