POST/hotelmaprequest

Create Hotel Map Request

This method enables users to add a new hotel to the ReviewsAPI database if it is not already listed. Users can provide details such as the hotel name, address, geographic coordinates, and optionally include reference URLs or preferred website codes to assist with mapping. A unique requestid is automatically generated for each mapping request.
POST/hotelmaprequest

Mandatory Fields

  • hotelName
  • address
  • city
  • state
  • country
  • zip

Optional Fields

  • body

Parameter Details

NameInTypeRequiredDescription
bodybodynewmapreqOptionalnone

Responses

StatusMeaningDescriptionSchema
201CreatedCreatednewmapresp
400Bad RequestBad requestNone
401UnauthorizedAuthorization FailedNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X POST /hotelmaprequest \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Body parameter

{
  "hotelName": "",
  "address": "",
  "city": "",
  "state": "",
  "country": "",
  "zip": "",
  "latitude": 0,
  "longitude": 0,
  "url": [
    "string"
  ],
  "websiteCodes": [
    0
  ]
}

Example responses

{
  "requestId": 0,
  "referenceHotelCodes": [
    0
  ],
  "statusCode": 1,
  "statusMsg": "string",
  "approximateTime": "2025-05-06",
  "createdDate": "2024-04-30T08:10:49.835Z"
}

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.