system.kanoa.config.saveConfig
Description
Saves the application configuration settings.Syntax
saveConfig(configInfo)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
configId | int | None if this is a new record | |
configTypeName | string | Can pass in configTypeId or configTypeName | |
configTypeId | int | Can pass in configTypeId or configTypeName | |
configName | string | ||
configValue | string |
Code Examples
# Example Usage:
userId = 1
configInfo = {'configTypeName': 'schedule', 'configName': 'shiftTimeOnly', 'configValue': '1'}
configId, msg = system.kanoa.config.saveConfig(configInfo, userId)