Requires any of the roles: | SystemAdministrator, Manager, Customer |
PATCH | /phone-numbers/{endpointId}/fax |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
/**
* Set the specified phone number's fax mode
*/
@Api(Description="Set the specified phone number's fax mode")
open class SetPhoneNumberIsFax : IPatch
{
/**
* The ID of the endpoint
*/
@ApiMember(Description="The ID of the endpoint")
var endpointId:String? = null
/**
* Whether it's a fax or not?
*/
@ApiMember(Description="Whether it's a fax or not?")
var isFax:Boolean? = null
}
open class EndpointInfo : EntityInfo()
{
/**
* The account ID this endpoint is associated with
*/
@ApiMember(Description="The account ID this endpoint is associated with")
var accountId:String? = null
/**
* The name of the account this endpoint is associated with
*/
@ApiMember(Description="The name of the account this endpoint is associated with")
var accountName:String? = null
/**
* The ID of the customer this endpoint is associated with
*/
@ApiMember(Description="The ID of the customer this endpoint is associated with")
var customerId:String? = null
/**
* The name of the customer this endpoint is associated with
*/
@ApiMember(Description="The name of the customer this endpoint is associated with")
var customerName:String? = null
/**
* The third party reference ID for the endpoint
*/
@ApiMember(Description="The third party reference ID for the endpoint")
var referenceId:String? = null
/**
* The breadcrumb to the customer for this endpoint
*/
@ApiMember(Description="The breadcrumb to the customer for this endpoint")
var customerBreadcrumb:ArrayList<CustomerBreadcrumb> = ArrayList<CustomerBreadcrumb>()
/**
* The display name of the endpoint
*/
@ApiMember(Description="The display name of the endpoint")
var displayName:String? = null
/**
* The type of endpoint
*/
@ApiMember(Description="The type of endpoint")
@SerializedName("type") var Type:EndpointTypes? = null
/**
* Extra info for this endpoint (typically to show in grid)
*/
@ApiMember(Description="Extra info for this endpoint (typically to show in grid)")
var extraInformation:String? = null
/**
* The ID of the flow to use for voice
*/
@ApiMember(Description="The ID of the flow to use for voice")
var flowId:String? = null
/**
* The name of the flow to use for voice
*/
@ApiMember(Description="The name of the flow to use for voice")
var flowName:String? = null
/**
* The params for the voice flow
*/
@ApiMember(Description="The params for the voice flow")
var flowParams:Struct? = null
/**
* Whether to use a single flow always or use scheduled flow system
*/
@ApiMember(Description="Whether to use a single flow always or use scheduled flow system")
var flowSchedule:EndpointFlowSchedules? = null
/**
* This endpoint's schedule
*/
@ApiMember(Description="This endpoint's schedule")
var schedule:Schedule? = null
/**
* The list of scheduled flows when using scheduling
*/
@ApiMember(Description="The list of scheduled flows when using scheduling")
var scheduledFlows:ArrayList<ScheduledFlow> = ArrayList<ScheduledFlow>()
/**
* Disable SMS
*/
@ApiMember(Description="Disable SMS")
var disableSms:Boolean? = null
/**
* Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number
*/
@ApiMember(Description="Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number")
var useExternal10DlcCampaign:Boolean? = null
/**
* Is this a virtual phone number?
*/
@ApiMember(Description="Is this a virtual phone number?")
var isVirtualPhoneNumber:Boolean? = null
/**
* Is caller ID verified for this virtual number?
*/
@ApiMember(Description="Is caller ID verified for this virtual number?")
var isCallerIdVerified:Boolean? = null
/**
* The verification code for this number
*/
@ApiMember(Description="The verification code for this number")
var callerIdVerificationCode:String? = null
/**
* The phone number
*/
@ApiMember(Description="The phone number")
var phoneNumber:String? = null
/**
* The Sid of the phone number
*/
@ApiMember(Description="The Sid of the phone number")
var phoneNumberSid:String? = null
/**
* The caller ID Name (CNAM) for the phone number
*/
@ApiMember(Description="The caller ID Name (CNAM) for the phone number")
var callerIdName:String? = null
/**
* The address SID associated with the phone number
*/
@ApiMember(Description="The address SID associated with the phone number")
var addressSid:String? = null
/**
* Do not touch this phone number - for BYOA accounts
*/
@ApiMember(Description="Do not touch this phone number - for BYOA accounts")
var doNotTouchPhoneNumber:Boolean? = null
/**
* Is this number enrolled in a 10DLC messaging service campaign
*/
@ApiMember(Description="Is this number enrolled in a 10DLC messaging service campaign")
var isEnrolledIn10DlcService:Boolean? = null
/**
* Whether we look up caller ID or not
*/
@ApiMember(Description="Whether we look up caller ID or not")
var enableCallerIdLookup:Boolean? = null
/**
* The email address of the user
*/
@ApiMember(Description="The email address of the user")
var userEmailAddress:String? = null
/**
* The Twilio Region for the SIP endpoint
*/
@ApiMember(Description="The Twilio Region for the SIP endpoint")
var sipRegion:TwilioSipRegions? = null
/**
* The Twilio Sid of the credentials for Sip
*/
@ApiMember(Description="The Twilio Sid of the credentials for Sip")
var sipCredentialSid:String? = null
/**
* The Twilio SIP user name
*/
@ApiMember(Description="The Twilio SIP user name")
var sipUserName:String? = null
/**
* The Twilio SIP password
*/
@ApiMember(Description="The Twilio SIP password")
var sipPassword:String? = null
/**
* The SIP domain
*/
@ApiMember(Description="The SIP domain")
var sipDomain:String? = null
/**
* Is emergency calling enabled on this number?
*/
@ApiMember(Description="Is emergency calling enabled on this number?")
var enableEmergencyCalling:Boolean? = null
/**
* The SID of the emergency address for this number
*/
@ApiMember(Description="The SID of the emergency address for this number")
var emergencyAddressSid:String? = null
/**
* The ID of the phone number to use for emergency dialing
*/
@ApiMember(Description="The ID of the phone number to use for emergency dialing")
var emergencyPhoneNumberId:String? = null
/**
* The current agent state of this user endpoint
*/
@ApiMember(Description="The current agent state of this user endpoint")
var agentState:AgentStates? = null
/**
* The current agent state reason of this user endpoint
*/
@ApiMember(Description="The current agent state reason of this user endpoint")
var agentStateReason:AgentStateReasons? = null
/**
* The mode for this user
*/
@ApiMember(Description="The mode for this user")
var userMode:UserModes? = null
/**
* The ID of the file to use for voicemail greeting
*/
@ApiMember(Description="The ID of the file to use for voicemail greeting")
var voicemailGreetingId:String? = null
/**
* The endpoint's data
*/
@ApiMember(Description="The endpoint's data")
@SerializedName("data") var Data:Struct? = null
/**
* The email address for email endpoints
*/
@ApiMember(Description="The email address for email endpoints")
var emailAddress:String? = null
/**
* The first name of the user (for user endpoints)
*/
@ApiMember(Description="The first name of the user (for user endpoints)")
var userFirstName:String? = null
/**
* The last name of the user (for user endpoints)
*/
@ApiMember(Description="The last name of the user (for user endpoints)")
var userLastName:String? = null
/**
* The URL of an image for this user's avatar
*/
@ApiMember(Description="The URL of an image for this user's avatar")
var avatarUrl:String? = null
/**
* Does this user have manager role?
*/
@ApiMember(Description="Does this user have manager role?")
var managerRole:UserManagerRoles? = null
/**
* The list of dashboard permissions for when the manager role is custom
*/
@ApiMember(Description="The list of dashboard permissions for when the manager role is custom")
var dashboardPermissions:ArrayList<DashboardPermissions> = ArrayList<DashboardPermissions>()
/**
* The type of visibility this user has to their own fields
*/
@ApiMember(Description="The type of visibility this user has to their own fields")
var myFieldPermissions:UserDataFieldModes? = null
/**
* The type of visibility this user has to customer fields
*/
@ApiMember(Description="The type of visibility this user has to customer fields")
var customerFieldPermissions:UserDataFieldModes? = null
/**
* The type of visibility this user has to other user fields
*/
@ApiMember(Description="The type of visibility this user has to other user fields")
var otherUserFieldPermissions:UserDataFieldModes? = null
/**
* The type of visibility this user has to other endpoint fields
*/
@ApiMember(Description="The type of visibility this user has to other endpoint fields")
var otherEndpointFieldPermissions:UserDataFieldModes? = null
/**
* The name of this endpoint (for bots etc.)
*/
@ApiMember(Description="The name of this endpoint (for bots etc.)")
var name:String? = null
/**
* The list of tags for this endpoint
*/
@ApiMember(Description="The list of tags for this endpoint")
var tags:ArrayList<Tag> = ArrayList<Tag>()
/**
* The list of action URLs
*/
@ApiMember(Description="The list of action URLs")
var actionUrls:ArrayList<EndpointActionUrl> = ArrayList<EndpointActionUrl>()
/**
* The list of members in this team
*/
@ApiMember(Description="The list of members in this team")
var teamMemberIds:ArrayList<String> = ArrayList<String>()
/**
* Visibility of this user/team in contact lists
*/
@ApiMember(Description="Visibility of this user/team in contact lists")
var contactListVisibility:CustomerVisibility? = null
/**
* The list of contacts personal to this user
*/
@ApiMember(Description="The list of contacts personal to this user")
var contacts:ArrayList<EndpointContact> = ArrayList<EndpointContact>()
/**
* The documo ID for this number
*/
@ApiMember(Description="The documo ID for this number")
var documoId:String? = null
/**
* Integration data for this endpoint
*/
@ApiMember(Description="Integration data for this endpoint")
var integrationData:EntityIntegrationData? = null
/**
* Settings for third party phone system
*/
@ApiMember(Description="Settings for third party phone system")
var thirdPartyPhoneSystemSettings:ThirdPartyPhoneSystemSettings? = null
/**
* Should this user override the parent customer's app settings
*/
@ApiMember(Description="Should this user override the parent customer's app settings")
var overrideAppSettings:Boolean? = null
/**
* App / Portal settings for this user
*/
@ApiMember(Description="App / Portal settings for this user")
var appSettings:AppSettings? = null
}
open class EntityInfo
{
/**
* The ID of the object
*/
@ApiMember(Description="The ID of the object")
var id:String? = null
/**
* The date the object was created
*/
@ApiMember(Description="The date the object was created")
var dateCreated:String? = null
/**
* The date the object was last modified
*/
@ApiMember(Description="The date the object was last modified")
var dateLastModified:String? = null
/**
* The user that created this object
*/
@ApiMember(Description="The user that created this object")
var createdBy:String? = null
/**
* The user that last modified this object
*/
@ApiMember(Description="The user that last modified this object")
var lastModifiedBy:String? = null
}
open class CustomerBreadcrumb
{
var id:String? = null
var name:String? = null
}
enum class EndpointTypes
{
PhoneNumber,
User,
FaxNumber,
EmailAddress,
Unused1,
Unused2,
Unused3,
Unused4,
Unused5,
Team,
}
open class Struct : HashMap<String,Value>()
{
}
open class Value
{
var boolValue:Boolean? = null
var stringValue:String? = null
var numberValue:Double? = null
var listValue:ArrayList<Struct> = ArrayList<Struct>()
var structValue:Struct? = null
}
enum class EndpointFlowSchedules
{
Always,
Scheduled,
Simple,
}
open class Schedule
{
var timeZoneId:String? = null
var inherit:Boolean? = null
var forceClosed:Boolean? = null
var rules:ArrayList<SchedulingRule> = ArrayList<SchedulingRule>()
var defaultState:String? = null
}
open class SchedulingRule
{
var id:String? = null
var name:String? = null
var priority:Int? = null
var state:String? = null
var source:String? = null
var condition:String? = null
var simpleRuleType:SimpleSchedulingRuleTypes? = null
var customerState:String? = null
var flowId:String? = null
var flowParams:Struct? = null
var isAllDay:Boolean? = null
var startDate:String? = null
var startTime:String? = null
var endTime:String? = null
var bySetPosition:ArrayList<Int> = ArrayList<Int>()
var byMonth:ArrayList<Int> = ArrayList<Int>()
var byWeekNo:ArrayList<Int> = ArrayList<Int>()
var byYearDay:ArrayList<Int> = ArrayList<Int>()
var byMonthDay:ArrayList<Int> = ArrayList<Int>()
var byDay:ArrayList<ScheduleDay> = ArrayList<ScheduleDay>()
var byHour:ArrayList<Int> = ArrayList<Int>()
var byMinute:ArrayList<Int> = ArrayList<Int>()
var interval:Int? = null
var count:Int? = null
var untilDate:String? = null
var frequency:SchedulingRuleFrequency? = null
}
enum class SimpleSchedulingRuleTypes
{
Always,
CustomerState,
Time,
}
open class ScheduleDay
{
var offset:Int? = null
var dayOfWeek:DayOfWeek? = null
}
enum class SchedulingRuleFrequency
{
None,
Secondly,
Minutely,
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
}
open class ScheduledFlow
{
var stateName:String? = null
var flowId:String? = null
var flowParams:Struct? = null
}
enum class TwilioSipRegions
{
NorthAmericaVirginia,
NorthAmericaOregon,
EuropeIreland,
EuropeFrankfurt,
AsiaPacificSingapore,
AsiaPacificTokyo,
AsiaPacificSydney,
SouthAmericaSanPaolo,
}
enum class AgentStates
{
Unknown,
Ready,
NotReady,
LoggedOut,
WrapUp,
Outgoing,
Other,
}
enum class AgentStateReasons
{
Unknown,
SetByUser,
MissedCall,
SetBySystem,
}
enum class UserModes
{
SoftPhone,
Sip,
Flow,
DataOnly,
ThirdParty,
}
enum class UserManagerRoles
{
None,
Manager,
VoicemailAndCallHistory,
Custom,
}
enum class DashboardPermissions
{
ViewFiles,
ViewNotifications,
ViewSessions,
ViewEndpoints,
ViewReports,
ViewCustomers,
ViewFlows,
}
enum class UserDataFieldModes
{
Hidden,
ReadOnly,
ReadWrite,
}
open class Tag
{
var id:String? = null
var name:String? = null
var color:TagColors? = null
}
enum class TagColors
{
Magenta,
Red,
Volcano,
Orange,
Gold,
Lime,
Green,
Cyan,
Blue,
GeekBlue,
Purple,
}
open class EndpointActionUrl
{
var id:String? = null
var url:String? = null
var method:ActionUrlHttpMethods? = null
}
enum class ActionUrlHttpMethods
{
Get,
Post,
}
enum class CustomerVisibility
{
None,
CurrentCustomer,
CurrentAndChildCustomers,
}
open class EndpointContact
{
var id:String? = null
var displayName:String? = null
var address:String? = null
}
open class EntityIntegrationData : HashMap<String,IntegrationData>()
{
}
open class IntegrationData
{
var thirdPartyId:String? = null
}
open class ThirdPartyPhoneSystemSettings
{
@SerializedName("type") var Type:ThirdPartyPhoneSystemTypes? = null
var sipSettings:ThirdPartySipSettings? = null
var demoSettings:ThirdPartyDemoSettings? = null
}
enum class ThirdPartyPhoneSystemTypes
{
Demo,
Sip,
}
open class ThirdPartySipSettings
{
var accounts:ArrayList<ThirdPartySipAccountSettings> = ArrayList<ThirdPartySipAccountSettings>()
}
open class ThirdPartySipAccountSettings
{
var number:String? = null
var agent:String? = null
var authName:String? = null
var userName:String? = null
var displayName:String? = null
var password:String? = null
var userDomain:String? = null
var registrationExpires:Int? = null
var transportType:TransportTypes? = null
var localIP:String? = null
var localPort:Int? = null
var sipServer:String? = null
var sipServerPort:Int? = null
var outboundServer:String? = null
var outboundServerPort:Int? = null
var stunServer:String? = null
var stunPort:Int? = null
var audioPlaybackDeviceName:String? = null
var audioRecordingDeviceName:String? = null
var audioCodecs:ArrayList<AudioCodecTypes> = ArrayList<AudioCodecTypes>()
var dtmfMethod:DtmfMethods? = null
}
enum class TransportTypes
{
Udp,
Tls,
Tcp,
Pers,
}
enum class AudioCodecTypes(val value:Int)
{
Pcmu(0),
Gsm(3),
Pcma(8),
G722(9),
G729(18),
Ilbc(97),
Amr(98),
Amrwb(99),
Speex(100),
Dtmf(101),
Speexwb(102),
Isacwb(103),
Isacswb(104),
Opus(105),
G7221(121),
None(-1),
}
enum class DtmfMethods
{
RfC2833,
Info,
}
open class ThirdPartyDemoSettings
{
var extension:String? = null
}
open class AppSettings
{
var enablePhoneNumberManagement:Boolean? = null
var enableDeviceManagement:Boolean? = null
var enableDialer:Boolean? = null
var enableCallHistory:Boolean? = null
var showFileNameInMessageCenter:Boolean? = null
var chakraTheme:String? = null
var customCss:String? = null
var pageTitle:String? = null
var stringMappings:String? = null
var logoutUrl:String? = null
var portMyNumberUrl:String? = null
}
Kotlin SetPhoneNumberIsFax DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /phone-numbers/{endpointId}/fax HTTP/1.1
Host: evovoice.io
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SetPhoneNumberIsFax xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Endpoints">
<EndpointId>String</EndpointId>
<IsFax>false</IsFax>
</SetPhoneNumberIsFax>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EndpointInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Endpoints"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</CreatedBy> <DateCreated xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</DateCreated> <DateLastModified xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</DateLastModified> <Id xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</Id> <LastModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</LastModifiedBy> <AccountId>String</AccountId> <AccountName>String</AccountName> <ActionUrls> <EndpointActionUrl> <Id>String</Id> <Method>GET</Method> <Url>String</Url> </EndpointActionUrl> </ActionUrls> <AddressSid>String</AddressSid> <AgentState>Unknown</AgentState> <AgentStateReason>Unknown</AgentStateReason> <AppSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers"> <d2p1:ChakraTheme>String</d2p1:ChakraTheme> <d2p1:CustomCss>String</d2p1:CustomCss> <d2p1:EnableCallHistory>false</d2p1:EnableCallHistory> <d2p1:EnableDeviceManagement>false</d2p1:EnableDeviceManagement> <d2p1:EnableDialer>false</d2p1:EnableDialer> <d2p1:EnablePhoneNumberManagement>false</d2p1:EnablePhoneNumberManagement> <d2p1:LogoutUrl>String</d2p1:LogoutUrl> <d2p1:PageTitle>String</d2p1:PageTitle> <d2p1:PortMyNumberUrl>String</d2p1:PortMyNumberUrl> <d2p1:ShowFileNameInMessageCenter>false</d2p1:ShowFileNameInMessageCenter> <d2p1:StringMappings>String</d2p1:StringMappings> </AppSettings> <AvatarUrl>String</AvatarUrl> <CallerIdName>String</CallerIdName> <CallerIdVerificationCode>String</CallerIdVerificationCode> <ContactListVisibility>None</ContactListVisibility> <Contacts> <EndpointContact> <Address>String</Address> <DisplayName>String</DisplayName> <Id>String</Id> </EndpointContact> </Contacts> <CustomerBreadcrumb xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers"> <d2p1:CustomerBreadcrumb> <d2p1:Id>String</d2p1:Id> <d2p1:Name>String</d2p1:Name> </d2p1:CustomerBreadcrumb> </CustomerBreadcrumb> <CustomerFieldPermissions>Hidden</CustomerFieldPermissions> <CustomerId>String</CustomerId> <CustomerName>String</CustomerName> <DashboardPermissions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Authentication"> <d2p1:DashboardPermissions>ViewFiles</d2p1:DashboardPermissions> </DashboardPermissions> <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data"> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:StructValue> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:StructValue> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:StructValue> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </Data> <DisableSms>false</DisableSms> <DisplayName>String</DisplayName> <DoNotTouchPhoneNumber>false</DoNotTouchPhoneNumber> <DocumoId>String</DocumoId> <EmailAddress>String</EmailAddress> <EmergencyAddressSid>String</EmergencyAddressSid> <EmergencyPhoneNumberId>String</EmergencyPhoneNumberId> <EnableCallerIdLookup>false</EnableCallerIdLookup> <EnableEmergencyCalling>false</EnableEmergencyCalling> <ExtraInformation>String</ExtraInformation> <FlowId>String</FlowId> <FlowName>String</FlowName> <FlowParams xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data"> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:StructValue> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue> <d2p1:KeyValueOfstringValue8Ahp2kgT> <d2p1:Key>String</d2p1:Key> <d2p1:Value> <d4p1:BoolValue>false</d4p1:BoolValue> <d4p1:ListValue> <d2p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d4p1:ListValue> <d4p1:NumberValue>0</d4p1:NumberValue> <d4p1:StringValue>String</d4p1:StringValue> <d4p1:StructValue i:nil="true" /> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:StructValue> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:StructValue> </d2p1:Value> </d2p1:KeyValueOfstringValue8Ahp2kgT> </FlowParams> <FlowSchedule>Always</FlowSchedule> <IntegrationData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringIntegrationDataY_SkqLnhh> <d2p1:Key>String</d2p1:Key> <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Integrations"> <d4p1:ThirdPartyId>String</d4p1:ThirdPartyId> </d2p1:Value> </d2p1:KeyValueOfstringIntegrationDataY_SkqLnhh> </IntegrationData> <IsCallerIdVerified>false</IsCallerIdVerified> <IsEnrolledIn10DlcService>false</IsEnrolledIn10DlcService> <IsVirtualPhoneNumber>false</IsVirtualPhoneNumber> <ManagerRole>None</ManagerRole> <MyFieldPermissions>Hidden</MyFieldPermissions> <Name>String</Name> <OtherEndpointFieldPermissions>Hidden</OtherEndpointFieldPermissions> <OtherUserFieldPermissions>Hidden</OtherUserFieldPermissions> <OverrideAppSettings>false</OverrideAppSettings> <PhoneNumber>String</PhoneNumber> <PhoneNumberSid>String</PhoneNumberSid> <ReferenceId>String</ReferenceId> <Schedule xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Scheduling"> <d2p1:DefaultState>String</d2p1:DefaultState> <d2p1:ForceClosed>false</d2p1:ForceClosed> <d2p1:Inherit>false</d2p1:Inherit> <d2p1:Rules> <d2p1:SchedulingRule> <d2p1:ByDay> <d2p1:ScheduleDay> <d2p1:DayOfWeek>Sunday</d2p1:DayOfWeek> <d2p1:Offset>0</d2p1:Offset> </d2p1:ScheduleDay> </d2p1:ByDay> <d2p1:ByHour xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ByHour> <d2p1:ByMinute xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ByMinute> <d2p1:ByMonth xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ByMonth> <d2p1:ByMonthDay xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ByMonthDay> <d2p1:BySetPosition xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:BySetPosition> <d2p1:ByWeekNo xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ByWeekNo> <d2p1:ByYearDay xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>0</d5p1:int> </d2p1:ByYearDay> <d2p1:Condition>String</d2p1:Condition> <d2p1:Count>0</d2p1:Count> <d2p1:CustomerState>String</d2p1:CustomerState> <d2p1:EndTime>String</d2p1:EndTime> <d2p1:FlowId>String</d2p1:FlowId> <d2p1:FlowParams xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value xmlns:d7p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data"> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue i:nil="true" /> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue i:nil="true" /> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d7p1:StructValue> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue i:nil="true" /> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue> <d5p1:KeyValueOfstringValue8Ahp2kgT> <d5p1:Key>String</d5p1:Key> <d5p1:Value> <d7p1:BoolValue>false</d7p1:BoolValue> <d7p1:ListValue> <d5p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d7p1:ListValue> <d7p1:NumberValue>0</d7p1:NumberValue> <d7p1:StringValue>String</d7p1:StringValue> <d7p1:StructValue i:nil="true" /> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d7p1:StructValue> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d7p1:StructValue> </d5p1:Value> </d5p1:KeyValueOfstringValue8Ahp2kgT> </d2p1:FlowParams> <d2p1:Frequency>None</d2p1:Frequency> <d2p1:Id>String</d2p1:Id> <d2p1:Interval>0</d2p1:Interval> <d2p1:IsAllDay>false</d2p1:IsAllDay> <d2p1:Name>String</d2p1:Name> <d2p1:Priority>0</d2p1:Priority> <d2p1:SimpleRuleType>Always</d2p1:SimpleRuleType> <d2p1:Source>String</d2p1:Source> <d2p1:StartDate>String</d2p1:StartDate> <d2p1:StartTime>String</d2p1:StartTime> <d2p1:State>String</d2p1:State> <d2p1:UntilDate>String</d2p1:UntilDate> </d2p1:SchedulingRule> </d2p1:Rules> <d2p1:TimeZoneId>String</d2p1:TimeZoneId> </Schedule> <ScheduledFlows> <ScheduledFlow> <FlowId>String</FlowId> <FlowParams xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data"> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue i:nil="true" /> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue i:nil="true" /> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </d6p1:StructValue> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue i:nil="true" /> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue> <d4p1:KeyValueOfstringValue8Ahp2kgT> <d4p1:Key>String</d4p1:Key> <d4p1:Value> <d6p1:BoolValue>false</d6p1:BoolValue> <d6p1:ListValue> <d4p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" /> </d6p1:ListValue> <d6p1:NumberValue>0</d6p1:NumberValue> <d6p1:StringValue>String</d6p1:StringValue> <d6p1:StructValue i:nil="true" /> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </d6p1:StructValue> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </d6p1:StructValue> </d4p1:Value> </d4p1:KeyValueOfstringValue8Ahp2kgT> </FlowParams> <StateName>String</StateName> </ScheduledFlow> </ScheduledFlows> <SipCredentialSid>String</SipCredentialSid> <SipDomain>String</SipDomain> <SipPassword>String</SipPassword> <SipRegion>NorthAmericaVirginia</SipRegion> <SipUserName>String</SipUserName> <Tags xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Settings"> <d2p1:Tag> <d2p1:Color>Magenta</d2p1:Color> <d2p1:Id>String</d2p1:Id> <d2p1:Name>String</d2p1:Name> </d2p1:Tag> </Tags> <TeamMemberIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>String</d2p1:string> </TeamMemberIds> <ThirdPartyPhoneSystemSettings> <DemoSettings> <Extension>String</Extension> </DemoSettings> <SipSettings> <Accounts> <ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings> <Agent>String</Agent> <AudioCodecs> <ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>PCMU</ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes> </AudioCodecs> <AudioPlaybackDeviceName>String</AudioPlaybackDeviceName> <AudioRecordingDeviceName>String</AudioRecordingDeviceName> <AuthName>String</AuthName> <DTMFMethod>RFC2833</DTMFMethod> <DisplayName>String</DisplayName> <LocalIP>String</LocalIP> <LocalPort>0</LocalPort> <Number>String</Number> <OutboundServer>String</OutboundServer> <OutboundServerPort>0</OutboundServerPort> <Password>String</Password> <RegistrationExpires>0</RegistrationExpires> <SipServer>String</SipServer> <SipServerPort>0</SipServerPort> <StunPort>0</StunPort> <StunServer>String</StunServer> <TransportType>UDP</TransportType> <UserDomain>String</UserDomain> <UserName>String</UserName> </ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings> </Accounts> </SipSettings> <Type>Demo</Type> </ThirdPartyPhoneSystemSettings> <Type>PhoneNumber</Type> <UseExternal10DlcCampaign>false</UseExternal10DlcCampaign> <UserEmailAddress>String</UserEmailAddress> <UserFirstName>String</UserFirstName> <UserLastName>String</UserLastName> <UserMode>SoftPhone</UserMode> <VoicemailGreetingId>String</VoicemailGreetingId> </EndpointInfo>