この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Newer Version Available

This content describes an older version of this product. View Latest

ナレッジ言語設定の取得

既存のナレッジ言語設定 (デフォルトのナレッジ言語やサポートされるナレッジ言語情報のリストなど) を取得します。このリソースは API バージョン 31.0 以降で使用できます。

Salesforce ナレッジが組織で有効になっている必要があります。ナレッジ言語設定 (デフォルトのナレッジ言語やサポートされるナレッジ言語情報のリストなど) を取得します。

構文

URI
/services/data/vXX.X/knowledgeManagement/settings
形式
JSON、XML
HTTP のメソッド
GET
認証
Authorization: Bearer token
リクエストボディ
不要
要求パラメータ
なし

例

リクエストの例
1curl https://MyDomainName.my.salesforce.com/services/data/v58.0/knowledgeManagement/settings -H "Authorization: Bearer token"
レスポンスボディの例
1{
2    "defaultLanguage" : "en_US",
3    "knowledgeEnabled" : true,
4    "languages" : [ {
5    "active" : true,
6    "name" : "en_US"
7    }, {
8    "active" : true,
9    "name" : "it"
10    }, {
11    "active" : true,
12    "name" : "zh_CN"
13    }, {
14    "active" : true,
15    "name" : "fr"
16    } ]
17}