system.kanoa.config.saveConfig(configInfo, userId)
Adds or updates the config information
Parameters
configInfo dictionary
| - configId | Integer | None if this is a new record |
| - configName | String | Name of configuration parameter |
| - configTypeId | Integer | Can pass in configTypeId or configTypeName |
| - configTypeName | String | Can pass in configTypeId or configTypeName |
| - configValue | String | Value of parameter |
| - description | String |
userId Integer
Returns
configId Integer
msg String None if success
Example
userId = 1
configInfo = {'configTypeName': 'schedule', 'configName': 'shiftTimeOnly', 'configValue': '1'}
configId, msg = system.kanoa.config.saveConfig(configInfo, userId)