GET/sourcemaprequest/{requestId}

Get Source Map Request

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

Parameter Details

NameInTypeRequiredDescription
requestIdpathinteger(int32)Requirednone

Responses

StatusMeaningDescriptionSchema
200OKSuccesssourcemapresp
400Bad RequestBad RequestNone
401UnauthorizedAuthorization FailedNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X GET /sourcemaprequest/{requestId} \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Example responses

200 Response
{
  "requestId": 0,
  "hotelCode": 0,
  "sourceCodes": [
    0
  ],
  "urls": [
    "string"
  ],
  "status": 1,
  "approximateTime": 0,
  "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.