Returns the time and costs details for an Appointment.

Parameters

id

The ID of the Appointment.

Example

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

On Success

{'meeting_time':'2018-11-08 09:19:13',
 'hours_cost':'2.5',
 'mileage_cost':'0',
 'stock_cost':'50',
 'stock_used':'[
   {\'id\':\'1\',
    \'amt\':\'1\',
    \'containers\':{\'1_82878\':1}}
 ]',
 'costs':'52.5'}