{"id":6335,"date":"2025-07-03T11:55:54","date_gmt":"2025-07-03T11:55:54","guid":{"rendered":"https:\/\/support.alfaview.com\/?page_id=6335"},"modified":"2025-07-03T11:56:41","modified_gmt":"2025-07-03T11:56:41","slug":"list-rooms","status":"publish","type":"page","link":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/developers\/request-your-api-credentials\/usage-examples\/list-rooms\/","title":{"rendered":"R\u00e4ume listen"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"summary\">Summary<a href=\"#summary\" class=\"av-heading-anchor\"><i class=\"bi bi-link\"><\/i><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Request all rooms in order to populate a dropdown menu for room selection<\/li>\n\n\n\n<li>Required API calls: <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><code>roomService\/list<\/code><\/mark><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"request\">Request<a href=\"#request\" class=\"av-heading-anchor\"><i class=\"bi bi-link\"><\/i><\/a><\/h2>\n\n\n\n<p>Request <button class=\"av-button av-button--error\">POST<\/button> to <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><code>https:\/\/apis.alfaview.com\/json\/v1\/roomService\/list<\/code><\/mark><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"accessInfo\": {\n    \"requestId\": \"### REQUEST ID ###\",\n    \"accessToken\": \"### ACCESS TOKEN ###\"\n  },\n  \"limit\": 0,\n  \"offset\": 0,\n  \"filterRoomIds\": &#91;\n    \"### ROOM ID ###\"\n  ]\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"response\">Response<a href=\"#response\" class=\"av-heading-anchor\"><i class=\"bi bi-link\"><\/i><\/a><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  ...\n    \"rooms\": {\n      \"2bed6af5-51b9-4188-be98-25b6623b7a0f\": {\n        \"displayName\": \"Conference room 2\",\n        ...\n      },\n      \"b495c2b7-7f43-49c5-81b2-e44d429bb215\": {\n        \"displayName\": \"Conference room 3\",\n        ...\n      },\n      \"c134df6f-990a-4f99-8020-8290295e840f\": {\n        \"displayName\": \"Conference room 1\",\n        ...\n      }\n    }\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" class=\"wp-block-heading\" id=\"notes\">Notes<a href=\"#notes\" class=\"av-heading-anchor\"><i class=\"bi bi-link\"><\/i><\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><code>limit<\/code><\/mark>, number of results, default:100 max:1000<\/li>\n\n\n\n<li><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><code>offset<\/code><\/mark>, for paging, default:0<\/li>\n\n\n\n<li><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><code>filterRoomIds<\/code><\/mark>, list of room IDs if you want to filter your query<\/li>\n\n\n\n<li>Note that rooms are not ordered in any way<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Summary Request all rooms in order to populate a dropdown menu for room selection Required API calls: roomService\/list Request Request POST to https:\/\/apis.alfaview.com\/json\/v1\/roomService\/list Response Notes limit, number of results, default:100 max:1000 offset, for paging, default:0 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":3170,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6335","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/pages\/6335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/comments?post=6335"}],"version-history":[{"count":2,"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/pages\/6335\/revisions"}],"predecessor-version":[{"id":6336,"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/pages\/6335\/revisions\/6336"}],"up":[{"embeddable":true,"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/pages\/3170"}],"wp:attachment":[{"href":"https:\/\/cp-prod-wordpress.alfa.sx\/de\/wp-json\/wp\/v2\/media?parent=6335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}