【问题标题】:Unable to create a company in Intercom无法在对讲机中创建公司
【发布时间】:2020-03-16 22:58:55
【问题描述】:

我正在使用此代码:

Authentication authentication = new Authentication("myAccessToken");
RestClientFactory restClientFactory = new RestClientFactory(authentication);
var _companyClient = new CompanyClient(restClientFactory);

var companyCustomAttributes = new Dictionary<string, object>()
            {
                { "name", "TradingName" },
                { "company_id_str", "5432" },
                { "isoCode", "AU" },
                { "regionCode", "VIC" },
                { "isPropertyManagement", false },
                { "isSales", false },
                { "setupComplete", false },
                { "isSubscription", false },
                { "subscriptionSetupComplete", false },
                { "tradingName", "TradingName" },
                { "ofSMS", false },
                { "ofBankTransfer", false },
                { "ofCommercial", false },
                { "isEmailValidated", true },
                { "isLocked", false },
                { "isOutgoingEmailValidated", true },
                { "banks", "" },
                { "earlyAdopterProgram", false },
                { "propertyCount", 0 }
            };

var company = new Company();
company.company_id = "5432";
company.custom_attributes = companyCustomAttributes;

var createdCompany = _companyClient.Create(company);

createdCompany 不为空:

但是公司没有显示在 UI 中:

为什么公司没有显示在 UI 中?

对讲 API 版本 = 1.4

Intercom.Dotnet.Client 版本 = 2.1.1

提交的 Github 问题: https://github.com/intercom/intercom-dotnet/issues/158

【问题讨论】:

标签: c# .net-4.5 intercom


【解决方案1】:

如果没有用户连接,公司将不会显示。

【讨论】:

  • 这太烦人了。为什么不向公司展示一条在某处显示的消息,以表明没有用户附加到它。
  • @Backwards_Dave 我早在 2017 年就向他们请求了该功能,但是,我认为它不属于他们的用例。我所做的是在公司中有用户/潜在客户之前不创建公司。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多