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

Tabs

ユーザが [すべてのタブ] ([+]) タブカスタマイズ機能を使用してタブを非表示にしているかどうかに関係なく、ログインユーザが使用できるすべてのタブ (Lightning ページタブを含む) のリストを返します。このリソースは REST API バージョン 31.0 以降で使用できます。

構文

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

タブを取得するための使用方法
1/services/data/v31.0/tabs
/vXX.X/tabs/ のサンプル JSON レスポンスボディ
これは、[取引先] タブを表す部分的なコードサンプルです。
1[...,
2  "colors" : [ {
3    "color" : "6f7ccb",
4    "context" : "primary",
5    "theme" : "theme4"
6  }, {
7    "color" : "236FBD",
8    "context" : "primary",
9    "theme" : "theme3"
10  } ],
11  "custom" : false,
12  "iconUrl" : "https://yourInstance.salesforce.com/img/icon/accounts32.png",
13  "icons" : [ {
14    "contentType" : "image/png",
15    "height" : 32,
16    "theme" : "theme3",
17    "url" : "https://yourInstance.salesforce.com/img/icon/accounts32.png",
18    "width" : 32
19  }, {
20    "contentType" : "image/png",
21    "height" : 16,
22    "theme" : "theme3",
23    "url" : "https://yourInstance.salesforce.com/img/icon/accounts16.png",
24    "width" : 16
25  }, {
26    "contentType" : "image/svg+xml",
27    "height" : 0,
28    "theme" : "theme4",
29    "url" : "https://yourInstance.salesforce.com/img/icon/t4/standard/account.svg",
30    "width" : 0
31  }, {
32    "contentType" : "image/png",
33    "height" : 60,
34    "theme" : "theme4",
35    "url" : "https://yourInstance.salesforce.com/img/icon/t4/standard/account_60.png",
36    "width" : 60
37  }, {
38    "contentType" : "image/png",
39    "height" : 120,
40    "theme" : "theme4",
41    "url" : "https://yourInstance.salesforce.com/img/icon/t4/standard/account_120.png",
42    "width" : 120
43  } ],
44  "label" : "Accounts",
45  "miniIconUrl" : "https://yourInstance.salesforce.com/img/icon/accounts16.png",
46  "name" : "standard-Account",
47  "sobjectName" : "Account",
48  "url" : "https://yourInstance.salesforce.com/001/o",
49...]