Utilisé par un fournisseur d’apprentissage pour ingérer ou mettre à jour les métadonnées de son contenu dans Viva Learning. Si le contenu d’apprentissage spécifié n’existe pas encore pour le fournisseur spécifié, cette opération crée les métadonnées du nouveau contenu. Sinon, cette opération remplace les métadonnées du contenu existant.
Dans le corps de la demande, fournissez uniquement les valeurs des propriétés à mettre à jour. Les propriétés existantes qui ne sont pas incluses dans le corps de la demande conservent leurs valeurs précédentes ou sont recalculées en fonction des modifications apportées à d’autres valeurs de propriété.
Le tableau suivant spécifie les propriétés qui peuvent être mises à jour.
Propriété
Type
Description
additionalTags
Collection de chaînes
Mots clés, rubriques et autres balises associés au contenu d’apprentissage. Optional.
contentWebUrl
Chaîne
URL web de contenu pour le contenu d’apprentissage. Obligatoire.
contributeurs
String collection
Les auteurs, les créateurs ou les contributeurs du contenu d’apprentissage. Optional.
createdDateTime
DateTimeOffset
Date et heure de création du contenu d’apprentissage. Le type d’horodatage représente les informations de date et d’heure au moyen du format ISO 8601. Il est toujours au format d’heure UTC. Par exemple, le 1er janvier 2014 à minuit UTC se présente comme suit : 2014-01-01T00:00:00Z. Optional.
description
Chaîne
Description ou résumé du contenu d’apprentissage. Optional.
durée
Durée
Durée du contenu d’apprentissage en secondes. La valeur est représentée au format ISO 8601 pour les durées. Optional.
externalId
Chaîne
ID de contenu externe unique pour le contenu d’apprentissage. Obligatoire.
format
Chaîne
Format du contenu d’apprentissage. Par exemple, Course, Video, Book, Book Summary, Audiobook Summary. Optional.
niveau
Niveau
Niveau de difficulté du contenu d’apprentissage. Les valeurs possibles sont Beginner, Intermediate et Advanced. Optional.
isActive
Valeur booléenne
Indique si le contenu est actif ou non. Le contenu inactif n’apparaît pas dans l’interface utilisateur. La valeur par défaut est true. Optional.
isPremium
Valeur booléenne
Indique si le contenu d’apprentissage exige que l’utilisateur se connecte ou non à la plateforme du fournisseur d’apprentissage. La valeur par défaut est false. Optional.
isSearchable
Valeur booléenne
Indique si le contenu d’apprentissage peut faire l’objet d’une recherche ou non. La valeur par défaut est true. Optional.
languageTag
Chaîne
Langue du contenu d’apprentissage, par exemple, en-us ou fr-fr. Obligatoire.
lastModifiedDateTime
DateTimeOffset
Date et heure de la dernière modification du contenu d’apprentissage. Le type d’horodatage représente les informations de date et d’heure au moyen du format ISO 8601. Il est toujours au format d’heure UTC. Par exemple, le 1er janvier 2014 à minuit UTC se présente comme suit : 2014-01-01T00:00:00Z. Optional.
numberOfPages
Int32
Nombre de pages du contenu d’apprentissage, par exemple . 9 Optional.
skillTags
Collection de chaînes
Étiquettes de compétences associées au contenu d’apprentissage. Optional.
sourceName
Chaîne
Nom source du contenu d’apprentissage, par LinkedIn Learning exemple ou Coursera. Optional.
thumbnailWebUrl
Chaîne
URL de l’image miniature du contenu d’apprentissage. Optional.
title
Chaîne
Titre du contenu d’apprentissage. Obligatoire.
Réponse
Si elle réussit, cette méthode renvoie un 202 Accepted code de réponse et un objet learningContent mis à jour dans le corps de la réponse.
Exemples
Exemple 1 : Mettre à jour les métadonnées d’un contenu d’apprentissage en fonction de son ID
L’exemple suivant montre une requête qui met à jour les métadonnées d’un contenu d’apprentissage en fonction de son ID (clé primaire).
PATCH https://graph.microsoft.com/v1.0/employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d70/learningContents/77029588-a660-46b6-ba58-3ce4d21d5678
Content-Type: application/json
{
"title": "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
"description": "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
"contentWebUrl": "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
"sourceName": "MsLearn",
"thumbnailWebUrl": "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
"languageTag": "en-us",
"numberOfPages": 9,
"duration": "PT20M",
"format": "Book",
"level": "Beginner",
"createdDateTime": "2018-01-01T00:00:00Z",
"lastModifiedDateTime": "2021-04-01T04:26:06.1995367Z",
"contributors": [
"Lina Wagner",
"Lisa Richter"
],
"additionalTags": [
"Create private or public teams",
"Add members to teams"
],
"skillTags": [
"Create teams",
"Teams channels",
"Teams members"
],
"isActive": true,
"isPremium": false,
"isSearchable": true
}
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new LearningContent
{
Title = "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
Description = "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
ContentWebUrl = "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
SourceName = "MsLearn",
ThumbnailWebUrl = "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
LanguageTag = "en-us",
NumberOfPages = 9,
Duration = TimeSpan.Parse("PT20M"),
Format = "Book",
Level = Level.Beginner,
CreatedDateTime = DateTimeOffset.Parse("2018-01-01T00:00:00Z"),
LastModifiedDateTime = DateTimeOffset.Parse("2021-04-01T04:26:06.1995367Z"),
Contributors = new List<string>
{
"Lina Wagner",
"Lisa Richter",
},
AdditionalTags = new List<string>
{
"Create private or public teams",
"Add members to teams",
},
SkillTags = new List<string>
{
"Create teams",
"Teams channels",
"Teams members",
},
IsActive = true,
IsPremium = false,
IsSearchable = true,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.EmployeeExperience.LearningProviders["{learningProvider-id}"].LearningContents["{learningContent-id}"].PatchAsync(requestBody);
mgc employee-experience learning-providers learning-contents patch --learning-provider-id {learningProvider-id} --learning-content-id {learningContent-id} --body '{\
"title": "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",\
"description": "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",\
"contentWebUrl": "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",\
"sourceName": "MsLearn",\
"thumbnailWebUrl": "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",\
"languageTag": "en-us",\
"numberOfPages": 9,\
"duration": "PT20M",\
"format": "Book",\
"level": "Beginner",\
"createdDateTime": "2018-01-01T00:00:00Z",\
"lastModifiedDateTime": "2021-04-01T04:26:06.1995367Z",\
"contributors": [\
"Lina Wagner",\
"Lisa Richter"\
],\
"additionalTags": [\
"Create private or public teams",\
"Add members to teams"\
],\
"skillTags": [\
"Create teams",\
"Teams channels",\
"Teams members"\
],\
"isActive": true,\
"isPremium": false,\
"isSearchable": true\
}\
'
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
LearningContent learningContent = new LearningContent();
learningContent.setTitle("Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle");
learningContent.setDescription("A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.");
learningContent.setContentWebUrl("https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/");
learningContent.setSourceName("MsLearn");
learningContent.setThumbnailWebUrl("https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF");
learningContent.setLanguageTag("en-us");
learningContent.setNumberOfPages(9);
PeriodAndDuration duration = PeriodAndDuration.ofDuration(Duration.parse("PT20M"));
learningContent.setDuration(duration);
learningContent.setFormat("Book");
learningContent.setLevel(Level.Beginner);
OffsetDateTime createdDateTime = OffsetDateTime.parse("2018-01-01T00:00:00Z");
learningContent.setCreatedDateTime(createdDateTime);
OffsetDateTime lastModifiedDateTime = OffsetDateTime.parse("2021-04-01T04:26:06.1995367Z");
learningContent.setLastModifiedDateTime(lastModifiedDateTime);
LinkedList<String> contributors = new LinkedList<String>();
contributors.add("Lina Wagner");
contributors.add("Lisa Richter");
learningContent.setContributors(contributors);
LinkedList<String> additionalTags = new LinkedList<String>();
additionalTags.add("Create private or public teams");
additionalTags.add("Add members to teams");
learningContent.setAdditionalTags(additionalTags);
LinkedList<String> skillTags = new LinkedList<String>();
skillTags.add("Create teams");
skillTags.add("Teams channels");
skillTags.add("Teams members");
learningContent.setSkillTags(skillTags);
learningContent.setIsActive(true);
learningContent.setIsPremium(false);
learningContent.setIsSearchable(true);
LearningContent result = graphClient.employeeExperience().learningProviders().byLearningProviderId("{learningProvider-id}").learningContents().byLearningContentId("{learningContent-id}").patch(learningContent);
<?php
use Microsoft\Graph\GraphServiceClient;
use Microsoft\Graph\Generated\Models\LearningContent;
use Microsoft\Graph\Generated\Models\Level;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new LearningContent();
$requestBody->setTitle('Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle');
$requestBody->setDescription('A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.');
$requestBody->setContentWebUrl('https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/');
$requestBody->setSourceName('MsLearn');
$requestBody->setThumbnailWebUrl('https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF');
$requestBody->setLanguageTag('en-us');
$requestBody->setNumberOfPages(9);
$requestBody->setDuration(new \DateInterval('PT20M'));
$requestBody->setFormat('Book');
$requestBody->setLevel(new Level('beginner'));
$requestBody->setCreatedDateTime(new \DateTime('2018-01-01T00:00:00Z'));
$requestBody->setLastModifiedDateTime(new \DateTime('2021-04-01T04:26:06.1995367Z'));
$requestBody->setContributors(['Lina Wagner', 'Lisa Richter', ]);
$requestBody->setAdditionalTags(['Create private or public teams', 'Add members to teams', ]);
$requestBody->setSkillTags(['Create teams', 'Teams channels', 'Teams members', ]);
$requestBody->setIsActive(true);
$requestBody->setIsPremium(false);
$requestBody->setIsSearchable(true);
$result = $graphServiceClient->employeeExperience()->learningProviders()->byLearningProviderId('learningProvider-id')->learningContents()->byLearningContentId('learningContent-id')->patch($requestBody)->wait();
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.learning_content import LearningContent
from msgraph.generated.models.level import Level
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = LearningContent(
title = "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
description = "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
content_web_url = "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
source_name = "MsLearn",
thumbnail_web_url = "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
language_tag = "en-us",
number_of_pages = 9,
duration = "PT20M",
format = "Book",
level = Level.Beginner,
created_date_time = "2018-01-01T00:00:00Z",
last_modified_date_time = "2021-04-01T04:26:06.1995367Z",
contributors = [
"Lina Wagner",
"Lisa Richter",
],
additional_tags = [
"Create private or public teams",
"Add members to teams",
],
skill_tags = [
"Create teams",
"Teams channels",
"Teams members",
],
is_active = True,
is_premium = False,
is_searchable = True,
)
result = await graph_client.employee_experience.learning_providers.by_learning_provider_id('learningProvider-id').learning_contents.by_learning_content_id('learningContent-id').patch(request_body)
Remarque : l’objet de réponse affiché ci-après peut être raccourci pour plus de lisibilité.
HTTP/1.1 202 Accepted
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#learningProviders('13727311-e7bb-470d-8b20-6a23d9030d70')/learningContents/$entity",
"id": "77029588-a660-46b6-ba58-3ce4d21d5678",
"externalId": "LP4471",
"title": "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
"description": "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
"contentWebUrl": "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
"sourceName": "MsLearn",
"thumbnailWebUrl": "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
"languageTag": "en-us",
"numberOfPages": 9,
"duration": "PT20M",
"format": "Book",
"level": "Beginner",
"createdDateTime": "2018-01-01T00:00:00",
"lastModifiedDateTime": "2021-04-01T04:26:06.1995367Z",
"contributors": [
"Lina Wagner",
"Lisa Richter"
],
"additionalTags": [
"Create private or public teams",
"Add members to teams"
],
"skillTags": [
"Create teams",
"Teams channels",
"Teams members"
],
"isActive": true,
"isPremium": false,
"isSearchable": true
}
Exemple 2 : Mettre à jour les métadonnées d’un contenu d’apprentissage en fonction de son ID externe
L’exemple suivant montre une requête qui met à jour les métadonnées d’un contenu d’apprentissage en fonction de son ID externe (clé secondaire).
PATCH https://graph.microsoft.com/v1.0/employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d70/learningContents(externalId='LP4471')
Content-Type: application/json
{
"title": "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
"description": "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
"contentWebUrl": "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
"sourceName": "MsLearn",
"thumbnailWebUrl": "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
"languageTag": "en-us",
"numberOfPages": 9,
"duration": "PT20M",
"format": "Book",
"level": "Beginner",
"createdDateTime": "2018-01-01T00:00:00",
"lastModifiedDateTime": "2021-04-01T04:26:06.1995367Z",
"contributors": [
"Lina Wagner",
"Lisa Richter"
],
"additionalTags": [
"Create private or public teams",
"Add members to teams"
],
"skillTags": [
"Create teams",
"Teams channels",
"Teams members"
],
"isActive": true,
"isPremium": false,
"isSearchable": true
}
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Models;
var requestBody = new LearningContent
{
Title = "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
Description = "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
ContentWebUrl = "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
SourceName = "MsLearn",
ThumbnailWebUrl = "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
LanguageTag = "en-us",
NumberOfPages = 9,
Duration = TimeSpan.Parse("PT20M"),
Format = "Book",
Level = Level.Beginner,
CreatedDateTime = DateTimeOffset.Parse("2018-01-01T00:00:00"),
LastModifiedDateTime = DateTimeOffset.Parse("2021-04-01T04:26:06.1995367Z"),
Contributors = new List<string>
{
"Lina Wagner",
"Lisa Richter",
},
AdditionalTags = new List<string>
{
"Create private or public teams",
"Add members to teams",
},
SkillTags = new List<string>
{
"Create teams",
"Teams channels",
"Teams members",
},
IsActive = true,
IsPremium = false,
IsSearchable = true,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.EmployeeExperience.LearningProviders["{learningProvider-id}"].LearningContentsWithExternalId("{externalId}").PatchAsync(requestBody);
mgc employee-experience learning-providers learning-contents-with-external-id patch --external-id {external-id} --learning-provider-id {learningProvider-id} --body '{\
"title": "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",\
"description": "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",\
"contentWebUrl": "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",\
"sourceName": "MsLearn",\
"thumbnailWebUrl": "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",\
"languageTag": "en-us",\
"numberOfPages": 9,\
"duration": "PT20M",\
"format": "Book",\
"level": "Beginner",\
"createdDateTime": "2018-01-01T00:00:00",\
"lastModifiedDateTime": "2021-04-01T04:26:06.1995367Z",\
"contributors": [\
"Lina Wagner",\
"Lisa Richter"\
],\
"additionalTags": [\
"Create private or public teams",\
"Add members to teams"\
],\
"skillTags": [\
"Create teams",\
"Teams channels",\
"Teams members"\
],\
"isActive": true,\
"isPremium": false,\
"isSearchable": true\
}\
'
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
LearningContent learningContent = new LearningContent();
learningContent.setTitle("Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle");
learningContent.setDescription("A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.");
learningContent.setContentWebUrl("https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/");
learningContent.setSourceName("MsLearn");
learningContent.setThumbnailWebUrl("https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF");
learningContent.setLanguageTag("en-us");
learningContent.setNumberOfPages(9);
PeriodAndDuration duration = PeriodAndDuration.ofDuration(Duration.parse("PT20M"));
learningContent.setDuration(duration);
learningContent.setFormat("Book");
learningContent.setLevel(Level.Beginner);
OffsetDateTime createdDateTime = OffsetDateTime.parse("2018-01-01T00:00:00");
learningContent.setCreatedDateTime(createdDateTime);
OffsetDateTime lastModifiedDateTime = OffsetDateTime.parse("2021-04-01T04:26:06.1995367Z");
learningContent.setLastModifiedDateTime(lastModifiedDateTime);
LinkedList<String> contributors = new LinkedList<String>();
contributors.add("Lina Wagner");
contributors.add("Lisa Richter");
learningContent.setContributors(contributors);
LinkedList<String> additionalTags = new LinkedList<String>();
additionalTags.add("Create private or public teams");
additionalTags.add("Add members to teams");
learningContent.setAdditionalTags(additionalTags);
LinkedList<String> skillTags = new LinkedList<String>();
skillTags.add("Create teams");
skillTags.add("Teams channels");
skillTags.add("Teams members");
learningContent.setSkillTags(skillTags);
learningContent.setIsActive(true);
learningContent.setIsPremium(false);
learningContent.setIsSearchable(true);
LearningContent result = graphClient.employeeExperience().learningProviders().byLearningProviderId("{learningProvider-id}").learningContentsWithExternalId("{externalId}").patch(learningContent);
<?php
use Microsoft\Graph\GraphServiceClient;
use Microsoft\Graph\Generated\Models\LearningContent;
use Microsoft\Graph\Generated\Models\Level;
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new LearningContent();
$requestBody->setTitle('Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle');
$requestBody->setDescription('A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.');
$requestBody->setContentWebUrl('https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/');
$requestBody->setSourceName('MsLearn');
$requestBody->setThumbnailWebUrl('https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF');
$requestBody->setLanguageTag('en-us');
$requestBody->setNumberOfPages(9);
$requestBody->setDuration(new \DateInterval('PT20M'));
$requestBody->setFormat('Book');
$requestBody->setLevel(new Level('beginner'));
$requestBody->setCreatedDateTime(new \DateTime('2018-01-01T00:00:00'));
$requestBody->setLastModifiedDateTime(new \DateTime('2021-04-01T04:26:06.1995367Z'));
$requestBody->setContributors(['Lina Wagner', 'Lisa Richter', ]);
$requestBody->setAdditionalTags(['Create private or public teams', 'Add members to teams', ]);
$requestBody->setSkillTags(['Create teams', 'Teams channels', 'Teams members', ]);
$requestBody->setIsActive(true);
$requestBody->setIsPremium(false);
$requestBody->setIsSearchable(true);
$result = $graphServiceClient->employeeExperience()->learningProviders()->byLearningProviderId('learningProvider-id')->learningContentsWithExternalId('{externalId}', )->patch($requestBody)->wait();
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.learning_content import LearningContent
from msgraph.generated.models.level import Level
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = LearningContent(
title = "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
description = "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
content_web_url = "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
source_name = "MsLearn",
thumbnail_web_url = "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
language_tag = "en-us",
number_of_pages = 9,
duration = "PT20M",
format = "Book",
level = Level.Beginner,
created_date_time = "2018-01-01T00:00:00",
last_modified_date_time = "2021-04-01T04:26:06.1995367Z",
contributors = [
"Lina Wagner",
"Lisa Richter",
],
additional_tags = [
"Create private or public teams",
"Add members to teams",
],
skill_tags = [
"Create teams",
"Teams channels",
"Teams members",
],
is_active = True,
is_premium = False,
is_searchable = True,
)
result = await graph_client.employee_experience.learning_providers.by_learning_provider_id('learningProvider-id').learning_contents_with_external_id("{externalId}").patch(request_body)
Remarque : l’objet de réponse affiché ci-après peut être raccourci pour plus de lisibilité.
HTTP/1.1 202 Accepted
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#learningProviders('13727311-e7bb-470d-8b20-6a23d9030d70')/learningContents/$entity",
"id": "77029588-a660-46b6-ba58-3ce4d21d5678",
"externalId": "LP4471",
"title": "Manage classes, resources, assessment, and planning in Microsoft Teams with Beedle",
"description": "A module to guide users through the various teaching and learning enhancements that Beedle provides within Microsoft Teams, with many examples of everyday application.",
"contentWebUrl": "https://learn.microsoft.com/learn/modules/manage-classes-resources-assessment-planning-beedle/",
"sourceName": "MsLearn",
"thumbnailWebUrl": "https://syndetics.com/index.aspx?isbn=9783319672175/LC.GIF",
"languageTag": "en-us",
"numberOfPages": 9,
"duration": "PT20M",
"format": "Book",
"level": "Beginner",
"createdDateTime": "2018-01-01T00:00:00",
"lastModifiedDateTime": "2021-04-01T04:26:06.1995367Z",
"contributors": [
"Lina Wagner",
"Lisa Richter"
],
"additionalTags": [
"Create private or public teams",
"Add members to teams"
],
"skillTags": [
"Create teams",
"Teams channels",
"Teams members"
],
"isActive": true,
"isPremium": false,
"isSearchable": true
}