Show Sales Channel Requests
const url = 'https://api.wink.travel/api/managing-entity/hotel-1/extranet/sales-channel/request/list';const options = {method: 'GET', headers: {'Wink-Version': '2.0'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/managing-entity/hotel-1/extranet/sales-channel/request/list \ --header 'Wink-Version: 2.0'Retrieve list of all sales channels for this property. You can decide to retrieve all specific sales channel relationships or only generic ones using the ‘owner’ request parameter.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Show all sales channel requests for this property identifier
Example
hotel-1Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Status of relationship request
Type of relationship request
Request goes to this supplier identifier.
Request goes to this supplier name.
What type of segment of channel is this.
Specific identifier for the company / corporation / travel agency that is retrieving the rates
Name of the owner / affiliate.
Owner / affiliate writes an intro to request a connection.
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "status": "REQUESTING", "requestType": "DIRECT_CONNECTION", "supplierIdentifier": "", "supplierName": "", "subType": "TRIP_PAY", "ownerIdentifier": "", "ownerName": "", "introductoryMessage": "" }]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}