GET/hoteldemandinfo/{demandId}

Get Hotel Demand Info

Generates and sends to email four json files - Absolute_Value (An absolute number of potential guests per day), Event_records (all the events in the city per day), Events_registered (Number of events taking place each day), Relative_Values(Relative value of the demand in the range 0-100)

This method takes a demandId generated by /hoteldemand as input and returns the status of the request.
GET/hoteldemandinfo/{demandId}

Parameter Details

NameInTypeRequiredDescription
demandIdpathnumberRequirednone

Responses

StatusMeaningDescriptionSchema
200OKOK
400Bad RequestBad RequestNone
401UnauthorizedUnauthorizedNone
429Too Many RequestsToo Many RequestsNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET /hoteldemandinfo/{demandId} \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
{
  "status": "completed"
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.