Evo Voice

<back to all web services

PatchSystemSettings

Updates the system settings

Requires Authentication
Requires any of the roles:SystemAdministrator, Manager, Customer
The following routes are available for this service:
PATCHY/system/settings
PatchSystemSettings Parameters:
NameParameterData TypeRequiredDescription
OverrideSystemTimequerybool?NoUse to override the system time for testing
OverrideSystemTimeZoneIdquerystringNoThe system override time zone
OverrideSystemDateTimequerystringNoThe system override date/time
AccountIdquerystringNoThe account ID of the system settings
SystemFieldsqueryList<SystemSettingsField>NoThe list of system settings fields
CustomerFieldsqueryList<CustomerDataField>NoThe list of customer fields
EndpointFieldsqueryList<EndpointDataField>NoThe list of endpoint fields
EmailAccountsqueryList<EmailAccount>NoThe list of email accounts
TagsqueryList<Tag>NoThe list of tags
DocumentationquerystringNoDocumentation for the account
RecordingRetentionDaysqueryint?NoThe number of days recordings are retained
EnableSipReferquerybool?NoEnable the SIP refer beta
AutoAgentLogoffSecondsqueryint?NoThe number of seconds after which we automatically logoff a not ready agent
DefaultSipRegionqueryTwilioSipRegions?NoThe default SIP region for new devices
SystemSettingsField Parameters:
NameParameterData TypeRequiredDescription
ValueformValueNo
DataField Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
TypeformValueTypesNo
UIHintformUIHintsNo
UITabformstringNo
IsAsyncformboolNo
DisableBindingformboolNo
StructTypeformDataTypeNo
ListTypeformDataTypeNo
DescriptionformstringNo
PossibleValuesformList<string>No
IsOutputformboolNo
CustomFieldValuesUrlformstringNo
DefaultValueformValueNo
TransitionNameFormatformstringNo
UniquenessformDataFieldUniquenessNo
VoiceOnlyformboolNo
ConditionalVisibilityFieldformstringNo
ConditionalVisibilityValueformstringNo
NoEvalTemplateformboolNo
UserModeformUserDataFieldModesNo
AnyValueTypeformboolNo
ValueTypes Enum:
NotSpecified
String
Boolean
Number
List
Struct
Transition
Custom
Date
AudioFile
TimeZoneId
PhoneNumber
User
Endpoint
Time
File
FaxNumber
EmailAccount
Customer
Flow
Team
FlowReference
Integration
Assistant
UIHints Enum:
None
LargeText
InlineForm
Password
InlineStruct
DataType Parameters:
NameParameterData TypeRequiredDescription
TypeNameformstringNo
FieldsformList<DataField>No
Value Parameters:
NameParameterData TypeRequiredDescription
BoolValueformbool?No
StringValueformstringNo
NumberValueformdouble?No
ListValueformList<Struct>No
StructValueformStructNo
DataFieldUniqueness Enum:
NotUnique
Unique
UniqueToCustomer
UserDataFieldModes Enum:
Hidden
ReadOnly
ReadWrite
CustomerDataField Parameters:
NameParameterData TypeRequiredDescription
ShowInSearchformboolNo
EndpointDataField Parameters:
NameParameterData TypeRequiredDescription
ShowInSearchformboolNo
ShowInListsformboolNo
EndpointTypeformEndpointTypes?No
IsCallerIdformboolNo
IsKnobformboolNo
EndpointTypes Enum:
PhoneNumber
User
FaxNumber
EmailAddress
Unused_1
Unused_2
Unused_3
Unused_4
Unused_5
Team
Assistant
EmailAccount Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ServerformstringNo
UserNameformstringNo
PortformintNo
EmailAddressformstringNo
DisplayNameformstringNo
PasswordformstringNo
Tag Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
ColorformTagColorsNo
TagColors Enum:
Magenta
Red
Volcano
Orange
Gold
Lime
Green
Cyan
Blue
GeekBlue
Purple
TwilioSipRegions Enum:
NorthAmericaVirginia
NorthAmericaOregon
EuropeIreland
EuropeFrankfurt
AsiaPacificSingapore
AsiaPacificTokyo
AsiaPacificSydney
SouthAmericaSanPaolo
SystemSettingsInfo Parameters:
NameParameterData TypeRequiredDescription
OverrideSystemTimeformboolNoUse to override the system time for testing
OverrideSystemTimeZoneIdformstringNoThe system override time zone
OverrideSystemDateTimeformstringNoThe system override date/time
SystemFieldsformList<SystemSettingsField>NoThe list of system settings fields
CustomerFieldsformList<CustomerDataField>NoThe list of customer metadata fields
EndpointFieldsformList<EndpointDataField>NoThe list of endpoint metadata fields
EmailAccountsformList<EmailAccount>NoThe list of email accounts
TagsformList<Tag>NoThe list of tags in the system
DocumentationformstringNoDocumentation for the account
RecordingRetentionDaysformintNoThe number of days recordings are retained
EnableSipReferformboolNoEnable the SIP refer beta
AutoAgentLogoffSecondsformintNoThe number of seconds after which we automatically logoff a not ready agent
DefaultSipRegionformTwilioSipRegions?NoThe default SIP region for new devices
EntityInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNoThe ID of the object
DateCreatedformstringNoThe date the object was created
DateLastModifiedformstringNoThe date the object was last modified
CreatedByformstringNoThe user that created this object
LastModifiedByformstringNoThe user that last modified this object

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /system/settings HTTP/1.1 
Host: team.evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	overrideSystemTime: False,
	overrideSystemTimeZoneId: String,
	overrideSystemDateTime: String,
	accountId: String,
	systemFields: 
	[
		{
			value: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			id: String,
			name: String,
			type: NotSpecified,
			uiHint: None,
			uiTab: String,
			isAsync: False,
			disableBinding: False,
			description: String,
			possibleValues: 
			[
				String
			],
			isOutput: False,
			customFieldValuesUrl: String,
			defaultValue: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			transitionNameFormat: String,
			uniqueness: NotUnique,
			voiceOnly: False,
			conditionalVisibilityField: String,
			conditionalVisibilityValue: String,
			noEvalTemplate: False,
			userMode: Hidden,
			anyValueType: False
		}
	],
	customerFields: 
	[
		{
			showInSearch: False,
			id: String,
			name: String,
			type: NotSpecified,
			uiHint: None,
			uiTab: String,
			isAsync: False,
			disableBinding: False,
			description: String,
			possibleValues: 
			[
				String
			],
			isOutput: False,
			customFieldValuesUrl: String,
			defaultValue: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			transitionNameFormat: String,
			uniqueness: NotUnique,
			voiceOnly: False,
			conditionalVisibilityField: String,
			conditionalVisibilityValue: String,
			noEvalTemplate: False,
			userMode: Hidden,
			anyValueType: False
		}
	],
	endpointFields: 
	[
		{
			showInSearch: False,
			showInLists: False,
			endpointType: PhoneNumber,
			isCallerId: False,
			isKnob: False,
			id: String,
			name: String,
			type: NotSpecified,
			uiHint: None,
			uiTab: String,
			isAsync: False,
			disableBinding: False,
			description: String,
			possibleValues: 
			[
				String
			],
			isOutput: False,
			customFieldValuesUrl: String,
			defaultValue: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			transitionNameFormat: String,
			uniqueness: NotUnique,
			voiceOnly: False,
			conditionalVisibilityField: String,
			conditionalVisibilityValue: String,
			noEvalTemplate: False,
			userMode: Hidden,
			anyValueType: False
		}
	],
	emailAccounts: 
	[
		{
			id: String,
			server: String,
			userName: String,
			port: 0,
			emailAddress: String,
			displayName: String,
			password: String
		}
	],
	tags: 
	[
		{
			id: String,
			name: String,
			color: Magenta
		}
	],
	documentation: String,
	recordingRetentionDays: 0,
	enableSipRefer: False,
	autoAgentLogoffSeconds: 0,
	defaultSipRegion: NorthAmericaVirginia
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	overrideSystemTime: False,
	overrideSystemTimeZoneId: String,
	overrideSystemDateTime: String,
	systemFields: 
	[
		{
			value: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			id: String,
			name: String,
			type: NotSpecified,
			uiHint: None,
			uiTab: String,
			isAsync: False,
			disableBinding: False,
			description: String,
			possibleValues: 
			[
				String
			],
			isOutput: False,
			customFieldValuesUrl: String,
			defaultValue: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			transitionNameFormat: String,
			uniqueness: NotUnique,
			voiceOnly: False,
			conditionalVisibilityField: String,
			conditionalVisibilityValue: String,
			noEvalTemplate: False,
			userMode: Hidden,
			anyValueType: False
		}
	],
	customerFields: 
	[
		{
			showInSearch: False,
			id: String,
			name: String,
			type: NotSpecified,
			uiHint: None,
			uiTab: String,
			isAsync: False,
			disableBinding: False,
			description: String,
			possibleValues: 
			[
				String
			],
			isOutput: False,
			customFieldValuesUrl: String,
			defaultValue: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			transitionNameFormat: String,
			uniqueness: NotUnique,
			voiceOnly: False,
			conditionalVisibilityField: String,
			conditionalVisibilityValue: String,
			noEvalTemplate: False,
			userMode: Hidden,
			anyValueType: False
		}
	],
	endpointFields: 
	[
		{
			showInSearch: False,
			showInLists: False,
			endpointType: PhoneNumber,
			isCallerId: False,
			isKnob: False,
			id: String,
			name: String,
			type: NotSpecified,
			uiHint: None,
			uiTab: String,
			isAsync: False,
			disableBinding: False,
			description: String,
			possibleValues: 
			[
				String
			],
			isOutput: False,
			customFieldValuesUrl: String,
			defaultValue: 
			{
				boolValue: False,
				stringValue: String,
				numberValue: 0,
				listValue: 
				[
					null
				]
			},
			transitionNameFormat: String,
			uniqueness: NotUnique,
			voiceOnly: False,
			conditionalVisibilityField: String,
			conditionalVisibilityValue: String,
			noEvalTemplate: False,
			userMode: Hidden,
			anyValueType: False
		}
	],
	emailAccounts: 
	[
		{
			id: String,
			server: String,
			userName: String,
			port: 0,
			emailAddress: String,
			displayName: String,
			password: String
		}
	],
	tags: 
	[
		{
			id: String,
			name: String,
			color: Magenta
		}
	],
	documentation: String,
	recordingRetentionDays: 0,
	enableSipRefer: False,
	autoAgentLogoffSeconds: 0,
	defaultSipRegion: NorthAmericaVirginia,
	id: String,
	dateCreated: String,
	dateLastModified: String,
	createdBy: String,
	lastModifiedBy: String
}