{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin Teams.schedule API", "version": "1.0.0" }, "items": [ { "info": { "name": "Teams.schedule", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get schedule", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).\r\nWhen clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the curr" }, { "info": { "name": "Microsoft Graph Create or replace schedule", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or replace a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).\r\nWhen clients use the PUT method, if the schedule is provisioned, the operation replaces the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provision" }, { "info": { "name": "Microsoft Graph Delete navigation property schedule for teams", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ] }, "docs": "Microsoft Graph Delete navigation property schedule for teams" }, { "info": { "name": "Microsoft Graph Get dayNotes from teams", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/dayNotes", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The day notes in the schedule." }, { "info": { "name": "Microsoft Graph Create new navigation property to dayNotes for teams", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/dayNotes", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Create new navigation property to dayNotes for teams" }, { "info": { "name": "Microsoft Graph Get dayNotes from teams", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/dayNotes/:dayNote-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "dayNote-id", "value": "", "type": "path", "description": "The unique identifier of dayNote" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The day notes in the schedule." }, { "info": { "name": "Microsoft Graph Update the navigation property dayNotes in teams", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/dayNotes/:dayNote-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "dayNote-id", "value": "", "type": "path", "description": "The unique identifier of dayNote" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property dayNotes in teams" }, { "info": { "name": "Microsoft Graph Delete navigation property dayNotes for teams", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/dayNotes/:dayNote-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "dayNote-id", "value": "", "type": "path", "description": "The unique identifier of dayNote" } ] }, "docs": "Microsoft Graph Delete navigation property dayNotes for teams" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/dayNotes/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Invoke action share", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/share", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Share a schedule time range with schedule members. This action makes the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers. Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and tim" }, { "info": { "name": "Microsoft Graph List offerShiftRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/offerShiftRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of all offerShiftRequest objects in a team." }, { "info": { "name": "Microsoft Graph Create offerShiftRequest", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/offerShiftRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an instance of an offerShiftRequest." }, { "info": { "name": "Microsoft Graph Get offerShiftRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/offerShiftRequests/:offerShiftRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "offerShiftRequest-id", "value": "", "type": "path", "description": "The unique identifier of offerShiftRequest" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of an offerShiftRequest object." }, { "info": { "name": "Microsoft Graph Update the navigation property offerShiftRequests in teams", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/offerShiftRequests/:offerShiftRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "offerShiftRequest-id", "value": "", "type": "path", "description": "The unique identifier of offerShiftRequest" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property offerShiftRequests in teams" }, { "info": { "name": "Microsoft Graph Delete navigation property offerShiftRequests for teams", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/offerShiftRequests/:offerShiftRequest-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "offerShiftRequest-id", "value": "", "type": "path", "description": "The unique identifier of offerShiftRequest" } ] }, "docs": "Microsoft Graph Delete navigation property offerShiftRequests for teams" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/offerShiftRequests/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List openShiftChangeRequests", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShiftChangeRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve a list of openShiftChangeRequest objects in a team." }, { "info": { "name": "Microsoft Graph Create openShiftChangeRequest", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShiftChangeRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create instance of an openShiftChangeRequest object." }, { "info": { "name": "Microsoft Graph Get openShiftChangeRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShiftChangeRequests/:openShiftChangeRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "openShiftChangeRequest-id", "value": "", "type": "path", "description": "The unique identifier of openShiftChangeRequest" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of an openShiftChangeRequest object." }, { "info": { "name": "Microsoft Graph Update the navigation property openShiftChangeRequests in teams", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShiftChangeRequests/:openShiftChangeRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "openShiftChangeRequest-id", "value": "", "type": "path", "description": "The unique identifier of openShiftChangeRequest" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property openShiftChangeRequests in teams" }, { "info": { "name": "Microsoft Graph Delete navigation property openShiftChangeRequests for teams", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShiftChangeRequests/:openShiftChangeRequest-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "openShiftChangeRequest-id", "value": "", "type": "path", "description": "The unique identifier of openShiftChangeRequest" } ] }, "docs": "Microsoft Graph Delete navigation property openShiftChangeRequests for teams" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShiftChangeRequests/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List openShifts", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShifts", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "List openShift objects in a team." }, { "info": { "name": "Microsoft Graph Create openShift", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShifts", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an instance of an openShift object." }, { "info": { "name": "Microsoft Graph Get openShift", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShifts/:openShift-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "openShift-id", "value": "", "type": "path", "description": "The unique identifier of openShift" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of an openshift object." }, { "info": { "name": "Microsoft Graph Update openShift", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShifts/:openShift-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "openShift-id", "value": "", "type": "path", "description": "The unique identifier of openShift" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the properties of an openShift object." }, { "info": { "name": "Microsoft Graph Delete openShift", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShifts/:openShift-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "openShift-id", "value": "", "type": "path", "description": "The unique identifier of openShift" } ] }, "docs": "Delete an openShift object." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/openShifts/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List scheduleGroups", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/schedulingGroups", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the list of schedulingGroups in this schedule." }, { "info": { "name": "Microsoft Graph Create schedulingGroup", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/schedulingGroups", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new schedulingGroup." }, { "info": { "name": "Microsoft Graph Get schedulingGroup", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/schedulingGroups/:schedulingGroup-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "schedulingGroup-id", "value": "", "type": "path", "description": "The unique identifier of schedulingGroup" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a schedulingGroup by ID." }, { "info": { "name": "Microsoft Graph Replace schedulingGroup", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/schedulingGroups/:schedulingGroup-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "schedulingGroup-id", "value": "", "type": "path", "description": "The unique identifier of schedulingGroup" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found." }, { "info": { "name": "Microsoft Graph Delete schedulingGroup", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/schedulingGroups/:schedulingGroup-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "schedulingGroup-id", "value": "", "type": "path", "description": "The unique identifier of schedulingGroup" } ] }, "docs": "Mark a schedulingGroup as inactive by setting its isActive property.\r\nThis method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/schedulingGroups/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List shifts", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/shifts", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the list of shift instances in a schedule." }, { "info": { "name": "Microsoft Graph Create shift", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/shifts", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours." }, { "info": { "name": "Microsoft Graph Get shift", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/shifts/:shift-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "shift-id", "value": "", "type": "path", "description": "The unique identifier of shift" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a shift object by ID." }, { "info": { "name": "Microsoft Graph Replace shift", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/shifts/:shift-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "shift-id", "value": "", "type": "path", "description": "The unique identifier of shift" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than one minute or longer than 24 hours." }, { "info": { "name": "Microsoft Graph Delete shift", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/shifts/:shift-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "shift-id", "value": "", "type": "path", "description": "The unique identifier of shift" } ] }, "docs": "Delete a shift from the schedule." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/shifts/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List swapShiftsChangeRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/swapShiftsChangeRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve a list of swapShiftsChangeRequest objects in the team." }, { "info": { "name": "Microsoft Graph Create swapShiftsChangeRequest", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/swapShiftsChangeRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an instance of a swapShiftsChangeRequest object." }, { "info": { "name": "Microsoft Graph Get swapShiftsChangeRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/swapShiftsChangeRequests/:swapShiftsChangeRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "swapShiftsChangeRequest-id", "value": "", "type": "path", "description": "The unique identifier of swapShiftsChangeRequest" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a swapShiftsChangeRequest object." }, { "info": { "name": "Microsoft Graph Update the navigation property swapShiftsChangeRequests in teams", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/swapShiftsChangeRequests/:swapShiftsChangeRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "swapShiftsChangeRequest-id", "value": "", "type": "path", "description": "The unique identifier of swapShiftsChangeRequest" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property swapShiftsChangeRequests in teams" }, { "info": { "name": "Microsoft Graph Delete navigation property swapShiftsChangeRequests for teams", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/swapShiftsChangeRequests/:swapShiftsChangeRequest-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "swapShiftsChangeRequest-id", "value": "", "type": "path", "description": "The unique identifier of swapShiftsChangeRequest" } ] }, "docs": "Microsoft Graph Delete navigation property swapShiftsChangeRequests for teams" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/swapShiftsChangeRequests/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List timeCard", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve a list of timeCard entries in a schedule." }, { "info": { "name": "Microsoft Graph Create timeCard", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a timeCard instance in a schedule." }, { "info": { "name": "Microsoft Graph Get timeCards from teams", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The time cards in the schedule." }, { "info": { "name": "Microsoft Graph Update the navigation property timeCards in teams", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property timeCards in teams" }, { "info": { "name": "Microsoft Graph Delete timeCard", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" } ] }, "docs": "Delete a timeCard instance in a schedule." }, { "info": { "name": "Microsoft Graph Invoke action clockOut", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id/clockOut", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Invoke action clockOut" }, { "info": { "name": "Microsoft Graph Invoke action confirm", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id/confirm", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" } ] }, "docs": "Confirm a timeCard." }, { "info": { "name": "Microsoft Graph Invoke action endBreak", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id/endBreak", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Invoke action endBreak" }, { "info": { "name": "Microsoft Graph Invoke action startBreak", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/:timeCard-id/startBreak", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeCard-id", "value": "", "type": "path", "description": "The unique identifier of timeCard" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Invoke action startBreak" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Invoke action clockIn", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeCards/clockIn", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Clock in to start a timeCard." }, { "info": { "name": "Microsoft Graph List timeOffReasons", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffReasons", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the list of timeOffReasons in a schedule." }, { "info": { "name": "Microsoft Graph Create timeOffReason", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffReasons", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new timeOffReason." }, { "info": { "name": "Microsoft Graph Get timeOffReason", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffReasons/:timeOffReason-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOffReason-id", "value": "", "type": "path", "description": "The unique identifier of timeOffReason" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a timeOffReason object by ID." }, { "info": { "name": "Microsoft Graph Replace timeOffReason", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffReasons/:timeOffReason-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOffReason-id", "value": "", "type": "path", "description": "The unique identifier of timeOffReason" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found." }, { "info": { "name": "Microsoft Graph Delete timeOffReason", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffReasons/:timeOffReason-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOffReason-id", "value": "", "type": "path", "description": "The unique identifier of timeOffReason" } ] }, "docs": "Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffReasons/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List timeOffRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve a list of timeOffRequest objects in the team." }, { "info": { "name": "Microsoft Graph Create timeOffRequest", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffRequests", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create instance of a timeoffrequest object." }, { "info": { "name": "Microsoft Graph Get timeOffRequest", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffRequests/:timeOffRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOffRequest-id", "value": "", "type": "path", "description": "The unique identifier of timeOffRequest" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a timeoffrequest object." }, { "info": { "name": "Microsoft Graph Update the navigation property timeOffRequests in teams", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffRequests/:timeOffRequest-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOffRequest-id", "value": "", "type": "path", "description": "The unique identifier of timeOffRequest" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property timeOffRequests in teams" }, { "info": { "name": "Microsoft Graph Delete timeOffRequest", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffRequests/:timeOffRequest-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOffRequest-id", "value": "", "type": "path", "description": "The unique identifier of timeOffRequest" } ] }, "docs": "Delete a timeOffRequest object." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timeOffRequests/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph List timesOff", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timesOff", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the list of timeOff instances in a schedule." }, { "info": { "name": "Microsoft Graph Create timeOff", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timesOff", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new timeOff instance in a schedule." }, { "info": { "name": "Microsoft Graph Get timeOff", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timesOff/:timeOff-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOff-id", "value": "", "type": "path", "description": "The unique identifier of timeOff" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a timeOff object by ID." }, { "info": { "name": "Microsoft Graph Replace timeOff", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timesOff/:timeOff-id", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOff-id", "value": "", "type": "path", "description": "The unique identifier of timeOff" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found." }, { "info": { "name": "Microsoft Graph Delete timeOff", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timesOff/:timeOff-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "timeOff-id", "value": "", "type": "path", "description": "The unique identifier of timeOff" } ] }, "docs": "Delete a timeOff instance from a schedule." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/teams/:team-id/schedule/timesOff/$count", "params": [ { "name": "team-id", "value": "", "type": "path", "description": "The unique identifier of team" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" } ] } ], "bundled": true }