POST
/sourcemaprequestCreate Source Map Request
Implementation Notes
This method enables users to request the mapping of a hotel to a source that it is not currently configured with. To initiate the request, users must provide the hotel code and source code. A unique request ID will be automatically generated for each mapping request.POST
/sourcemaprequestParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
body | body | Optional | none | |
» hotelcode | body | integer | Optional | none |
» sources | body | [integer] | Optional | none |
» urls | body | [string] | Optional | none |
» channeltype | body | [string] | Optional | none |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | None |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Authentication Failed or Account validity expired | None |
| 500 | Internal Server Error | Internal server error | None |
Example Request
# You can also use wget
curl -X POST /sourcemaprequest \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Body Parameter
{
"hotelcode": 85577,
"sources": [
83
],
"urls": [
"https://www.hilton.com/en/hotels/laslkhf-hilton-lake-las-vegas-resort-and-spa/"
],
"channeltype": [
"Direct"
]
}
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.