Estimate Router - adamstelle/abba GitHub Wiki
GET /api/residence/:residenceID/bedroom/:bedroomID/estimate/:estimateID
This route retrieves the estimate for a bedroom.
Expected Headers:
{
"x-powered-by": "Express",
"content-type": "application/json; charset=utf-8",
"content-length": "166",
"etag": "W/'a6-h6bDoB4vGF0OKvQrXlDHBQ'",
"date": "Thu, 13 Oct 2016 21:44:10 GMT",
"connection": "close"
}
Expected Body:
{
"_id": "57fffecfa6e0b498c11f9881",
"nightlyEst": 50,
"monthlyEst": 500,
"occupancyRate": 0.5,
"bedID": "57fffecfa6e0b498c11f9880",
"userID": "57fffecfa6e0b498c11f987d",
"__v": 0
}