我目前正在考虑从使用 Groups API 切换到 Education API。
我正在使用 Graph Explorer 测试一些端点,并且在一些响应中不断看到以下内容(我已经更改了敏感值):
{
"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#Collection(microsoft.graph.educationClass)",
"value":[{
"id":"ID",
"description":null,
"displayName":"NAME",
"mailNickname":"Section_BLAH_BLAH",
"externalName":"NAME",
"externalId":"BLAH_BLAH",
"externalSource":"sis"
{
"error": {
"code": "InternalServerError",
"message": "String was not recognized as a valid DateTime.",
"innerError": {
"request-id": "XXXXX-b7c9-4c83-94ed-XXXXX",
"date": "2019-12-04T12:36:57"
}
请求的端点是https://graph.microsoft.com/v1.0/education/schools/SCHOOL_ID/classes
,我希望它返回学校的班级列表。
数据是通过 SDS 添加的,所以我不确定这是否是问题,或者添加类数据时出现问题