Resource Page


Overview

Provides description for all resources marked as visible. Consider using /en/booking/search if you want to obtain prices and available resources for a given date/time period


GET /en/publicresources/

Gets the details of all resources marked as visible. Allows to filter the list by group and resource type.

GET /en/publicresources?group={string}&resourceTypeId={int}
Parameters: 

group: shows only resources in this group
resourceTypeId: shows only resources for this ResourceType
{
  "ResourceTypes": [
    {
      "Name": "Large Meeting Rooms (hourly)",
      "Id": 287951665,
      "IdString": "287951665",
      "UpdatedOn": "2017-01-27T10:30:17",
      "CreatedOn": "2017-01-27T10:30:17",
      "UniqueId": "0e841048-d59f-421d-bf3f-5fd5e5422eef",
      "IsNull": false
    },
    {
      "Name": "Small Meeting Rooms (hourly)",
      "Id": 287951666,
      "IdString": "287951666",
      "UpdatedOn": "2017-01-27T10:30:17",
      "CreatedOn": "2017-01-27T10:30:17",
      "UniqueId": "4ddd9975-0862-4a64-97b3-3995d7a33e42",
      "IsNull": false
    }
  ],
  "SelectedResourceType": null,
  "Group": null,
  "AllShifts": [],
  "Resources": [
    {
      "Name": "Thebe Meeting Room",
      "GroupName": "Small",
      "Description": "<p>This meeting room includes:</p>\r\n<ul>\r\n<li>Projector</li>\r\n<li>Conference phone</li>\r\n<li>Catering</li>\r\n<li>Coffee and Tea</li>\r\n<li>A/A</li>\r\n</ul>\r\n<p>Capacity <strong>10 people</strong>.</p>",
      "ResourceTypeName": "Small Meeting Rooms (hourly)",
      "ResourceType": {},
      "HasImage": true,
      "Projector": true,
      "Internet": false,
      "ConferencePhone": false,
      "StandardPhone": false,
      "WhiteBoard": false,
      "LargeDisplay": false,
      "Catering": true,
      "TeaAndCoffee": true,
      "Drinks": false,
      "SecurityLock": false,
      "CCTV": false,
      "VoiceRecorder": false,
      "AirConditioning": true,
      "Heating": false,
      "NaturalLight": false,
      "AllowMultipleBookings": false,
      "Allocation": null,
      "Shifts": [],
      "IsAvailable": false,
      "Message": null,
      "Price": 0,
      "DisplayOrder": 1,
      "PriceFormatted": null,
      "Id": 287977692,
      "IdString": "287977692",
      "UpdatedOn": "2017-02-08T05:15:07",
      "CreatedOn": "2017-01-27T15:30:07",
      "UniqueId": "e9180734-9a34-4429-9346-47af763532c3",
      "IsNull": false
    },
    {
      "Name": "Callisto Meeting Room",
      "GroupName": "Small",
      "Description": "<p>This meeting room includes:</p>\r\n<ul>\r\n<li>Projector</li>\r\n<li>Conference phone</li>\r\n<li>Catering</li>\r\n<li>Coffee and Tea</li>\r\n<li>Audio System</li>\r\n<li>WiFi</li>\r\n<li>Whiteboard</li>\r\n<li>Lock</li>\r\n<li>A/A</li>\r\n</ul>\r\n<p>Capacity <strong>12 people.</strong></p>",
      "ResourceTypeName": "Small Meeting Rooms (hourly)",
      "ResourceType": {},
      "HasImage": true,
      "Projector": true,
      "Internet": false,
      "ConferencePhone": true,
      "StandardPhone": false,
      "WhiteBoard": false,
      "LargeDisplay": false,
      "Catering": true,
      "TeaAndCoffee": true,
      "Drinks": false,
      "SecurityLock": true,
      "CCTV": false,
      "VoiceRecorder": false,
      "AirConditioning": true,
      "Heating": true,
      "NaturalLight": false,
      "AllowMultipleBookings": false,
      "Allocation": 10,
      "Shifts": [],
      "IsAvailable": false,
      "Message": null,
      "Price": 0,
      "DisplayOrder": 2,
      "PriceFormatted": null,
      "Id": 287977693,
      "IdString": "287977693",
      "UpdatedOn": "2017-03-26T14:25:11",
      "CreatedOn": "2017-01-27T15:41:32",
      "UniqueId": "2984f460-df71-415c-b25d-6d1200c3dfcd",
      "IsNull": false
    },
    {
      "Name": "Amalthea Meeting Room",
      "GroupName": "Small",
      "Description": "<p>This meeting room includes:</p>\r\n<ul>\r\n<li>Projector</li>\r\n<li>Conference phone</li>\r\n<li>Catering</li>\r\n<li>Coffee and Tea</li>\r\n<li>Audio System</li>\r\n<li>WiFi</li>\r\n<li>Whiteboard</li>\r\n</ul>\r\n<p>Capacity <strong>8 people.</strong></p>",
      "ResourceTypeName": "Large Meeting Rooms (hourly)",
      "ResourceType": {},
      "HasImage": true,
      "Projector": true,
      "Internet": true,
      "ConferencePhone": true,
      "StandardPhone": false,
      "WhiteBoard": true,
      "LargeDisplay": false,
      "Catering": true,
      "TeaAndCoffee": true,
      "Drinks": false,
      "SecurityLock": false,
      "CCTV": false,
      "VoiceRecorder": false,
      "AirConditioning": true,
      "Heating": false,
      "NaturalLight": false,
      "AllowMultipleBookings": false,
      "Allocation": null,
      "Shifts": [],
      "IsAvailable": false,
      "Message": null,
      "Price": 0,
      "DisplayOrder": 3,
      "PriceFormatted": null,
      "Id": 287977694,
      "IdString": "287977694",
      "UpdatedOn": "2017-02-01T17:28:23",
      "CreatedOn": "2017-01-27T15:44:28",
      "UniqueId": "84bf8746-0a96-451e-a820-b1db0a2c0392",
      "IsNull": false
    },
    {
      "Name": "Himalia Meeting Room",
      "GroupName": "Large",
      "Description": "<p>This meeting room includes:</p>\r\n<ul>\r\n<li>Projector</li>\r\n<li>Conference phone</li>\r\n<li>Catering</li>\r\n<li>Coffee and Tea</li>\r\n<li>A/A</li>\r\n<li>Heating</li>\r\n</ul>\r\n<p>Capacity <strong>5 people.</strong></p>",
      "ResourceTypeName": "Large Meeting Rooms (hourly)",
      "ResourceType": {},
      "HasImage": true,
      "Projector": true,
      "Internet": false,
      "ConferencePhone": true,
      "StandardPhone": false,
      "WhiteBoard": false,
      "LargeDisplay": false,
      "Catering": true,
      "TeaAndCoffee": true,
      "Drinks": false,
      "SecurityLock": false,
      "CCTV": false,
      "VoiceRecorder": false,
      "AirConditioning": true,
      "Heating": true,
      "NaturalLight": false,
      "AllowMultipleBookings": false,
      "Allocation": null,
      "Shifts": [],
      "IsAvailable": false,
      "Message": null,
      "Price": 0,
      "DisplayOrder": 4,
      "PriceFormatted": null,
      "Id": 287977695,
      "IdString": "287977695",
      "UpdatedOn": "2017-02-01T17:28:32",
      "CreatedOn": "2017-01-27T15:46:24",
      "UniqueId": "da13325f-9e5c-4d75-a36e-738d295082c6",
      "IsNull": false
    },
    {
      "Name": "Ganymede Meeting Room",
      "GroupName": "Large",
      "Description": "<p>This meeting room includes: Projector Conference phone Catering Coffee and Tea A/A Heating Capacity 20 people.</p>",
      "ResourceTypeName": "Large Meeting Rooms (hourly)",
      "ResourceType": {},
      "HasImage": true,
      "Projector": true,
      "Internet": false,
      "ConferencePhone": true,
      "StandardPhone": false,
      "WhiteBoard": false,
      "LargeDisplay": false,
      "Catering": false,
      "TeaAndCoffee": true,
      "Drinks": false,
      "SecurityLock": false,
      "CCTV": false,
      "VoiceRecorder": false,
      "AirConditioning": true,
      "Heating": true,
      "NaturalLight": false,
      "AllowMultipleBookings": false,
      "Allocation": null,
      "Shifts": [],
      "IsAvailable": false,
      "Message": null,
      "Price": 0,
      "DisplayOrder": 5,
      "PriceFormatted": null,
      "Id": 287977696,
      "IdString": "287977696",
      "UpdatedOn": "2017-02-01T17:28:37",
      "CreatedOn": "2017-01-27T15:54:54",
      "UniqueId": "a778f8ad-227f-4645-8ac0-d35c2a1a83c5",
      "IsNull": false
    },
    {
      "Name": "Europa Meeting Room",
      "GroupName": "Large",
      "Description": "<p>This meeting room includes: Projector Conference phone Catering Coffee and Tea Whiteboard Capacity 6 people</p>",
      "ResourceTypeName": "Large Meeting Rooms (hourly)",
      "ResourceType": {},
      "HasImage": true,
      "Projector": true,
      "Internet": true,
      "ConferencePhone": true,
      "StandardPhone": true,
      "WhiteBoard": true,
      "LargeDisplay": true,
      "Catering": true,
      "TeaAndCoffee": true,
      "Drinks": true,
      "SecurityLock": true,
      "CCTV": true,
      "VoiceRecorder": true,
      "AirConditioning": true,
      "Heating": true,
      "NaturalLight": true,
      "AllowMultipleBookings": false,
      "Allocation": null,
      "Shifts": [],
      "IsAvailable": false,
      "Message": null,
      "Price": 0,
      "DisplayOrder": 6,
      "PriceFormatted": null,
      "Id": 287977697,
      "IdString": "287977697",
      "UpdatedOn": "2017-02-01T17:28:41",
      "CreatedOn": "2017-01-27T15:56:49",
      "UniqueId": "5a540534-111c-4d22-afe3-698245439411",
      "IsNull": false
    }
  ]
}

GET /en/publicresources/

Gets the full details of a visble resource

GET /en/publicresources/details/{id}
Parameters: 
id: the id of the Resource to display details for
{
  "AllShifts": [],
  "Resource": {
    "Name": "Thebe Meeting Room",
    "GroupName": "Small",
    "Description": "<p>This meeting room includes:</p>\r\n<ul>\r\n<li>Projector</li>\r\n<li>Conference phone</li>\r\n<li>Catering</li>\r\n<li>Coffee and Tea</li>\r\n<li>A/A</li>\r\n</ul>\r\n<p>Capacity <strong>10 people</strong>.</p>",
    "ResourceTypeName": "Small Meeting Rooms (hourly)",
    "ResourceType": {},
    "HasImage": true,
    "Projector": true,
    "Internet": false,
    "ConferencePhone": false,
    "StandardPhone": false,
    "WhiteBoard": false,
    "LargeDisplay": false,
    "Catering": true,
    "TeaAndCoffee": true,
    "Drinks": false,
    "SecurityLock": false,
    "CCTV": false,
    "VoiceRecorder": false,
    "AirConditioning": true,
    "Heating": false,
    "NaturalLight": false,
    "AllowMultipleBookings": false,
    "Allocation": null,
    "Shifts": [],
    "IsAvailable": false,
    "Message": null,
    "Price": 0,
    "DisplayOrder": 1,
    "PriceFormatted": null,
    "Id": 287977692,
    "IdString": "287977692",
    "UpdatedOn": "2017-02-08T05:15:07",
    "CreatedOn": "2017-01-27T15:30:07",
    "UniqueId": "e9180734-9a34-4429-9346-47af763532c3",
    "IsNull": false
  }
}

GET /en/publicresources/getImage

Gets the image of a resource

GET /en/publicresources/getImage?id={int}&h={int}&w={int}
Parameters: 

id: the Id of the Resource to show the image for
h: the requested height of the image.
w: the requested width of the image.
mode: the cropping mode to use when resizing the image (none, max, pag, crop (default), carge, stretch)
anchor: the alignment to use when cropping the image (TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter (default), MiddleRight, BottomLeft, BottomCenter, BottomRight)


Source: XML ! RSS