Sorting Microsoft团队聊天信息按查询参数排序
我试图使用Ms Graph API和查询参数“OrderBy”检索我的Ms团队聊天(直接/组)消息,以使用“createdDateTime”对响应进行排序,但我遇到了这个错误Sorting Microsoft团队聊天信息按查询参数排序,sorting,microsoft-graph-api,microsoft-teams,query-parameters,Sorting,Microsoft Graph Api,Microsoft Teams,Query Parameters,我试图使用Ms Graph API和查询参数“OrderBy”检索我的Ms团队聊天(直接/组)消息,以使用“createdDateTime”对响应进行排序,但我遇到了这个错误 { "error": { "code": "", "message": "The query specified in the URI is not valid. Query option 'O
{
"error": {
"code": "",
"message": "The query specified in the URI is not valid. Query option 'OrderBy' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.",
"innerError": {
"message": "Query option 'OrderBy' is not allowed. To allow it, set the 'AllowedQueryOptions' property on EnableQueryAttribute or QueryValidationSettings.",
"date": "2020-08-20T07:28:36",
}
}
}
是否有其他方法可以按照与“createdDateTime”相关的升序检索我的Ms Team Chat(Direct/Group)消息响应?我们可以为orderBy查询参数重新设置此问题。我们已向我们的工程团队索取信息。我们将在稍后回复您此API不支持OrderBy