About API List places /places/microsoft.graph.room

%3CLINGO-SUB%20id%3D%22lingo-sub-1786587%22%20slang%3D%22en-US%22%3EAbout%20API%20List%20places%20%2Fplaces%2Fmicrosoft.graph.room%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1786587%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20problem%20with%20the%20API%20List%20Places%20(URL%26nbsp%3B%2Fplaces%2Fmicrosoft.graph.room).%3C%2FP%3E%3CP%3EI%20have%20totally%20more%20than%20100%20resource%20rooms%20but%20when%20I%20process%20the%20API%20List%20Places%2C%20I%20can%20only%20get%205%20rooms%20(even%20with%20the%20v1.0%20or%20beta).%20Can%20anyone%20explain%20why%3F%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Hungnt1035_0-1602810674283.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F227090i9016B594A5E6B0A6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Hungnt1035_0-1602810674283.png%22%20alt%3D%22Hungnt1035_0-1602810674283.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1786587%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1787658%22%20slang%3D%22en-US%22%3ERe%3A%20About%20API%20List%20places%20%2Fplaces%2Fmicrosoft.graph.room%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1787658%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F833162%22%20target%3D%22_blank%22%3E%40Hungnt1035%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EYou%20can%20use%20top%20parameter%20to%20get%20all%20rooms%20as%20specified.%20Could%20you%20please%20check%20this%20%5Bdocs%5D(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fquery-parameters%23top-parameter%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fquery-parameters%23top-parameter%3C%2FA%3E).%3C%2FP%3E%0A%3CP%3ERequest%20URL%20Example%3A%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fplaces%2Fmicrosoft.graph.room%3F%24top%3D300%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fbeta%2Fplaces%2Fmicrosoft.graph.room%3F%24top%3D300%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I have a problem with the API List Places (URL /places/microsoft.graph.room).

I have totally more than 100 resource rooms but when I process the API List Places, I can only get 5 rooms (even with the v1.0 or beta). Can anyone explain why?

Thank you

Hungnt1035_0-1602810674283.png

 

1 Reply
Highlighted

@Hungnt1035 


You can use top parameter to get all rooms as specified. Could you please check this [docs](https://docs.microsoft.com/en-us/graph/query-parameters#top-parameter).

Request URL Example: https://graph.microsoft.com/beta/places/microsoft.graph.room?$top=300