Name | Signature | Description |
---|
Activate | void Activate(Uri scriptUri) | Activate a script |
BindNotificationScript | EventTriggeredScriptBindingReference1 BindNotificationScript(ScriptTargetParameter1 script, EventBindingTargetParameter1 eventTarget) | Bind the specified script to be run based on events matching the specified triggers |
BulkDelete | ScriptBulkDeleteResults1 BulkDelete(Uri[] scriptUris, Uri scriptBulkDeleteOptionUri) | Delete many scripts |
BulkGetScriptDescriptionSummary | ScriptDescriptionSummary1[] BulkGetScriptDescriptionSummary(Uri[] scriptUris) | Retrieve script description summary for many scripts |
BulkGetScriptDetails | ScriptDetails1[] BulkGetScriptDetails(Uri[] scriptUris) | Retrieve script details for many scripts. Null elements will be returned for requested scripts that can not be returned |
CreateEditDraft | Uri CreateEditDraft(Uri scriptUri) | Create a draft of an existing script. |
CreateFromGlobal | ScriptReference1 CreateFromGlobal(GlobalScriptTargetParameter1 globalScript, String unitOfWorkId) | Copy a script from global script |
CreateNewDraft | Uri CreateNewDraft() | Create a draft of a new script. |
Deactivate | void Deactivate(Uri scriptUri) | Deactivate a script. Existing bindings will still use the script, but the script will be unavailable for new bindings. |
Delete | void Delete(Uri scriptUri) | Delete a script |
GetActiveScripts | ScriptReference1[] GetActiveScripts() | Retrieve a list of all enabled scripts in the system |
GetActiveScriptsWithKeyValues | ScriptReference1[] GetActiveScriptsWithKeyValues(ScriptKeyValue1[] keyValues) | Retrieve a list of active scripts which have a specified setting value |
GetAllNotificationScriptEventBindingDetailsForScript | EventTriggeredScriptBindingDetails1[] GetAllNotificationScriptEventBindingDetailsForScript(Uri scriptUri) | Get list of binding details for the specified script |
GetAllNotificationScriptEventBindings | EventTriggeredScriptBindingReference1[] GetAllNotificationScriptEventBindings() | Get all notification script event bindings |
GetAllScripts | ScriptReference1[] GetAllScripts() | Retrieve a list of all scripts in the system |
GetConfigurableNotificationScriptDetails | ConfigurableNotificationScriptDetails1 GetConfigurableNotificationScriptDetails(Uri scriptUri) | Retrieve notification script details for a notification script or notification script draft. |
GetNotificationScriptEventBindingDetails | EventTriggeredScriptBindingDetails1 GetNotificationScriptEventBindingDetails(EventTriggeredScriptBindingTargetParameter1 target) | Get details of the specified script |
GetScript | ScriptReference1 GetScript(Uri scriptUri) | Get a given script |
GetScriptDetails | ScriptDetails1 GetScriptDetails(Uri scriptUri) | Retrieve script details for a script or script draft. |
GetScriptDetailsIfUpdated | ScriptConditionalDetails1 GetScriptDetailsIfUpdated(Uri scriptUri, Uri scriptVersionUri) | Retrieve script details for a script or draft if it has been changed since the provided parameter ScriptVersion. |
GetScriptRevisions | ScriptRevision1[] GetScriptRevisions(Uri scriptUri) | Retrieve script details with revisions for many scripts. Null elements will be returned for requested scripts that can not be returned |
GetScriptsWithKeyValues | ScriptReference1[] GetScriptsWithKeyValues(ScriptKeyValue1[] keyValues) | Retrieve a list of all scripts which have a specified setting value |
GetUriFromDraft | Uri GetUriFromDraft(Uri draftUri) | Convert a script draft URI into the backing script URI. |
GetUriFromSlug | Uri GetUriFromSlug(String scriptSlug) | Convert a script slug into a URI. |
GetUserNotificationPreferences | UserNotificationPreferences1 GetUserNotificationPreferences(Uri userUri) | Get details of all notification preferences for the specified user |
PublishDraft | ScriptReference1 PublishDraft(Uri draftUri) | Publish a script draft, converting it into a script that is returned. |
PutScript | ScriptReference1 PutScript(ScriptParameter1 script) | Put an entire script object and corresponding properties |
PutSettingValueForScript | void PutSettingValueForScript(Uri scriptUri, ScriptKeyValue1 keyValue) | Sets the specified key on the specified script or draft |
PutUserNotificationPreferences | void PutUserNotificationPreferences(UserTargetParameter1 user, UserNotificationPreferences1 preferences) | Put details of all notification preferences for the specified user |
UnbindNotificationScript | void UnbindNotificationScript(EventTriggeredScriptBindingTargetParameter1 binding) | Remove the specified script binding |
UpdateCostCenter | void UpdateCostCenter(Uri scriptUri, CostCenterTargetParameter1 costCenter) | Modify the cost center of a notification script or notification script draft. |
UpdateDepartmentGroup | void UpdateDepartmentGroup(Uri scriptUri, DepartmentGroupTargetParameter1 departmentGroup) | Modify the department group of a notification script or notification script draft. |
UpdateDescription | void UpdateDescription(Uri scriptUri, String description) | Modify the description of a script or draft. |
UpdateDetailedDescription | void UpdateDetailedDescription(Uri scriptUri, String detailedDescription) | Modify the detail description of a script or draft. |
UpdateDivision | void UpdateDivision(Uri scriptUri, DivisionTargetParameter1 division) | Modify the division of a notification script or notification script draft. |
UpdateEmployeeTypeGroup | void UpdateEmployeeTypeGroup(Uri scriptUri, EmployeeTypeGroupTargetParameter1 employeeTypeGroup) | Modify the employeetype group of a notification script or notification script draft. |
UpdateLocation | void UpdateLocation(Uri scriptUri, LocationTargetParameter1 location) | Modify the location of a notification script or notification script draft. |
UpdateName | void UpdateName(Uri scriptUri, String name) | Modify the name of a script or draft. |
UpdateScriptCode | void UpdateScriptCode(Uri scriptUri, String scriptCode, Uri scriptCodeLanguageUri) | Modify the code of an script or draft. |
UpdateServiceCenter | void UpdateServiceCenter(Uri scriptUri, ServiceCenterTargetParameter1 serviceCenter) | Modify the service center of a notification script or notification script draft. |