Requires any of the roles: | SystemAdministrator, Manager, Customer |
PATCH | /customers/{customerId} |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
/**
* Update a specific customer
*/
@Api(Description="Update a specific customer")
public static class PatchCustomer implements IPatch
{
/**
* The ID of the customer you want to update
*/
@ApiMember(Description="The ID of the customer you want to update")
public String customerId = null;
/**
* The name for the customer
*/
@ApiMember(Description="The name for the customer")
public String name = null;
/**
* The parent customer for this customer
*/
@ApiMember(Description="The parent customer for this customer")
public String parentCustomerId = 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)")
public String referenceId = null;
/**
* Data values for this customer
*/
@ApiMember(Description="Data values for this customer")
public Struct data = null;
/**
* The list of tag IDs for this customer
*/
@ApiMember(Description="The list of tag IDs for this customer")
public ArrayList<String> tagIds = null;
/**
* This customer's schedule
*/
@ApiMember(Description="This customer's schedule")
public 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")
public Boolean overrideBillingSettings = null;
/**
* Updated billing settings for this customer
*/
@ApiMember(Description="Updated billing settings for this customer")
public 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")
public Boolean overrideAppSettings = null;
/**
* App / Portal settings for this customer
*/
@ApiMember(Description="App / Portal settings for this customer")
public AppSettings appSettings = null;
public String getCustomerId() { return customerId; }
public PatchCustomer setCustomerId(String value) { this.customerId = value; return this; }
public String getName() { return name; }
public PatchCustomer setName(String value) { this.name = value; return this; }
public String getParentCustomerId() { return parentCustomerId; }
public PatchCustomer setParentCustomerId(String value) { this.parentCustomerId = value; return this; }
public String getReferenceId() { return referenceId; }
public PatchCustomer setReferenceId(String value) { this.referenceId = value; return this; }
public Struct getData() { return data; }
public PatchCustomer setData(Struct value) { this.data = value; return this; }
public ArrayList<String> getTagIds() { return tagIds; }
public PatchCustomer setTagIds(ArrayList<String> value) { this.tagIds = value; return this; }
public Schedule getSchedule() { return schedule; }
public PatchCustomer setSchedule(Schedule value) { this.schedule = value; return this; }
public Boolean isOverrideBillingSettings() { return overrideBillingSettings; }
public PatchCustomer setOverrideBillingSettings(Boolean value) { this.overrideBillingSettings = value; return this; }
public BillingSettings getBillingSettings() { return billingSettings; }
public PatchCustomer setBillingSettings(BillingSettings value) { this.billingSettings = value; return this; }
public Boolean isOverrideAppSettings() { return overrideAppSettings; }
public PatchCustomer setOverrideAppSettings(Boolean value) { this.overrideAppSettings = value; return this; }
public AppSettings getAppSettings() { return appSettings; }
public PatchCustomer setAppSettings(AppSettings value) { this.appSettings = value; return this; }
}
public static class Struct extends HashMap<String,Value>
{
}
public static class Value
{
public Boolean boolValue = null;
public String stringValue = null;
public Double numberValue = null;
public ArrayList<Struct> listValue = null;
public Struct structValue = null;
public Boolean isBoolValue() { return boolValue; }
public Value setBoolValue(Boolean value) { this.boolValue = value; return this; }
public String getStringValue() { return stringValue; }
public Value setStringValue(String value) { this.stringValue = value; return this; }
public Double getNumberValue() { return numberValue; }
public Value setNumberValue(Double value) { this.numberValue = value; return this; }
public ArrayList<Struct> getListValue() { return listValue; }
public Value setListValue(ArrayList<Struct> value) { this.listValue = value; return this; }
public Struct getStructValue() { return structValue; }
public Value setStructValue(Struct value) { this.structValue = value; return this; }
}
public static class Schedule
{
public String timeZoneId = null;
public Boolean inherit = null;
public Boolean forceClosed = null;
public ArrayList<SchedulingRule> rules = null;
public String defaultState = null;
public String getTimeZoneId() { return timeZoneId; }
public Schedule setTimeZoneId(String value) { this.timeZoneId = value; return this; }
public Boolean isInherit() { return inherit; }
public Schedule setInherit(Boolean value) { this.inherit = value; return this; }
public Boolean isForceClosed() { return forceClosed; }
public Schedule setForceClosed(Boolean value) { this.forceClosed = value; return this; }
public ArrayList<SchedulingRule> getRules() { return rules; }
public Schedule setRules(ArrayList<SchedulingRule> value) { this.rules = value; return this; }
public String getDefaultState() { return defaultState; }
public Schedule setDefaultState(String value) { this.defaultState = value; return this; }
}
public static class SchedulingRule
{
public String id = null;
public String name = null;
public Integer priority = null;
public String state = null;
public String source = null;
public String condition = null;
public SimpleSchedulingRuleTypes simpleRuleType = null;
public String customerState = null;
public String flowId = null;
public Struct flowParams = null;
public Boolean isAllDay = null;
public String startDate = null;
public String startTime = null;
public String endTime = null;
public ArrayList<Integer> bySetPosition = null;
public ArrayList<Integer> byMonth = null;
public ArrayList<Integer> byWeekNo = null;
public ArrayList<Integer> byYearDay = null;
public ArrayList<Integer> byMonthDay = null;
public ArrayList<ScheduleDay> byDay = null;
public ArrayList<Integer> byHour = null;
public ArrayList<Integer> byMinute = null;
public Integer interval = null;
public Integer count = null;
public String untilDate = null;
public SchedulingRuleFrequency frequency = null;
public String getId() { return id; }
public SchedulingRule setId(String value) { this.id = value; return this; }
public String getName() { return name; }
public SchedulingRule setName(String value) { this.name = value; return this; }
public Integer getPriority() { return priority; }
public SchedulingRule setPriority(Integer value) { this.priority = value; return this; }
public String getState() { return state; }
public SchedulingRule setState(String value) { this.state = value; return this; }
public String getSource() { return source; }
public SchedulingRule setSource(String value) { this.source = value; return this; }
public String getCondition() { return condition; }
public SchedulingRule setCondition(String value) { this.condition = value; return this; }
public SimpleSchedulingRuleTypes getSimpleRuleType() { return simpleRuleType; }
public SchedulingRule setSimpleRuleType(SimpleSchedulingRuleTypes value) { this.simpleRuleType = value; return this; }
public String getCustomerState() { return customerState; }
public SchedulingRule setCustomerState(String value) { this.customerState = value; return this; }
public String getFlowId() { return flowId; }
public SchedulingRule setFlowId(String value) { this.flowId = value; return this; }
public Struct getFlowParams() { return flowParams; }
public SchedulingRule setFlowParams(Struct value) { this.flowParams = value; return this; }
public Boolean getIsAllDay() { return isAllDay; }
public SchedulingRule setIsAllDay(Boolean value) { this.isAllDay = value; return this; }
public String getStartDate() { return startDate; }
public SchedulingRule setStartDate(String value) { this.startDate = value; return this; }
public String getStartTime() { return startTime; }
public SchedulingRule setStartTime(String value) { this.startTime = value; return this; }
public String getEndTime() { return endTime; }
public SchedulingRule setEndTime(String value) { this.endTime = value; return this; }
public ArrayList<Integer> getBySetPosition() { return bySetPosition; }
public SchedulingRule setBySetPosition(ArrayList<Integer> value) { this.bySetPosition = value; return this; }
public ArrayList<Integer> getByMonth() { return byMonth; }
public SchedulingRule setByMonth(ArrayList<Integer> value) { this.byMonth = value; return this; }
public ArrayList<Integer> getByWeekNo() { return byWeekNo; }
public SchedulingRule setByWeekNo(ArrayList<Integer> value) { this.byWeekNo = value; return this; }
public ArrayList<Integer> getByYearDay() { return byYearDay; }
public SchedulingRule setByYearDay(ArrayList<Integer> value) { this.byYearDay = value; return this; }
public ArrayList<Integer> getByMonthDay() { return byMonthDay; }
public SchedulingRule setByMonthDay(ArrayList<Integer> value) { this.byMonthDay = value; return this; }
public ArrayList<ScheduleDay> getByDay() { return byDay; }
public SchedulingRule setByDay(ArrayList<ScheduleDay> value) { this.byDay = value; return this; }
public ArrayList<Integer> getByHour() { return byHour; }
public SchedulingRule setByHour(ArrayList<Integer> value) { this.byHour = value; return this; }
public ArrayList<Integer> getByMinute() { return byMinute; }
public SchedulingRule setByMinute(ArrayList<Integer> value) { this.byMinute = value; return this; }
public Integer getInterval() { return interval; }
public SchedulingRule setInterval(Integer value) { this.interval = value; return this; }
public Integer getCount() { return count; }
public SchedulingRule setCount(Integer value) { this.count = value; return this; }
public String getUntilDate() { return untilDate; }
public SchedulingRule setUntilDate(String value) { this.untilDate = value; return this; }
public SchedulingRuleFrequency getFrequency() { return frequency; }
public SchedulingRule setFrequency(SchedulingRuleFrequency value) { this.frequency = value; return this; }
}
public static enum SimpleSchedulingRuleTypes
{
Always,
CustomerState,
Time;
}
public static class ScheduleDay
{
public Integer offset = null;
public DayOfWeek dayOfWeek = null;
public Integer getOffset() { return offset; }
public ScheduleDay setOffset(Integer value) { this.offset = value; return this; }
public DayOfWeek getDayOfWeek() { return dayOfWeek; }
public ScheduleDay setDayOfWeek(DayOfWeek value) { this.dayOfWeek = value; return this; }
}
public static enum SchedulingRuleFrequency
{
None,
Secondly,
Minutely,
Hourly,
Daily,
Weekly,
Monthly,
Yearly;
}
public static class BillingSettings
{
public BillingItem base = null;
public BillingItem localNumbers = null;
public BillingItem tollFreeNumbers = null;
public BillingItem inboundVoiceCalls = null;
public BillingItem outboundVoiceCalls = null;
public BillingItem inboundFaxes = null;
public BillingItem outboundFaxes = null;
public BillingItem inboundSmsMessages = null;
public BillingItem outboundSmsMessages = null;
public BillingItem aiInsights = null;
public BillingItem aiLiveMinutes = null;
public BillingItem getBase() { return base; }
public BillingSettings setBase(BillingItem value) { this.base = value; return this; }
public BillingItem getLocalNumbers() { return localNumbers; }
public BillingSettings setLocalNumbers(BillingItem value) { this.localNumbers = value; return this; }
public BillingItem getTollFreeNumbers() { return tollFreeNumbers; }
public BillingSettings setTollFreeNumbers(BillingItem value) { this.tollFreeNumbers = value; return this; }
public BillingItem getInboundVoiceCalls() { return inboundVoiceCalls; }
public BillingSettings setInboundVoiceCalls(BillingItem value) { this.inboundVoiceCalls = value; return this; }
public BillingItem getOutboundVoiceCalls() { return outboundVoiceCalls; }
public BillingSettings setOutboundVoiceCalls(BillingItem value) { this.outboundVoiceCalls = value; return this; }
public BillingItem getInboundFaxes() { return inboundFaxes; }
public BillingSettings setInboundFaxes(BillingItem value) { this.inboundFaxes = value; return this; }
public BillingItem getOutboundFaxes() { return outboundFaxes; }
public BillingSettings setOutboundFaxes(BillingItem value) { this.outboundFaxes = value; return this; }
public BillingItem getInboundSmsMessages() { return inboundSmsMessages; }
public BillingSettings setInboundSmsMessages(BillingItem value) { this.inboundSmsMessages = value; return this; }
public BillingItem getOutboundSmsMessages() { return outboundSmsMessages; }
public BillingSettings setOutboundSmsMessages(BillingItem value) { this.outboundSmsMessages = value; return this; }
public BillingItem getAiInsights() { return aiInsights; }
public BillingSettings setAiInsights(BillingItem value) { this.aiInsights = value; return this; }
public BillingItem getAiLiveMinutes() { return aiLiveMinutes; }
public BillingSettings setAiLiveMinutes(BillingItem value) { this.aiLiveMinutes = value; return this; }
}
public static class BillingItem
{
public Double baseCost = null;
public Double rawUnitMultiplier = null;
public Double unitCost = null;
public Integer allowance = null;
public Double getBaseCost() { return baseCost; }
public BillingItem setBaseCost(Double value) { this.baseCost = value; return this; }
public Double getRawUnitMultiplier() { return rawUnitMultiplier; }
public BillingItem setRawUnitMultiplier(Double value) { this.rawUnitMultiplier = value; return this; }
public Double getUnitCost() { return unitCost; }
public BillingItem setUnitCost(Double value) { this.unitCost = value; return this; }
public Integer getAllowance() { return allowance; }
public BillingItem setAllowance(Integer value) { this.allowance = value; return this; }
}
public static class AppSettings
{
public Boolean enablePhoneNumberManagement = null;
public Boolean enableDeviceManagement = null;
public Boolean enableDialer = null;
public Boolean enableCallHistory = null;
public Boolean enableAssistants = null;
public Boolean showFileNameInMessageCenter = null;
public String chakraTheme = null;
public String customCss = null;
public String pageTitle = null;
public String stringMappings = null;
public String logoutUrl = null;
public String portMyNumberUrl = null;
public Boolean isEnablePhoneNumberManagement() { return enablePhoneNumberManagement; }
public AppSettings setEnablePhoneNumberManagement(Boolean value) { this.enablePhoneNumberManagement = value; return this; }
public Boolean isEnableDeviceManagement() { return enableDeviceManagement; }
public AppSettings setEnableDeviceManagement(Boolean value) { this.enableDeviceManagement = value; return this; }
public Boolean isEnableDialer() { return enableDialer; }
public AppSettings setEnableDialer(Boolean value) { this.enableDialer = value; return this; }
public Boolean isEnableCallHistory() { return enableCallHistory; }
public AppSettings setEnableCallHistory(Boolean value) { this.enableCallHistory = value; return this; }
public Boolean isEnableAssistants() { return enableAssistants; }
public AppSettings setEnableAssistants(Boolean value) { this.enableAssistants = value; return this; }
public Boolean isShowFileNameInMessageCenter() { return showFileNameInMessageCenter; }
public AppSettings setShowFileNameInMessageCenter(Boolean value) { this.showFileNameInMessageCenter = value; return this; }
public String getChakraTheme() { return chakraTheme; }
public AppSettings setChakraTheme(String value) { this.chakraTheme = value; return this; }
public String getCustomCss() { return customCss; }
public AppSettings setCustomCss(String value) { this.customCss = value; return this; }
public String getPageTitle() { return pageTitle; }
public AppSettings setPageTitle(String value) { this.pageTitle = value; return this; }
public String getStringMappings() { return stringMappings; }
public AppSettings setStringMappings(String value) { this.stringMappings = value; return this; }
public String getLogoutUrl() { return logoutUrl; }
public AppSettings setLogoutUrl(String value) { this.logoutUrl = value; return this; }
public String getPortMyNumberUrl() { return portMyNumberUrl; }
public AppSettings setPortMyNumberUrl(String value) { this.portMyNumberUrl = value; return this; }
}
public static class CustomerInfo extends EntityInfo
{
/**
* The ID of the account associated with this customer
*/
@ApiMember(Description="The ID of the account associated with this customer")
public String accountId = null;
/**
* The parent customer ID for this customer
*/
@ApiMember(Description="The parent customer ID for this customer")
public String parentCustomerId = null;
/**
* The breadcrumb to this customer
*/
@ApiMember(Description="The breadcrumb to this customer")
public ArrayList<CustomerBreadcrumb> breadcrumb = null;
/**
* The name of the account associated with this customer
*/
@ApiMember(Description="The name of the account associated with this customer")
public String accountName = null;
/**
* Is this customer staging or production?
*/
@ApiMember(Description="Is this customer staging or production?")
public Boolean isStaging = null;
/**
* The name of the company
*/
@ApiMember(Description="The name of the company")
public String name = null;
/**
* The reference ID for this company
*/
@ApiMember(Description="The reference ID for this company")
public String referenceId = null;
/**
* This customer's data values
*/
@ApiMember(Description="This customer's data values")
public Struct data = null;
/**
* The list of tags for this customer
*/
@ApiMember(Description="The list of tags for this customer")
public ArrayList<Tag> tags = null;
/**
* This customer's schedule
*/
@ApiMember(Description="This customer's schedule")
public Schedule schedule = null;
/**
* Integration data for this customer
*/
@ApiMember(Description="Integration data for this customer")
public EntityIntegrationData integrationData = null;
/**
* Override this customer's billing settings? Otherwise inherits from parent
*/
@ApiMember(Description="Override this customer's billing settings? Otherwise inherits from parent")
public Boolean overrideBillingSettings = null;
/**
* Billing settings for this customer
*/
@ApiMember(Description="Billing settings for this customer")
public 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")
public Boolean overrideAppSettings = null;
/**
* App / Portal settings for this customer
*/
@ApiMember(Description="App / Portal settings for this customer")
public AppSettings appSettings = null;
public String getAccountId() { return accountId; }
public CustomerInfo setAccountId(String value) { this.accountId = value; return this; }
public String getParentCustomerId() { return parentCustomerId; }
public CustomerInfo setParentCustomerId(String value) { this.parentCustomerId = value; return this; }
public ArrayList<CustomerBreadcrumb> getBreadcrumb() { return breadcrumb; }
public CustomerInfo setBreadcrumb(ArrayList<CustomerBreadcrumb> value) { this.breadcrumb = value; return this; }
public String getAccountName() { return accountName; }
public CustomerInfo setAccountName(String value) { this.accountName = value; return this; }
public Boolean getIsStaging() { return isStaging; }
public CustomerInfo setIsStaging(Boolean value) { this.isStaging = value; return this; }
public String getName() { return name; }
public CustomerInfo setName(String value) { this.name = value; return this; }
public String getReferenceId() { return referenceId; }
public CustomerInfo setReferenceId(String value) { this.referenceId = value; return this; }
public Struct getData() { return data; }
public CustomerInfo setData(Struct value) { this.data = value; return this; }
public ArrayList<Tag> getTags() { return tags; }
public CustomerInfo setTags(ArrayList<Tag> value) { this.tags = value; return this; }
public Schedule getSchedule() { return schedule; }
public CustomerInfo setSchedule(Schedule value) { this.schedule = value; return this; }
public EntityIntegrationData getIntegrationData() { return integrationData; }
public CustomerInfo setIntegrationData(EntityIntegrationData value) { this.integrationData = value; return this; }
public Boolean isOverrideBillingSettings() { return overrideBillingSettings; }
public CustomerInfo setOverrideBillingSettings(Boolean value) { this.overrideBillingSettings = value; return this; }
public BillingSettings getBillingSettings() { return billingSettings; }
public CustomerInfo setBillingSettings(BillingSettings value) { this.billingSettings = value; return this; }
public Boolean isOverrideAppSettings() { return overrideAppSettings; }
public CustomerInfo setOverrideAppSettings(Boolean value) { this.overrideAppSettings = value; return this; }
public AppSettings getAppSettings() { return appSettings; }
public CustomerInfo setAppSettings(AppSettings value) { this.appSettings = value; return this; }
}
public static class EntityInfo
{
/**
* The ID of the object
*/
@ApiMember(Description="The ID of the object")
public String id = null;
/**
* The date the object was created
*/
@ApiMember(Description="The date the object was created")
public String dateCreated = null;
/**
* The date the object was last modified
*/
@ApiMember(Description="The date the object was last modified")
public String dateLastModified = null;
/**
* The user that created this object
*/
@ApiMember(Description="The user that created this object")
public String createdBy = null;
/**
* The user that last modified this object
*/
@ApiMember(Description="The user that last modified this object")
public String lastModifiedBy = null;
public String getId() { return id; }
public EntityInfo setId(String value) { this.id = value; return this; }
public String getDateCreated() { return dateCreated; }
public EntityInfo setDateCreated(String value) { this.dateCreated = value; return this; }
public String getDateLastModified() { return dateLastModified; }
public EntityInfo setDateLastModified(String value) { this.dateLastModified = value; return this; }
public String getCreatedBy() { return createdBy; }
public EntityInfo setCreatedBy(String value) { this.createdBy = value; return this; }
public String getLastModifiedBy() { return lastModifiedBy; }
public EntityInfo setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; }
}
public static class CustomerBreadcrumb
{
public String id = null;
public String name = null;
public String getId() { return id; }
public CustomerBreadcrumb setId(String value) { this.id = value; return this; }
public String getName() { return name; }
public CustomerBreadcrumb setName(String value) { this.name = value; return this; }
}
public static class Tag
{
public String id = null;
public String name = null;
public TagColors color = null;
public String getId() { return id; }
public Tag setId(String value) { this.id = value; return this; }
public String getName() { return name; }
public Tag setName(String value) { this.name = value; return this; }
public TagColors getColor() { return color; }
public Tag setColor(TagColors value) { this.color = value; return this; }
}
public static enum TagColors
{
Magenta,
Red,
Volcano,
Orange,
Gold,
Lime,
Green,
Cyan,
Blue,
GeekBlue,
Purple;
}
public static class EntityIntegrationData extends HashMap<String,IntegrationData>
{
}
public static class IntegrationData
{
public String thirdPartyId = null;
public String getThirdPartyId() { return thirdPartyId; }
public IntegrationData setThirdPartyId(String value) { this.thirdPartyId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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: team.evovoice.io
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"customerId":"String","name":"String","parentCustomerId":"String","referenceId":"String","tagIds":["String"],"schedule":{"timeZoneId":"String","inherit":false,"forceClosed":false,"rules":[{"id":"String","name":"String","priority":0,"state":"String","source":"String","condition":"String","simpleRuleType":"Always","customerState":"String","flowId":"String","isAllDay":false,"startDate":"String","startTime":"String","endTime":"String","bySetPosition":[0],"byMonth":[0],"byWeekNo":[0],"byYearDay":[0],"byMonthDay":[0],"byDay":[{"offset":0,"dayOfWeek":"Sunday"}],"byHour":[0],"byMinute":[0],"interval":0,"count":0,"untilDate":"String","frequency":"None"}],"defaultState":"String"},"overrideBillingSettings":false,"billingSettings":{"base":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"localNumbers":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"tollFreeNumbers":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"inboundVoiceCalls":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"outboundVoiceCalls":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"inboundFaxes":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"outboundFaxes":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"inboundSmsMessages":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"outboundSmsMessages":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"aiInsights":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"aiLiveMinutes":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0}},"overrideAppSettings":false,"appSettings":{"enablePhoneNumberManagement":false,"enableDeviceManagement":false,"enableDialer":false,"enableCallHistory":false,"enableAssistants":false,"showFileNameInMessageCenter":false,"chakraTheme":"String","customCss":"String","pageTitle":"String","stringMappings":"String","logoutUrl":"String","portMyNumberUrl":"String"}}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"accountId":"String","parentCustomerId":"String","breadcrumb":[{"id":"String","name":"String"}],"accountName":"String","isStaging":false,"name":"String","referenceId":"String","tags":[{"id":"String","name":"String","color":"Magenta"}],"schedule":{"timeZoneId":"String","inherit":false,"forceClosed":false,"rules":[{"id":"String","name":"String","priority":0,"state":"String","source":"String","condition":"String","simpleRuleType":"Always","customerState":"String","flowId":"String","isAllDay":false,"startDate":"String","startTime":"String","endTime":"String","bySetPosition":[0],"byMonth":[0],"byWeekNo":[0],"byYearDay":[0],"byMonthDay":[0],"byDay":[{"offset":0,"dayOfWeek":"Sunday"}],"byHour":[0],"byMinute":[0],"interval":0,"count":0,"untilDate":"String","frequency":"None"}],"defaultState":"String"},"integrationData":{"String":{"thirdPartyId":"String"}},"overrideBillingSettings":false,"billingSettings":{"base":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"localNumbers":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"tollFreeNumbers":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"inboundVoiceCalls":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"outboundVoiceCalls":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"inboundFaxes":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"outboundFaxes":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"inboundSmsMessages":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"outboundSmsMessages":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"aiInsights":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0},"aiLiveMinutes":{"baseCost":0,"rawUnitMultiplier":0,"unitCost":0,"allowance":0}},"overrideAppSettings":false,"appSettings":{"enablePhoneNumberManagement":false,"enableDeviceManagement":false,"enableDialer":false,"enableCallHistory":false,"enableAssistants":false,"showFileNameInMessageCenter":false,"chakraTheme":"String","customCss":"String","pageTitle":"String","stringMappings":"String","logoutUrl":"String","portMyNumberUrl":"String"},"id":"String","dateCreated":"String","dateLastModified":"String","createdBy":"String","lastModifiedBy":"String"}