Microsoft图表使用meetingTimeSlot查找会议时间

时间:2017-07-19 05:05:34

标签: microsoft-graph

我对从meetingTimeSuggestions

返回的meetingTimeSlot属性感到困惑

我的活动域设置为"工作"但是我发布到API之后的响应代码是

{ start:
   { dateTime: '2017-08-17T23:00:00.0000000',
     timeZone: 'SE Asia Standard Time' },
  end:
   { dateTime: '2017-08-18T01:00:00.0000000',
     timeZone: 'SE Asia Standard Time' } }

时间长度应该是早上8点到下午5点不是吗?

这是我的完整代码

 {
        "attendees": [{
            "type": "required", // First Attendee
            "emailAddress": {
                "name": "Pathompong Chaisri",
                "address": "T00400@g-able.com"
            }
        },  {
            "type": "required", // Third Attendee
            "emailAddress": {
                "name": "Artima C",
                "address": "Artima.C@g-able.com"
            }
        }],
        "locationConstraint": {
            "isRequired": "false",
            "suggestLocation": "false",
            "locations": [{
                "resolveAvailability": "false",
                "displayName": "KX Building Floor 13"
            }]
        },
        "timeConstraint": {
            "activityDomain": "work",
            "timeslots": [{
                "start": {
                    "dateTime": "2017-08-17T09:00:00",
                    "timeZone": "SE Asia Standard Time"
                },
                "end": {
                    "dateTime": "2017-08-19T17:00:00",
                    "timeZone": "SE Asia Standard Time"
                }
            }]
        },
        "meetingDuration": "PT2H",
        "returnSuggestionReasons": "true",
        "minimumAttendeePercentage": "100"
    }

1 个答案:

答案 0 :(得分:0)

是不是因为你的时间段从17-08-2017开始并在两天后结束?我想你应该每天提供9-5个单独的插槽。