POST api/v2/Resource/GetResourceAvailabilityAndWho?startDateUtc={startDateUtc}&endDateUtc={endDateUtc}
Return availability details for the given resources in the window specified
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| startDateUtc |
Query parameter: Start of window (UTC) |
string |
Required |
| endDateUtc |
Query parameter: End of window (UTC) |
string |
Required |
Body Parameters
POST Body: Array of resource IDs
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <int>1</int> <int>2</int> </ArrayOfint>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
object res_free = 0res_busy = 1res_max_reserve = 2 res_max_concurrent = 4res_holiday_blocked = 8 res_soft_limit_violation = 16res_hard_limit_violation = 32 res_long_term_hoteling_violation = 64res_capacity_limit_violation = 128 business_unit_restriction = 256
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |