Unable to Create Place/Room Resource using Microsoft Graph POST API

Ajit Pradhan 21 Reputation points
2022-10-07T10:27:55.04+00:00

Hi All,
I am trying to create place/room resource using Graph API's. There is POST API to create place/room below attached the endpoint and the body parameters.

URL-----
https://graph.microsoft.com/beta/places/microsoft.graph.room

Body Params----

{
"address": {
"Street": "4567 Main Street",
"City": "Buffalo",
"State": "NY",
"PostalCode": "98052",
"CountryOrRegion": "USA"
},
"audioDeviceName": "ABC",
"bookingType": "Standard",
"building": "One",
"capacity": "10",
"displayDeviceName": "ABC",
"floorLabel": "ABC",
"floorNumber": "2",
"geoCoordinates": {
"Altitude": "null",
"Latitude": 47,
"Longitude": -122,
"Accuracy": "null",
"AltitudeAccuracy": "null"
},
"isWheelChairAccessible": "No",
"label": "ABC",
"nickname": "ABC",
"phone": "9668854799",
"tags": "ABC",
"videoDeviceName": "ABC"
}

Getting the below error in Microsoft Graph Explorer -----

{
"error": {
"code": "",
"message": "No HTTP resource was found that matches the request URI 'https://substrate.office.com:444/locations/odata/api/v2.0/places/microsoft.exchange.locationsAndTime.room'.",
"innerError": {
"message": "No routing convention was found to select an action for the OData path with template '~/entityset/cast'.",
"date": "2022-10-07T10:15:30",
"request-id": "5d29d021-155c-40d6-ad65-5eec24575b2f",
"client-request-id": "c676abce-597a-09da-de42-d7eec8e04f2c"
}
}
}

Please help me.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,580 questions
0 comments No comments
{count} votes

Accepted answer
  1. HarmeetSingh7172 4,816 Reputation points
    2022-10-07T21:31:22.083+00:00

    Hi @Ajit Pradhan

    Hope you're doing good.

    Creation of places/room resource using Graph API is not yet supported.

    Since this feature/functionality is presently not available, you can submit a feature request idea using this support link, which will be monitored by Microsoft team and make the enhancements to Microsoft Graph APIs.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.