GET v1/occupation/occupation?space_id={space_id}&momentDate={momentDate}
Get space ocupation for specific moment, defined on parameter moment_date
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| space_id |
space id |
integer |
Required |
| momentDate |
date occupation |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
Dictionary of CountingType [key] and integer [value]Response Formats
application/json, text/json
Sample:
{
"Person": 1
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfCountingTypelongJUYo7eRB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfCountingTypelongJUYo7eRB>
<Key>Person</Key>
<Value>1</Value>
</KeyValueOfCountingTypelongJUYo7eRB>
</ArrayOfKeyValueOfCountingTypelongJUYo7eRB>