Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 683 Bytes

File metadata and controls

22 lines (17 loc) · 683 Bytes
description Automatically generated file. DO NOT MODIFY
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.room import Room
from msgraph.generated.models.booking_type import BookingType
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = Room(
	odata_type = "microsoft.graph.room",
	display_name = "Conf Room 4/3.3G11",
	parent_id = "46ef7aed-5d94-4fd4-ae03-b333bc7a6955",
	booking_type = BookingType.Standard,
)

result = await graph_client.places.post(request_body)