方法openShiftsRequests返回针对段“ openShiftsRequests”找不到的资源

时间:2020-09-04 17:46:47

标签: microsoft-graph-api microsoft-graph-teams

我尝试使用api团队批准待批准的班次。

Pending shifts teams

阅读API我认为正确的方法是https://docs.microsoft.com/en-us/graph/api/openshiftchangerequest-list?view=graph-rest-1.0

当我尝试使用图表探索此方法时,响应请求是:

struct MyView<Content: View>: View {
    @Binding var matched: Bool
    var nspace: Namespace.ID
    let content: Content
    
    init(matched: Binding<Bool>,
         nspace: Namespace.ID,
         @ViewBuilder content: @escaping () -> Content
    ) {
        self._matched = matched
        self.nspace = nspace
        self.content = content()
    }
    
    var body: some View {
        ...
    }
}

我的请求是https://graph.microsoft.com/v1.0/teams/MY_TEAM_ID_WITH_SHIFT/schedule/openShiftsRequests

我该怎么办?

0 个答案:

没有答案