@microsoft/msgraph-beta-sdk-education
Version:
Education fluent API for Microsoft Graph
30 lines • 1.98 kB
TypeScript
import { type EducationAssignment } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to call the activate method.
*/
export interface ActivateRequestBuilder extends BaseRequestBuilder<ActivateRequestBuilder> {
/**
* Activate an inactive educationAssignment to signal that the assignment has further action items for teachers or students. This action can only be performed by a teacher on currently inactive assignments.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<EducationAssignment>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/educationassignment-activate?view=graph-rest-beta|Find more info here}
*/
post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<EducationAssignment | undefined>;
/**
* Activate an inactive educationAssignment to signal that the assignment has further action items for teachers or students. This action can only be performed by a teacher on currently inactive assignments.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPostRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Uri template for the request builder.
*/
export declare const ActivateRequestBuilderUriTemplate = "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/activate";
/**
* Metadata for all the requests in the request builder.
*/
export declare const ActivateRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map