SQL Server / Support API / Update Account Settings
Back to Collection Items
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
DECLARE @hr int
DECLARE @iTmp0 int
-- Important: Do not use nvarchar(max). See the warning about using nvarchar(max).
DECLARE @sTmp0 nvarchar(4000)
-- This example assumes the Chilkat API to have been previously unlocked.
-- See Global Unlock Sample for sample code.
DECLARE @http int
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
EXEC sp_OASetProperty @http, 'BasicAuth', 1
EXEC sp_OASetProperty @http, 'Login', 'login'
EXEC sp_OASetProperty @http, 'Password', 'password'
EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'Accept', 'application/json'
DECLARE @resp int
EXEC sp_OAMethod @http, 'QuickRequest', @resp OUT, 'PUT', 'https://example.zendesk.com/api/v2/account/settings'
EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
IF @iTmp0 = 0
BEGIN
EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @http
RETURN
END
DECLARE @sbResponseBody int
-- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT
EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody
DECLARE @jResp int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jResp OUT
EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
EXEC sp_OASetProperty @jResp, 'EmitCompact', 0
PRINT 'Response Body:'
EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
PRINT @sTmp0
DECLARE @respStatusCode int
EXEC sp_OAGetProperty @resp, 'StatusCode', @respStatusCode OUT
PRINT 'Response Status Code = ' + @respStatusCode
IF @respStatusCode >= 400
BEGIN
PRINT 'Response Header:'
EXEC sp_OAGetProperty @resp, 'Header', @sTmp0 OUT
PRINT @sTmp0
PRINT 'Failed.'
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
RETURN
END
EXEC @hr = sp_OADestroy @resp
-- Sample JSON response:
-- (Sample code for parsing the JSON response is shown below)
-- {
-- "settings": {
-- "active_features": {
-- "advanced_analytics": "<boolean>",
-- "agent_forwarding": "<boolean>",
-- "allow_ccs": "<boolean>",
-- "allow_email_template_customization": "<boolean>",
-- "automatic_answers": "<boolean>",
-- "bcc_archiving": "<boolean>",
-- "benchmark_opt_out": "<boolean>",
-- "business_hours": "<boolean>",
-- "chat": "<boolean>",
-- "chat_about_my_ticket": "<boolean>",
-- "csat_reason_code": "<boolean>",
-- "custom_dkim_domain": "<boolean>",
-- "customer_context_as_default": "<boolean>",
-- "customer_satisfaction": "<boolean>",
-- "dynamic_contents": "<boolean>",
-- "explore": "<boolean>",
-- "explore_on_support_ent_plan": "<boolean>",
-- "explore_on_support_pro_plan": "<boolean>",
-- "facebook": "<boolean>",
-- "facebook_login": "<boolean>",
-- "fallback_composer": "<boolean>",
-- "forum_analytics": "<boolean>",
-- "good_data_and_explore": "<boolean>",
-- "google_login": "<boolean>",
-- "insights": "<boolean>",
-- "is_abusive": "<boolean>",
-- "light_agents": "<boolean>",
-- "markdown": "<boolean>",
-- "on_hold_status": "<boolean>",
-- "rich_content_in_emails": "<boolean>",
-- "sandbox": "<boolean>",
-- "satisfaction_prediction": "<boolean>",
-- "suspended_ticket_notification": "<boolean>",
-- "ticket_forms": "<boolean>",
-- "ticket_tagging": "<boolean>",
-- "topic_suggestion": "<boolean>",
-- "twitter": "<boolean>",
-- "twitter_login": "<boolean>",
-- "user_org_fields": "<boolean>",
-- "user_tagging": "<boolean>",
-- "voice": "<boolean>"
-- },
-- "agents": {
-- "agent_workspace": "<boolean>",
-- "aw_self_serve_migration_enabled": "<boolean>",
-- "focus_mode": "<boolean>",
-- "idle_timeout_enabled": "<boolean>",
-- "unified_agent_statuses": "<boolean>"
-- },
-- "api": {
-- "accepted_api_agreement": "<boolean>",
-- "api_password_access": "<string>",
-- "api_token_access": "<string>"
-- },
-- "apps": {
-- "create_private": "<boolean>",
-- "create_public": "<boolean>",
-- "use": "<boolean>"
-- },
-- "billing": {
-- "backend": "<string>"
-- },
-- "branding": {
-- "favicon_url": "<string>",
-- "header_color": "<string>",
-- "header_logo_url": "<string>",
-- "page_background_color": "<string>",
-- "tab_background_color": "<string>",
-- "text_color": "<string>"
-- },
-- "brands": {
-- "default_brand_id": "<integer>",
-- "require_brand_on_new_tickets": "<boolean>"
-- },
-- "cdn": {
-- "cdn_provider": "<string>",
-- "fallback_cdn_provider": "<string>",
-- "hosts": [
-- {
-- "name": "<string>",
-- "url": "<string>"
-- },
-- {
-- "name": "<string>",
-- "url": "<string>"
-- }
-- ]
-- },
-- "chat": {
-- "available": "<boolean>",
-- "enabled": "<boolean>",
-- "integrated": "<boolean>",
-- "maximum_request_count": "<integer>",
-- "welcome_message": "<string>"
-- },
-- "cross_sell": {
-- "show_chat_tooltip": "<boolean>",
-- "xsell_source": "<string>"
-- },
-- "gooddata_advanced_analytics": {
-- "enabled": "<boolean>"
-- },
-- "google_apps": {
-- "has_google_apps": "<boolean>",
-- "has_google_apps_admin": "<boolean>"
-- },
-- "groups": {
-- "check_group_name_uniqueness": "<boolean>"
-- },
-- "limits": {
-- "attachment_size": "<integer>"
-- },
-- "localization": {
-- "locale_ids": [
-- "<integer>",
-- "<integer>"
-- ]
-- },
-- "lotus": {
-- "pod_id": "<integer>",
-- "prefer_lotus": "<boolean>",
-- "reporting": "<boolean>"
-- },
-- "metrics": {
-- "account_size": "<string>"
-- },
-- "onboarding": {
-- "checklist_onboarding_version": "<integer>",
-- "onboarding_segments": "<string>",
-- "product_sign_up": "<string>"
-- },
-- "routing": {
-- "autorouting_tag": "<string>",
-- "enabled": "<boolean>",
-- "max_email_capacity": "<integer>",
-- "max_messaging_capacity": "<integer>",
-- "reassignment_messaging_enabled": "<boolean>",
-- "reassignment_messaging_timeout": "<integer>",
-- "reassignment_talk_timeout": "<integer>"
-- },
-- "rule": {
-- "macro_most_used": "<boolean>",
-- "macro_order": "<string>",
-- "skill_based_filtered_views": [
-- {
-- "in523": 60303840.72385332
-- },
-- {
-- "estc": "eu aliquip id"
-- }
-- ],
-- "using_skill_based_routing": "<boolean>"
-- },
-- "side_conversations": {
-- "email_channel": "<boolean>",
-- "msteams_channel": "<boolean>",
-- "show_in_context_panel": "<boolean>",
-- "slack_channel": "<boolean>",
-- "tickets_channel": "<boolean>"
-- },
-- "statistics": {
-- "forum": "<boolean>",
-- "rule_usage": "<boolean>",
-- "search": "<boolean>"
-- },
-- "ticket_form": {
-- "raw_ticket_forms_instructions": "<string>",
-- "ticket_forms_instructions": "<string>"
-- },
-- "ticket_sharing_partners": {
-- "support_addresses": [
-- "<string>",
-- "<string>"
-- ]
-- },
-- "tickets": {
-- "accepted_new_collaboration_tos": "<boolean>",
-- "agent_collision": "<boolean>",
-- "agent_ticket_deletion": "<boolean>",
-- "allow_group_reset": "<boolean>",
-- "assign_default_organization": "<boolean>",
-- "assign_tickets_upon_solve": "<boolean>",
-- "auto_updated_ccs_followers_rules": "<boolean>",
-- "collaboration": "<boolean>",
-- "comments_public_by_default": "<boolean>",
-- "email_attachments": "<boolean>",
-- "emoji_autocompletion": "<boolean>",
-- "follower_and_email_cc_collaborations": "<boolean>",
-- "has_color_text": "<boolean>",
-- "is_first_comment_private_enabled": "<boolean>",
-- "light_agent_email_ccs_allowed": "<boolean>",
-- "list_empty_views": "<boolean>",
-- "list_newest_comments_first": "<boolean>",
-- "markdown_ticket_comments": "<boolean>",
-- "maximum_personal_views_to_list": "<integer>",
-- "private_attachments": "<boolean>",
-- "rich_text_comments": "<boolean>",
-- "status_hold": "<boolean>",
-- "tagging": "<boolean>",
-- "using_skill_based_routing": "<boolean>"
-- },
-- "twitter": {
-- "shorten_url": "<string>"
-- },
-- "user": {
-- "agent_created_welcome_emails": "<boolean>",
-- "end_user_phone_number_validation": "<boolean>",
-- "have_gravatars_enabled": "<boolean>",
-- "language_selection": "<boolean>",
-- "multiple_organizations": "<boolean>",
-- "tagging": "<boolean>",
-- "time_zone_selection": "<boolean>"
-- },
-- "voice": {
-- "agent_confirmation_when_forwarding": "<boolean>",
-- "agent_wrap_up_after_calls": "<boolean>",
-- "enabled": "<boolean>",
-- "logging": "<boolean>",
-- "maximum_queue_size": "<integer>",
-- "maximum_queue_wait_time": "<integer>",
-- "only_during_business_hours": "<boolean>",
-- "outbound_enabled": "<boolean>",
-- "recordings_public": "<boolean>",
-- "uk_mobile_forwarding": "<boolean>"
-- }
-- }
-- }
-- Sample code for parsing the JSON response...
-- Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
DECLARE @name nvarchar(4000)
DECLARE @url nvarchar(4000)
DECLARE @strVal nvarchar(4000)
DECLARE @in523 nvarchar(4000)
DECLARE @estc nvarchar(4000)
DECLARE @Advanced_analytics nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Advanced_analytics OUT, 'settings.active_features.advanced_analytics'
DECLARE @Agent_forwarding nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_forwarding OUT, 'settings.active_features.agent_forwarding'
DECLARE @Allow_ccs nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Allow_ccs OUT, 'settings.active_features.allow_ccs'
DECLARE @Allow_email_template_customization nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Allow_email_template_customization OUT, 'settings.active_features.allow_email_template_customization'
DECLARE @Automatic_answers nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Automatic_answers OUT, 'settings.active_features.automatic_answers'
DECLARE @Bcc_archiving nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Bcc_archiving OUT, 'settings.active_features.bcc_archiving'
DECLARE @Benchmark_opt_out nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Benchmark_opt_out OUT, 'settings.active_features.benchmark_opt_out'
DECLARE @Business_hours nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Business_hours OUT, 'settings.active_features.business_hours'
DECLARE @Chat nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Chat OUT, 'settings.active_features.chat'
DECLARE @Chat_about_my_ticket nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Chat_about_my_ticket OUT, 'settings.active_features.chat_about_my_ticket'
DECLARE @Csat_reason_code nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Csat_reason_code OUT, 'settings.active_features.csat_reason_code'
DECLARE @Custom_dkim_domain nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Custom_dkim_domain OUT, 'settings.active_features.custom_dkim_domain'
DECLARE @Customer_context_as_default nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Customer_context_as_default OUT, 'settings.active_features.customer_context_as_default'
DECLARE @Customer_satisfaction nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Customer_satisfaction OUT, 'settings.active_features.customer_satisfaction'
DECLARE @Dynamic_contents nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Dynamic_contents OUT, 'settings.active_features.dynamic_contents'
DECLARE @Explore nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Explore OUT, 'settings.active_features.explore'
DECLARE @Explore_on_support_ent_plan nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Explore_on_support_ent_plan OUT, 'settings.active_features.explore_on_support_ent_plan'
DECLARE @Explore_on_support_pro_plan nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Explore_on_support_pro_plan OUT, 'settings.active_features.explore_on_support_pro_plan'
DECLARE @Facebook nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Facebook OUT, 'settings.active_features.facebook'
DECLARE @Facebook_login nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Facebook_login OUT, 'settings.active_features.facebook_login'
DECLARE @Fallback_composer nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Fallback_composer OUT, 'settings.active_features.fallback_composer'
DECLARE @Forum_analytics nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Forum_analytics OUT, 'settings.active_features.forum_analytics'
DECLARE @Good_data_and_explore nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Good_data_and_explore OUT, 'settings.active_features.good_data_and_explore'
DECLARE @Google_login nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Google_login OUT, 'settings.active_features.google_login'
DECLARE @Insights nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Insights OUT, 'settings.active_features.insights'
DECLARE @Is_abusive nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Is_abusive OUT, 'settings.active_features.is_abusive'
DECLARE @Light_agents nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Light_agents OUT, 'settings.active_features.light_agents'
DECLARE @Markdown nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Markdown OUT, 'settings.active_features.markdown'
DECLARE @On_hold_status nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @On_hold_status OUT, 'settings.active_features.on_hold_status'
DECLARE @Rich_content_in_emails nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Rich_content_in_emails OUT, 'settings.active_features.rich_content_in_emails'
DECLARE @Sandbox nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Sandbox OUT, 'settings.active_features.sandbox'
DECLARE @Satisfaction_prediction nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Satisfaction_prediction OUT, 'settings.active_features.satisfaction_prediction'
DECLARE @Suspended_ticket_notification nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Suspended_ticket_notification OUT, 'settings.active_features.suspended_ticket_notification'
DECLARE @Ticket_forms nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Ticket_forms OUT, 'settings.active_features.ticket_forms'
DECLARE @Ticket_tagging nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Ticket_tagging OUT, 'settings.active_features.ticket_tagging'
DECLARE @Topic_suggestion nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Topic_suggestion OUT, 'settings.active_features.topic_suggestion'
DECLARE @Twitter nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Twitter OUT, 'settings.active_features.twitter'
DECLARE @Twitter_login nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Twitter_login OUT, 'settings.active_features.twitter_login'
DECLARE @User_org_fields nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @User_org_fields OUT, 'settings.active_features.user_org_fields'
DECLARE @User_tagging nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @User_tagging OUT, 'settings.active_features.user_tagging'
DECLARE @Voice nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Voice OUT, 'settings.active_features.voice'
DECLARE @Agent_workspace nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_workspace OUT, 'settings.agents.agent_workspace'
DECLARE @Aw_self_serve_migration_enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Aw_self_serve_migration_enabled OUT, 'settings.agents.aw_self_serve_migration_enabled'
DECLARE @Focus_mode nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Focus_mode OUT, 'settings.agents.focus_mode'
DECLARE @Idle_timeout_enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Idle_timeout_enabled OUT, 'settings.agents.idle_timeout_enabled'
DECLARE @Unified_agent_statuses nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Unified_agent_statuses OUT, 'settings.agents.unified_agent_statuses'
DECLARE @Accepted_api_agreement nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Accepted_api_agreement OUT, 'settings.api.accepted_api_agreement'
DECLARE @Api_password_access nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Api_password_access OUT, 'settings.api.api_password_access'
DECLARE @Api_token_access nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Api_token_access OUT, 'settings.api.api_token_access'
DECLARE @Create_private nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Create_private OUT, 'settings.apps.create_private'
DECLARE @Create_public nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Create_public OUT, 'settings.apps.create_public'
DECLARE @Use nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Use OUT, 'settings.apps.use'
DECLARE @Backend nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Backend OUT, 'settings.billing.backend'
DECLARE @Favicon_url nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Favicon_url OUT, 'settings.branding.favicon_url'
DECLARE @Header_color nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Header_color OUT, 'settings.branding.header_color'
DECLARE @Header_logo_url nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Header_logo_url OUT, 'settings.branding.header_logo_url'
DECLARE @Page_background_color nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Page_background_color OUT, 'settings.branding.page_background_color'
DECLARE @Tab_background_color nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Tab_background_color OUT, 'settings.branding.tab_background_color'
DECLARE @Text_color nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Text_color OUT, 'settings.branding.text_color'
DECLARE @Default_brand_id nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Default_brand_id OUT, 'settings.brands.default_brand_id'
DECLARE @Require_brand_on_new_tickets nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Require_brand_on_new_tickets OUT, 'settings.brands.require_brand_on_new_tickets'
DECLARE @Cdn_provider nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Cdn_provider OUT, 'settings.cdn.cdn_provider'
DECLARE @Fallback_cdn_provider nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Fallback_cdn_provider OUT, 'settings.cdn.fallback_cdn_provider'
DECLARE @Available nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Available OUT, 'settings.chat.available'
DECLARE @Enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Enabled OUT, 'settings.chat.enabled'
DECLARE @Integrated nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Integrated OUT, 'settings.chat.integrated'
DECLARE @Maximum_request_count nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Maximum_request_count OUT, 'settings.chat.maximum_request_count'
DECLARE @Welcome_message nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Welcome_message OUT, 'settings.chat.welcome_message'
DECLARE @Show_chat_tooltip nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Show_chat_tooltip OUT, 'settings.cross_sell.show_chat_tooltip'
DECLARE @Xsell_source nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Xsell_source OUT, 'settings.cross_sell.xsell_source'
DECLARE @Gooddata_advanced_analyticsEnabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Gooddata_advanced_analyticsEnabled OUT, 'settings.gooddata_advanced_analytics.enabled'
DECLARE @Has_google_apps nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Has_google_apps OUT, 'settings.google_apps.has_google_apps'
DECLARE @Has_google_apps_admin nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Has_google_apps_admin OUT, 'settings.google_apps.has_google_apps_admin'
DECLARE @Check_group_name_uniqueness nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Check_group_name_uniqueness OUT, 'settings.groups.check_group_name_uniqueness'
DECLARE @Attachment_size nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Attachment_size OUT, 'settings.limits.attachment_size'
DECLARE @Pod_id nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Pod_id OUT, 'settings.lotus.pod_id'
DECLARE @Prefer_lotus nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Prefer_lotus OUT, 'settings.lotus.prefer_lotus'
DECLARE @Reporting nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Reporting OUT, 'settings.lotus.reporting'
DECLARE @Account_size nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Account_size OUT, 'settings.metrics.account_size'
DECLARE @Checklist_onboarding_version nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Checklist_onboarding_version OUT, 'settings.onboarding.checklist_onboarding_version'
DECLARE @Onboarding_segments nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Onboarding_segments OUT, 'settings.onboarding.onboarding_segments'
DECLARE @Product_sign_up nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Product_sign_up OUT, 'settings.onboarding.product_sign_up'
DECLARE @Autorouting_tag nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Autorouting_tag OUT, 'settings.routing.autorouting_tag'
DECLARE @RoutingEnabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @RoutingEnabled OUT, 'settings.routing.enabled'
DECLARE @Max_email_capacity nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Max_email_capacity OUT, 'settings.routing.max_email_capacity'
DECLARE @Max_messaging_capacity nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Max_messaging_capacity OUT, 'settings.routing.max_messaging_capacity'
DECLARE @Reassignment_messaging_enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Reassignment_messaging_enabled OUT, 'settings.routing.reassignment_messaging_enabled'
DECLARE @Reassignment_messaging_timeout nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Reassignment_messaging_timeout OUT, 'settings.routing.reassignment_messaging_timeout'
DECLARE @Reassignment_talk_timeout nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Reassignment_talk_timeout OUT, 'settings.routing.reassignment_talk_timeout'
DECLARE @Macro_most_used nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Macro_most_used OUT, 'settings.rule.macro_most_used'
DECLARE @Macro_order nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Macro_order OUT, 'settings.rule.macro_order'
DECLARE @Using_skill_based_routing nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Using_skill_based_routing OUT, 'settings.rule.using_skill_based_routing'
DECLARE @Email_channel nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Email_channel OUT, 'settings.side_conversations.email_channel'
DECLARE @Msteams_channel nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Msteams_channel OUT, 'settings.side_conversations.msteams_channel'
DECLARE @Show_in_context_panel nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Show_in_context_panel OUT, 'settings.side_conversations.show_in_context_panel'
DECLARE @Slack_channel nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Slack_channel OUT, 'settings.side_conversations.slack_channel'
DECLARE @Tickets_channel nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Tickets_channel OUT, 'settings.side_conversations.tickets_channel'
DECLARE @Forum nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Forum OUT, 'settings.statistics.forum'
DECLARE @Rule_usage nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Rule_usage OUT, 'settings.statistics.rule_usage'
DECLARE @Search nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Search OUT, 'settings.statistics.search'
DECLARE @Raw_ticket_forms_instructions nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Raw_ticket_forms_instructions OUT, 'settings.ticket_form.raw_ticket_forms_instructions'
DECLARE @Ticket_forms_instructions nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Ticket_forms_instructions OUT, 'settings.ticket_form.ticket_forms_instructions'
DECLARE @Accepted_new_collaboration_tos nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Accepted_new_collaboration_tos OUT, 'settings.tickets.accepted_new_collaboration_tos'
DECLARE @Agent_collision nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_collision OUT, 'settings.tickets.agent_collision'
DECLARE @Agent_ticket_deletion nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_ticket_deletion OUT, 'settings.tickets.agent_ticket_deletion'
DECLARE @Allow_group_reset nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Allow_group_reset OUT, 'settings.tickets.allow_group_reset'
DECLARE @Assign_default_organization nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Assign_default_organization OUT, 'settings.tickets.assign_default_organization'
DECLARE @Assign_tickets_upon_solve nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Assign_tickets_upon_solve OUT, 'settings.tickets.assign_tickets_upon_solve'
DECLARE @Auto_updated_ccs_followers_rules nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Auto_updated_ccs_followers_rules OUT, 'settings.tickets.auto_updated_ccs_followers_rules'
DECLARE @Collaboration nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Collaboration OUT, 'settings.tickets.collaboration'
DECLARE @Comments_public_by_default nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Comments_public_by_default OUT, 'settings.tickets.comments_public_by_default'
DECLARE @Email_attachments nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Email_attachments OUT, 'settings.tickets.email_attachments'
DECLARE @Emoji_autocompletion nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Emoji_autocompletion OUT, 'settings.tickets.emoji_autocompletion'
DECLARE @Follower_and_email_cc_collaborations nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Follower_and_email_cc_collaborations OUT, 'settings.tickets.follower_and_email_cc_collaborations'
DECLARE @Has_color_text nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Has_color_text OUT, 'settings.tickets.has_color_text'
DECLARE @Is_first_comment_private_enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Is_first_comment_private_enabled OUT, 'settings.tickets.is_first_comment_private_enabled'
DECLARE @Light_agent_email_ccs_allowed nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Light_agent_email_ccs_allowed OUT, 'settings.tickets.light_agent_email_ccs_allowed'
DECLARE @List_empty_views nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @List_empty_views OUT, 'settings.tickets.list_empty_views'
DECLARE @List_newest_comments_first nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @List_newest_comments_first OUT, 'settings.tickets.list_newest_comments_first'
DECLARE @Markdown_ticket_comments nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Markdown_ticket_comments OUT, 'settings.tickets.markdown_ticket_comments'
DECLARE @Maximum_personal_views_to_list nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Maximum_personal_views_to_list OUT, 'settings.tickets.maximum_personal_views_to_list'
DECLARE @Private_attachments nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Private_attachments OUT, 'settings.tickets.private_attachments'
DECLARE @Rich_text_comments nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Rich_text_comments OUT, 'settings.tickets.rich_text_comments'
DECLARE @Status_hold nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Status_hold OUT, 'settings.tickets.status_hold'
DECLARE @Tagging nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Tagging OUT, 'settings.tickets.tagging'
DECLARE @TicketsUsing_skill_based_routing nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @TicketsUsing_skill_based_routing OUT, 'settings.tickets.using_skill_based_routing'
DECLARE @Shorten_url nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Shorten_url OUT, 'settings.twitter.shorten_url'
DECLARE @Agent_created_welcome_emails nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_created_welcome_emails OUT, 'settings.user.agent_created_welcome_emails'
DECLARE @End_user_phone_number_validation nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @End_user_phone_number_validation OUT, 'settings.user.end_user_phone_number_validation'
DECLARE @Have_gravatars_enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Have_gravatars_enabled OUT, 'settings.user.have_gravatars_enabled'
DECLARE @Language_selection nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Language_selection OUT, 'settings.user.language_selection'
DECLARE @Multiple_organizations nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Multiple_organizations OUT, 'settings.user.multiple_organizations'
DECLARE @UserTagging nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @UserTagging OUT, 'settings.user.tagging'
DECLARE @Time_zone_selection nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Time_zone_selection OUT, 'settings.user.time_zone_selection'
DECLARE @Agent_confirmation_when_forwarding nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_confirmation_when_forwarding OUT, 'settings.voice.agent_confirmation_when_forwarding'
DECLARE @Agent_wrap_up_after_calls nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Agent_wrap_up_after_calls OUT, 'settings.voice.agent_wrap_up_after_calls'
DECLARE @VoiceEnabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @VoiceEnabled OUT, 'settings.voice.enabled'
DECLARE @Logging nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Logging OUT, 'settings.voice.logging'
DECLARE @Maximum_queue_size nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Maximum_queue_size OUT, 'settings.voice.maximum_queue_size'
DECLARE @Maximum_queue_wait_time nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Maximum_queue_wait_time OUT, 'settings.voice.maximum_queue_wait_time'
DECLARE @Only_during_business_hours nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Only_during_business_hours OUT, 'settings.voice.only_during_business_hours'
DECLARE @Outbound_enabled nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Outbound_enabled OUT, 'settings.voice.outbound_enabled'
DECLARE @Recordings_public nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Recordings_public OUT, 'settings.voice.recordings_public'
DECLARE @Uk_mobile_forwarding nvarchar(4000)
EXEC sp_OAMethod @jResp, 'StringOf', @Uk_mobile_forwarding OUT, 'settings.voice.uk_mobile_forwarding'
DECLARE @i int
SELECT @i = 0
DECLARE @count_i int
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'settings.cdn.hosts'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @name OUT, 'settings.cdn.hosts[i].name'
EXEC sp_OAMethod @jResp, 'StringOf', @url OUT, 'settings.cdn.hosts[i].url'
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'settings.localization.locale_ids'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'settings.localization.locale_ids[i]'
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'settings.rule.skill_based_filtered_views'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @in523 OUT, 'settings.rule.skill_based_filtered_views[i].in523'
EXEC sp_OAMethod @jResp, 'StringOf', @estc OUT, 'settings.rule.skill_based_filtered_views[i].estc'
SELECT @i = @i + 1
END
SELECT @i = 0
EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'settings.ticket_sharing_partners.support_addresses'
WHILE @i < @count_i
BEGIN
EXEC sp_OASetProperty @jResp, 'I', @i
EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'settings.ticket_sharing_partners.support_addresses[i]'
SELECT @i = @i + 1
END
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
END
GO
Curl Command
curl -u login:password -X PUT
-H "Accept: application/json"
https://example.zendesk.com/api/v2/account/settings
Postman Collection Item JSON
{
"name": "Update Account Settings",
"request": {
"method": "PUT",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/api/v2/account/settings",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v2",
"account",
"settings"
]
},
"description": "Updates settings for the account. See [JSON Format](#json-format) above for the settings you can update.\n\n#### Allowed For\n\n* Admins\n"
},
"response": [
{
"name": "Success response",
"originalRequest": {
"method": "PUT",
"header": [
{
"description": "Added as a part of security scheme: basic",
"key": "Authorization",
"value": "Basic <credentials>"
}
],
"url": {
"raw": "{{baseUrl}}/api/v2/account/settings",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v2",
"account",
"settings"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"settings\": {\n \"active_features\": {\n \"advanced_analytics\": \"<boolean>\",\n \"agent_forwarding\": \"<boolean>\",\n \"allow_ccs\": \"<boolean>\",\n \"allow_email_template_customization\": \"<boolean>\",\n \"automatic_answers\": \"<boolean>\",\n \"bcc_archiving\": \"<boolean>\",\n \"benchmark_opt_out\": \"<boolean>\",\n \"business_hours\": \"<boolean>\",\n \"chat\": \"<boolean>\",\n \"chat_about_my_ticket\": \"<boolean>\",\n \"csat_reason_code\": \"<boolean>\",\n \"custom_dkim_domain\": \"<boolean>\",\n \"customer_context_as_default\": \"<boolean>\",\n \"customer_satisfaction\": \"<boolean>\",\n \"dynamic_contents\": \"<boolean>\",\n \"explore\": \"<boolean>\",\n \"explore_on_support_ent_plan\": \"<boolean>\",\n \"explore_on_support_pro_plan\": \"<boolean>\",\n \"facebook\": \"<boolean>\",\n \"facebook_login\": \"<boolean>\",\n \"fallback_composer\": \"<boolean>\",\n \"forum_analytics\": \"<boolean>\",\n \"good_data_and_explore\": \"<boolean>\",\n \"google_login\": \"<boolean>\",\n \"insights\": \"<boolean>\",\n \"is_abusive\": \"<boolean>\",\n \"light_agents\": \"<boolean>\",\n \"markdown\": \"<boolean>\",\n \"on_hold_status\": \"<boolean>\",\n \"rich_content_in_emails\": \"<boolean>\",\n \"sandbox\": \"<boolean>\",\n \"satisfaction_prediction\": \"<boolean>\",\n \"suspended_ticket_notification\": \"<boolean>\",\n \"ticket_forms\": \"<boolean>\",\n \"ticket_tagging\": \"<boolean>\",\n \"topic_suggestion\": \"<boolean>\",\n \"twitter\": \"<boolean>\",\n \"twitter_login\": \"<boolean>\",\n \"user_org_fields\": \"<boolean>\",\n \"user_tagging\": \"<boolean>\",\n \"voice\": \"<boolean>\"\n },\n \"agents\": {\n \"agent_workspace\": \"<boolean>\",\n \"aw_self_serve_migration_enabled\": \"<boolean>\",\n \"focus_mode\": \"<boolean>\",\n \"idle_timeout_enabled\": \"<boolean>\",\n \"unified_agent_statuses\": \"<boolean>\"\n },\n \"api\": {\n \"accepted_api_agreement\": \"<boolean>\",\n \"api_password_access\": \"<string>\",\n \"api_token_access\": \"<string>\"\n },\n \"apps\": {\n \"create_private\": \"<boolean>\",\n \"create_public\": \"<boolean>\",\n \"use\": \"<boolean>\"\n },\n \"billing\": {\n \"backend\": \"<string>\"\n },\n \"branding\": {\n \"favicon_url\": \"<string>\",\n \"header_color\": \"<string>\",\n \"header_logo_url\": \"<string>\",\n \"page_background_color\": \"<string>\",\n \"tab_background_color\": \"<string>\",\n \"text_color\": \"<string>\"\n },\n \"brands\": {\n \"default_brand_id\": \"<integer>\",\n \"require_brand_on_new_tickets\": \"<boolean>\"\n },\n \"cdn\": {\n \"cdn_provider\": \"<string>\",\n \"fallback_cdn_provider\": \"<string>\",\n \"hosts\": [\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n },\n {\n \"name\": \"<string>\",\n \"url\": \"<string>\"\n }\n ]\n },\n \"chat\": {\n \"available\": \"<boolean>\",\n \"enabled\": \"<boolean>\",\n \"integrated\": \"<boolean>\",\n \"maximum_request_count\": \"<integer>\",\n \"welcome_message\": \"<string>\"\n },\n \"cross_sell\": {\n \"show_chat_tooltip\": \"<boolean>\",\n \"xsell_source\": \"<string>\"\n },\n \"gooddata_advanced_analytics\": {\n \"enabled\": \"<boolean>\"\n },\n \"google_apps\": {\n \"has_google_apps\": \"<boolean>\",\n \"has_google_apps_admin\": \"<boolean>\"\n },\n \"groups\": {\n \"check_group_name_uniqueness\": \"<boolean>\"\n },\n \"limits\": {\n \"attachment_size\": \"<integer>\"\n },\n \"localization\": {\n \"locale_ids\": [\n \"<integer>\",\n \"<integer>\"\n ]\n },\n \"lotus\": {\n \"pod_id\": \"<integer>\",\n \"prefer_lotus\": \"<boolean>\",\n \"reporting\": \"<boolean>\"\n },\n \"metrics\": {\n \"account_size\": \"<string>\"\n },\n \"onboarding\": {\n \"checklist_onboarding_version\": \"<integer>\",\n \"onboarding_segments\": \"<string>\",\n \"product_sign_up\": \"<string>\"\n },\n \"routing\": {\n \"autorouting_tag\": \"<string>\",\n \"enabled\": \"<boolean>\",\n \"max_email_capacity\": \"<integer>\",\n \"max_messaging_capacity\": \"<integer>\",\n \"reassignment_messaging_enabled\": \"<boolean>\",\n \"reassignment_messaging_timeout\": \"<integer>\",\n \"reassignment_talk_timeout\": \"<integer>\"\n },\n \"rule\": {\n \"macro_most_used\": \"<boolean>\",\n \"macro_order\": \"<string>\",\n \"skill_based_filtered_views\": [\n {\n \"in523\": 60303840.72385332\n },\n {\n \"estc\": \"eu aliquip id\"\n }\n ],\n \"using_skill_based_routing\": \"<boolean>\"\n },\n \"side_conversations\": {\n \"email_channel\": \"<boolean>\",\n \"msteams_channel\": \"<boolean>\",\n \"show_in_context_panel\": \"<boolean>\",\n \"slack_channel\": \"<boolean>\",\n \"tickets_channel\": \"<boolean>\"\n },\n \"statistics\": {\n \"forum\": \"<boolean>\",\n \"rule_usage\": \"<boolean>\",\n \"search\": \"<boolean>\"\n },\n \"ticket_form\": {\n \"raw_ticket_forms_instructions\": \"<string>\",\n \"ticket_forms_instructions\": \"<string>\"\n },\n \"ticket_sharing_partners\": {\n \"support_addresses\": [\n \"<string>\",\n \"<string>\"\n ]\n },\n \"tickets\": {\n \"accepted_new_collaboration_tos\": \"<boolean>\",\n \"agent_collision\": \"<boolean>\",\n \"agent_ticket_deletion\": \"<boolean>\",\n \"allow_group_reset\": \"<boolean>\",\n \"assign_default_organization\": \"<boolean>\",\n \"assign_tickets_upon_solve\": \"<boolean>\",\n \"auto_updated_ccs_followers_rules\": \"<boolean>\",\n \"collaboration\": \"<boolean>\",\n \"comments_public_by_default\": \"<boolean>\",\n \"email_attachments\": \"<boolean>\",\n \"emoji_autocompletion\": \"<boolean>\",\n \"follower_and_email_cc_collaborations\": \"<boolean>\",\n \"has_color_text\": \"<boolean>\",\n \"is_first_comment_private_enabled\": \"<boolean>\",\n \"light_agent_email_ccs_allowed\": \"<boolean>\",\n \"list_empty_views\": \"<boolean>\",\n \"list_newest_comments_first\": \"<boolean>\",\n \"markdown_ticket_comments\": \"<boolean>\",\n \"maximum_personal_views_to_list\": \"<integer>\",\n \"private_attachments\": \"<boolean>\",\n \"rich_text_comments\": \"<boolean>\",\n \"status_hold\": \"<boolean>\",\n \"tagging\": \"<boolean>\",\n \"using_skill_based_routing\": \"<boolean>\"\n },\n \"twitter\": {\n \"shorten_url\": \"<string>\"\n },\n \"user\": {\n \"agent_created_welcome_emails\": \"<boolean>\",\n \"end_user_phone_number_validation\": \"<boolean>\",\n \"have_gravatars_enabled\": \"<boolean>\",\n \"language_selection\": \"<boolean>\",\n \"multiple_organizations\": \"<boolean>\",\n \"tagging\": \"<boolean>\",\n \"time_zone_selection\": \"<boolean>\"\n },\n \"voice\": {\n \"agent_confirmation_when_forwarding\": \"<boolean>\",\n \"agent_wrap_up_after_calls\": \"<boolean>\",\n \"enabled\": \"<boolean>\",\n \"logging\": \"<boolean>\",\n \"maximum_queue_size\": \"<integer>\",\n \"maximum_queue_wait_time\": \"<integer>\",\n \"only_during_business_hours\": \"<boolean>\",\n \"outbound_enabled\": \"<boolean>\",\n \"recordings_public\": \"<boolean>\",\n \"uk_mobile_forwarding\": \"<boolean>\"\n }\n }\n}"
}
]
}