GET/maprequeststatus/{requestid}

Get Map Request Status

This endpoint returns the status of a hotel map request. It requires the requestid as an input parameter to retrieve the current status.
GET/maprequeststatus/{requestid}

Status Codes

  • 1 - Queued
  • 2 - Work in progress
  • 3 - Completed
  • 4 - Hotel exists
  • 5 - Feasibility failed
  • 6 - Source unavailable

Parameter Details

NameInTypeRequiredDescription
requestidpathinteger(int32)Requirednone

Responses

StatusMeaningDescriptionSchema
200OKSuccess
400Bad RequestBad RequestNone
401UnauthorizedAuthentication Failed or Account validity expiredNone
500Internal Server ErrorInternal server errorNone

Example Request

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

Example responses

200 Response
{
  "requestid": 0,
  "referencehotelcodes": [0],
  "statuscode": 0,
  "statusmsg": "string",
  "approximatetime": "2019-08-24"
}

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.