Requires any of the roles: | SystemAdministrator, Manager, Customer |
PATCH | /customers/{customerId} |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
/**
* Update a specific customer
*/
@Api(Description="Update a specific customer")
open class PatchCustomer : IPatch
{
/**
* The ID of the customer you want to update
*/
@ApiMember(Description="The ID of the customer you want to update")
var customerId:String? = null
/**
* The name for the customer
*/
@ApiMember(Description="The name for the customer")
var name:String? = null
/**
* The parent customer for this customer
*/
@ApiMember(Description="The parent customer for this customer")
var parentCustomerId:String? = null
/**
* The reference ID for this customer (e.g. in a third party system)
*/
@ApiMember(Description="The reference ID for this customer (e.g. in a third party system)")
var referenceId:String? = null
/**
* Data values for this customer
*/
@ApiMember(Description="Data values for this customer")
@SerializedName("data") var Data:Struct? = null
/**
* The list of tag IDs for this customer
*/
@ApiMember(Description="The list of tag IDs for this customer")
var tagIds:ArrayList<String> = ArrayList<String>()
/**
* This customer's schedule
*/
@ApiMember(Description="This customer's schedule")
var schedule:Schedule? = null
/**
* Override this customer's billing settings? Otherwise inherits from parent
*/
@ApiMember(Description="Override this customer's billing settings? Otherwise inherits from parent")
var overrideBillingSettings:Boolean? = null
/**
* Updated billing settings for this customer
*/
@ApiMember(Description="Updated billing settings for this customer")
var billingSettings:BillingSettings? = null
/**
* Should this customer override the parent customer's app settings
*/
@ApiMember(Description="Should this customer override the parent customer's app settings")
var overrideAppSettings:Boolean? = null
/**
* App / Portal settings for this customer
*/
@ApiMember(Description="App / Portal settings for this customer")
var appSettings:AppSettings? = null
}
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
}
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 BillingSettings
{
var base:BillingItem? = null
var localNumbers:BillingItem? = null
var tollFreeNumbers:BillingItem? = null
var inboundVoiceCalls:BillingItem? = null
var outboundVoiceCalls:BillingItem? = null
var inboundFaxes:BillingItem? = null
var outboundFaxes:BillingItem? = null
var inboundSmsMessages:BillingItem? = null
var outboundSmsMessages:BillingItem? = null
}
open class BillingItem
{
var baseCost:Double? = null
var rawUnitMultiplier:Double? = null
var unitCost:Double? = null
var allowance:Int? = 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
}
open class CustomerInfo : EntityInfo()
{
/**
* The ID of the account associated with this customer
*/
@ApiMember(Description="The ID of the account associated with this customer")
var accountId:String? = null
/**
* The parent customer ID for this customer
*/
@ApiMember(Description="The parent customer ID for this customer")
var parentCustomerId:String? = null
/**
* The breadcrumb to this customer
*/
@ApiMember(Description="The breadcrumb to this customer")
var breadcrumb:ArrayList<CustomerBreadcrumb> = ArrayList<CustomerBreadcrumb>()
/**
* The name of the account associated with this customer
*/
@ApiMember(Description="The name of the account associated with this customer")
var accountName:String? = null
/**
* Is this customer staging or production?
*/
@ApiMember(Description="Is this customer staging or production?")
var isStaging:Boolean? = null
/**
* The name of the company
*/
@ApiMember(Description="The name of the company")
var name:String? = null
/**
* The reference ID for this company
*/
@ApiMember(Description="The reference ID for this company")
var referenceId:String? = null
/**
* This customer's data values
*/
@ApiMember(Description="This customer's data values")
@SerializedName("data") var Data:Struct? = null
/**
* The list of tags for this customer
*/
@ApiMember(Description="The list of tags for this customer")
var tags:ArrayList<Tag> = ArrayList<Tag>()
/**
* This customer's schedule
*/
@ApiMember(Description="This customer's schedule")
var schedule:Schedule? = null
/**
* Integration data for this customer
*/
@ApiMember(Description="Integration data for this customer")
var integrationData:EntityIntegrationData? = null
/**
* Override this customer's billing settings? Otherwise inherits from parent
*/
@ApiMember(Description="Override this customer's billing settings? Otherwise inherits from parent")
var overrideBillingSettings:Boolean? = null
/**
* Billing settings for this customer
*/
@ApiMember(Description="Billing settings for this customer")
var billingSettings:BillingSettings? = null
/**
* Should this customer override the parent customer's app settings
*/
@ApiMember(Description="Should this customer override the parent customer's app settings")
var overrideAppSettings:Boolean? = null
/**
* App / Portal settings for this customer
*/
@ApiMember(Description="App / Portal settings for this customer")
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
}
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 EntityIntegrationData : HashMap<String,IntegrationData>()
{
}
open class IntegrationData
{
var thirdPartyId:String? = null
}
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 /customers/{customerId} HTTP/1.1
Host: evovoice.io
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<PatchCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
<AppSettings>
<ChakraTheme>String</ChakraTheme>
<CustomCss>String</CustomCss>
<EnableCallHistory>false</EnableCallHistory>
<EnableDeviceManagement>false</EnableDeviceManagement>
<EnableDialer>false</EnableDialer>
<EnablePhoneNumberManagement>false</EnablePhoneNumberManagement>
<LogoutUrl>String</LogoutUrl>
<PageTitle>String</PageTitle>
<PortMyNumberUrl>String</PortMyNumberUrl>
<ShowFileNameInMessageCenter>false</ShowFileNameInMessageCenter>
<StringMappings>String</StringMappings>
</AppSettings>
<BillingSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Accounts">
<d2p1:Base>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:Base>
<d2p1:InboundFaxes>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:InboundFaxes>
<d2p1:InboundSmsMessages>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:InboundSmsMessages>
<d2p1:InboundVoiceCalls>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:InboundVoiceCalls>
<d2p1:LocalNumbers>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:LocalNumbers>
<d2p1:OutboundFaxes>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:OutboundFaxes>
<d2p1:OutboundSmsMessages>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:OutboundSmsMessages>
<d2p1:OutboundVoiceCalls>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:OutboundVoiceCalls>
<d2p1:TollFreeNumbers>
<d2p1:Allowance>0</d2p1:Allowance>
<d2p1:BaseCost>0</d2p1:BaseCost>
<d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier>
<d2p1:UnitCost>0</d2p1:UnitCost>
</d2p1:TollFreeNumbers>
</BillingSettings>
<CustomerId>String</CustomerId>
<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>
<Name>String</Name>
<OverrideAppSettings>false</OverrideAppSettings>
<OverrideBillingSettings>false</OverrideBillingSettings>
<ParentCustomerId>String</ParentCustomerId>
<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>
<TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</TagIds>
</PatchCustomer>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <CustomerInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Customers"> <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> <AppSettings> <ChakraTheme>String</ChakraTheme> <CustomCss>String</CustomCss> <EnableCallHistory>false</EnableCallHistory> <EnableDeviceManagement>false</EnableDeviceManagement> <EnableDialer>false</EnableDialer> <EnablePhoneNumberManagement>false</EnablePhoneNumberManagement> <LogoutUrl>String</LogoutUrl> <PageTitle>String</PageTitle> <PortMyNumberUrl>String</PortMyNumberUrl> <ShowFileNameInMessageCenter>false</ShowFileNameInMessageCenter> <StringMappings>String</StringMappings> </AppSettings> <BillingSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Accounts"> <d2p1:Base> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:Base> <d2p1:InboundFaxes> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:InboundFaxes> <d2p1:InboundSmsMessages> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:InboundSmsMessages> <d2p1:InboundVoiceCalls> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:InboundVoiceCalls> <d2p1:LocalNumbers> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:LocalNumbers> <d2p1:OutboundFaxes> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:OutboundFaxes> <d2p1:OutboundSmsMessages> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:OutboundSmsMessages> <d2p1:OutboundVoiceCalls> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:OutboundVoiceCalls> <d2p1:TollFreeNumbers> <d2p1:Allowance>0</d2p1:Allowance> <d2p1:BaseCost>0</d2p1:BaseCost> <d2p1:RawUnitMultiplier>0</d2p1:RawUnitMultiplier> <d2p1:UnitCost>0</d2p1:UnitCost> </d2p1:TollFreeNumbers> </BillingSettings> <Breadcrumb> <CustomerBreadcrumb> <Id>String</Id> <Name>String</Name> </CustomerBreadcrumb> </Breadcrumb> <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> <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> <IsStaging>false</IsStaging> <Name>String</Name> <OverrideAppSettings>false</OverrideAppSettings> <OverrideBillingSettings>false</OverrideBillingSettings> <ParentCustomerId>String</ParentCustomerId> <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> <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> </CustomerInfo>