メインコンテンツへスキップ
PUT
/
integration_mappings
/
teams
/
{integration_mapping_id}
cURL
curl -X -L PUT "https://api.box.com/2.0/integration_mappings/teams/12345" \
     -H "authorization: Bearer <ACCESS_TOKEN>"  \
     -H 'content-type: application/json'  \
{
  "id": "12345",
  "type": "integration_mapping",
  "partner_item": {
    "id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
    "type": "channel",
    "tenant_id": "E1234567",
    "team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u"
  },
  "box_item": {
    "type": "folder",
    "id": "42037322"
  },
  "integration_type": "teams",
  "is_overridden_by_manual_mapping": true,
  "created_at": "2012-12-12T10:53:43-08:00",
  "modified_at": "2012-12-12T10:53:43-08:00"
}
このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

integration_mapping_id
string
required

統合マッピングのID。

Body

application/json
box_item
フォルダの参照 · object

パートナーアプリのドメインのオブジェクトのマッピング先であるBoxフォルダ。

Response

更新された統合マッピングオブジェクトを返します。

統合マッピングオブジェクトのMicrosoft Teams固有のレプリゼンテーション。 統合マッピングオブジェクトのBase版の表示。

id
string
required

フォルダマッピングの一意の識別子 (integration_typeとともに複合キーの一部)。

Example:

"12345"

type
enum<string>
required

マッピングタイプ。

利用可能なオプション:
integration_mapping
Example:

"integration_mapping"

partner_item
Teamsタイプの統合マッピングのマッピングされた項目スキーマ · object
required

Teams用にマッピングされた項目オブジェクト。

Example:
{
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"type": "channel",
"tenant_id": "E1234567",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u"
}
box_item
フォルダの参照 · object
required

パートナーアプリのドメインのオブジェクト (partner_item_idで参照) のマッピング先であるBoxフォルダ。

integration_type
enum<string>

マッピングが関連付けられているBoxパートナーアプリを示します。SlackとTeamsがサポートされています (idとともに複合キーの一部)。

利用可能なオプション:
teams
Example:

"teams"

is_overridden_by_manual_mapping
boolean

マッピングが (自動作成されたのではなく) チーム所有者によってチャネルのUIから手動で設定されているかどうかを示します。

Example:

true

created_at
string<date-time>

統合マッピングオブジェクトが作成された日時。

Example:

"2012-12-12T10:53:43-08:00"

modified_at
string<date-time>

統合マッピングオブジェクトが最後に変更された日時。

Example:

"2012-12-12T10:53:43-08:00"