Skip to content

Create Supplier Request

POST
/api/managing-entity/{managingEntityIdentifier}/studio/sales-channel/request
curl --request POST \
--url https://api.wink.travel/api/managing-entity/company-1/studio/sales-channel/request \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data null

Create a new property request.

managingEntityIdentifier
required
string
""

Create property request and associate it with this company identifier

Example
company-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0
Media type application/json

A request for relationship between two parties.

object
requestType
required

Type of relationship request

string
""
Allowed values: DIRECT_CONNECTION
supplierIdentifier
required

Specific identifier for the company / corporation / travel agency that is retrieving the rates

string format: uuid
"" >= 1 characters
Example
owner-1
introductoryMessage
required

Owner / affiliate writes an intro to request a connection.

string
"" >= 1 characters
Example
Hi there! Please give me a discount.

Created

Media type application/json
object
id

Document UUID

string
""
createdDate

Datetime this record was first created

string format: date-time
""
lastUpdate

Datetime this record was last updated

string format: date-time
""
version

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.

integer format: int64
""
status
required

Status of relationship request

string
""
Allowed values: REQUESTING REJECTED
requestType
required

Type of relationship request

string
""
Allowed values: DIRECT_CONNECTION
supplierIdentifier
required

Request goes to this supplier identifier.

string format: uuid
"" >= 1 characters
supplierName
required

Request goes to this supplier name.

string
"" >= 1 characters
subType
required

What type of segment of channel is this.

string
""
Allowed values: TRIP_PAY FACILITATOR DIRECT APPLICATION HOTEL TRAVELIKO CORPORATE TRAVEL_AGENT INFLUENCER BLOGGER DESTINATION CHANNEL_MANAGER PROPERTY_MANAGEMENT_SYSTEM CENTRAL_RESERVATION_SYSTEM GOOGLE_HOTEL_API MANAGEMENT_COMPANY CHAIN BRAND EVENT_ORGANIZER OTHER
ownerIdentifier
required

Specific identifier for the company / corporation / travel agency that is retrieving the rates

string format: uuid
"" >= 1 characters
ownerName
required

Name of the owner / affiliate.

string
"" >= 1 characters
introductoryMessage
required

Owner / affiliate writes an intro to request a connection.

string
"" >= 1 characters
Example
{
"id": "",
"createdDate": "",
"lastUpdate": "",
"version": "",
"status": "REQUESTING",
"requestType": "DIRECT_CONNECTION",
"supplierIdentifier": "",
"supplierName": "",
"subType": "TRIP_PAY",
"ownerIdentifier": "",
"ownerName": "",
"introductoryMessage": ""
}

Bad Request

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com",
"properties": {
"additionalProperty": "example"
}
}

Unauthorized

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Forbidden

Media type */*
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties

Internal Server Error

object
Example generated
{}