GET/sourcemaprequest/{requestid}

Get Sourcemap

Implementation Notes

This endpoint returns the status of a source map request. It requires the requestid as an input parameter to retrieve the current status.

Status Codes:

  • 1 - Queued
  • 2 - Work in progress
  • 3 - Completed
  • 4 - Source already exists in the system and websitecode is available
  • 5 - Not Feasible
GET/sourcemaprequest/{requestid}

Parameter Details

NameInTypeRequiredDescription
requestidpathinteger(int32)Requirednone

Responses

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

Example Request

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

Example responses

200 Response
{
  "requestid": 0,
  "hotelcode": 0,
  "sources": [
    0
  ],
  "urls": [
    "string"
  ],
  "status": 0,
  "approximatetime": 0,
  "channeltype": [
    "string"
  ]
}

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.