Lists Teams integration mappings in a users' enterprise. You need Admin or Co-Admin role to use this endpoint.
12345
Box item ID, for which the mappings should be returned
folder
Box item type, for which the mappings should be returned
Value is always folder
12345
ID of the mapped item, for which the mapping should be returned
channel
Mapped item type, for which the mapping should be returned
Value is one of channel
,team
Returns a collection of integration mappings
The server cannot or will not process the request due to an apparent client error.
Returns a not_found
error if the integration mapping could not be found.
An unexpected client error.
await userClient.integrationMappings.getTeamsIntegrationMapping();
await userClient.IntegrationMappings.GetTeamsIntegrationMappingAsync();
userClient.getIntegrationMappings().getTeamsIntegrationMapping()
{
"entries": [
{
"id": "12345",
"type": "integration_mapping",
"box_item": {
"id": "42037322",
"type": "folder"
},
"created_at": "2012-12-12T10:53:43-08:00",
"integration_type": "teams",
"is_overridden_by_manual_mapping": true,
"modified_at": "2012-12-12T10:53:43-08:00",
"partner_item": {
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u",
"tenant_id": "E1234567",
"type": "channel"
}
}
]
}