When calling the v2 endpoint for applications:getConfiguration (Keap REST API) with fields for NOTE, TASK and/or APPOINTMENT, the response includes the specified field/s with a nested ‘appointment_types’ (presumably the types for each object) that is always null, regardless of the app’s actual type options.
Example response:
{“application”:{“company”:{“name”:“test”,“country”:“United States”,“email”:null,“city”:null,“state”:“Arizona”,“zip”:null,“phone”:null,“website”:null,“street_address_1”:null,“street_address_2”:null,“phone_ext”:null,“caller_id_number”:null,“web_logo_url”:null},“time_zone”:“America/Phoenix”,“default_view_locale”:“en_US”,“features_enabled”:{“marketing”:true}},“task”:{“appointment_types”:null,“share_opportunity_with_related_user”:true},“note”:{“appointment_types”:null,“share_opportunity_with_related_user”:true},“appointment”:{“appointment_types”:null,“share_opportunity_with_related_user”:true}}
This appears to be a bug.