Fetch the statuses of all Appointments.

Parameters

None.

Example

FM_api('Setting_getAppointmentStatuses');

Results

On Success

A string of an array of JSON values. For example: "[{'name':'Incomplete','default_user':-1},{'name':'Complete','default_user':-1},{'name':'Processed','default_user':-1},{'name':'Requires Customer Authorisation','default_user':-1},{'name':'Authorised','default_user':-1}]"

On Failure

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