GET api/belegungen/kapazitaet/{beginn}/{ende}
Liefert tageweise die Zimmerkapazitäten innerhalb eines bestimmten Zeitraums (max. 90 Tage)
Aufruf
URL Parameter
Name | Beschreibung | Typ | Weitere Informationen |
---|---|---|---|
beginn |
Anfangsdatum |
date |
Required |
ende |
Enddatum |
date |
Required |
Parameter
Keine.
Statuscodes
- OK (200)
- BadRequest (400)
Antwort
Beschreibung
Liste von KeyValuePair(DateTime,int)
Auflistung von KeyValuePairName | Beschreibung | Typ | Weitere Informationen |
---|---|---|---|
Key |
Schlüssel |
string |
Required |
Value |
Wert |
string |
Required |
Antwortformat
application/json, text/json
Beispiel:
[ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ]