List pending
const url = 'https://api.wink.travel/api/managing-entity/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/extranet/sales-channel/request/list';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
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/e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18/extranet/sales-channel/request/list \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Returns the inbound relationship requests awaiting this supplier property’s decision (those in the REQUESTING state).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Show all sales channel requests for this property identifier
Example
e2c7b4d3-1a8f-4e9c-b5d6-3a9f0e7c2b18Header 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 the relationship request
Type of relationship request
Supplier identifier receiving this relationship request
Name of the property/supplier receiving the request
Type of entity initiating the relationship request
Unique identifier of the owner/affiliate initiating the request
Name of the owner/affiliate initiating the request
Message from requester explaining the purpose and benefits of the proposed relationship
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
{}