Post

1 follower Follow
0
Avatar

Get/Update system settings via API

Hey guys,

For our instance we are trying to get/update system settings of Clarizen instance. ( i.e : GlobalSettings of a sub-organization not the main org)

The api endpoints are here :
https://api.clarizen.com/V2.0/services/metadata/GetSystemSettingsValues
https://api.clarizen.com/V2.0/services/metadata/SetSystemSettingsValues

We tried to use these endpoints but we couldnt understand where to look for correct field key names.

I tried with the values below but it didnt work out.

SendAlertsViaEmail
EnableNotificationForCompletedPredecessorsViaEmail
SendUsersTriggeredEmailsOnBehalfOfTheUser
EnableAutomaticSubscriptionOfIssueCreatorOwnerAndEvaluatorForNotifications

I also tried with the printed values in the settings page like 

"Send users triggered emails on behalf of the user" 
"Automatic notification subscription of case creator, owner, assignee and evaluator"
"Enable email alerts"
"Notify on dependency completion"


But the requests are failing and we cant change the settings.

Could you share the list of all SystemSetting keys or and possible values ( especially for dropdown options ) ? Also could you check if there is a restriction for amending a setting value via API ? 

Mustafa Kipergil

Please sign in to leave a comment.

1 comment

0
Avatar

To be more specific i got this error for updating this field key "Send users triggered emails on behalf of the user" with a field value "true"

[General] Configuration value for key Send users triggered emails on behalf of the user can not be overriden at level User (Reference Id: 2TS6wDij4mLQED4CGFtUdt)

And for those ones i got Invalid Key errors like below : 

"Automatic notification subscription of case creator, owner, assignee and evaluator"
> [General] Invalid key Automatic notification subscription of case creator, owner, assignee and evaluator (Reference Id: 1cBOrKUb3vI4oIYPdUF7fo)

"Enable email alerts"
> [General] Invalid key Enable email alerts (Reference Id: 2GtKx7Hw1YCC7K3IxxSOap)

"Notify on dependency completion"
> [General] Invalid key Notify on dependency completion (Reference Id: 3pANr9ka7PKoQADfPK5X95)

Mustafa Kipergil 0 votes
Comment actions Permalink