Skip to content

Show Affiliate

GET
/api/managing-entity/{managingEntityIdentifier}/extranet/sales/affiliate/{affiliateManagingEntityIdentifier}
curl --request GET \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/sales/affiliate/hotel-1 \
--header 'Wink-Version: 2.0'

Retrieve affiliate information specified by identifier

managingEntityIdentifier
required
string
""

Display affiliate to this specified property

Example
hotel-1
affiliateManagingEntityIdentifier
required
string
""

Display affiliate by specified company

Example
hotel-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0

OK

Media type application/json
object
managingEntity
object
identifier
required
string
city
required
object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
country
required
object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
continent
required
object
value
required

The value that should be persisted.

string
"" >= 1 characters
label
required

English readable text of the value.

string
"" >= 1 characters
name
required
string
>= 1 characters
ownerName
required
string
>= 1 characters
urlName
required
string
>= 1 characters
uniqueId
required
string
>= 1 characters
description
string
type
required
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
status
required
string
Allowed values: PENDING_APPROVAL ACTIVE INACTIVE UNDER_REVIEW SUSPENDED REJECTED REMOVED
createdDate
required
string format: date-time
lastUpdate
required
string format: date-time
travelAgent
required
object
selfAcquires
required

Whether the agent is in charge of charging the property.

boolean
selfDisburses
required

Whether the agent is in charge of paying the property.

boolean
ownerImageId
required

The company image ID

string
""
onlinePresence
Array<object>

Online presence of entity.

object
type
required

List of all active accounts that could be used for selling or seeing a company’s reach.

string
""
Allowed values: WINK WEB_SITE PERSONAL_WEB_SITE CORPORATE_WEB_SITE FACEBOOK INSTAGRAM TWITTER_X LINKEDIN TIKTOK SNAPCHAT MASTODON THREADS HIVE_SOCIAL MEWE ELLO WHATSAPP TELEGRAM SIGNAL WECHAT LINE KAKAOTALK VIBER DISCORD SKYPE FACEBOOK_MESSENGER YOUTUBE TWITCH BILIBILI VIMEO DAILYMOTION KICK UPLIVE PINTEREST BEREAL VSCO IMGUR FLICKR FIVE_HUNDRED_PX REDDIT QUORA TUMBLR PLURK MEDIUM BLUESKY MINDS STEEMIT DIASPORA WHISPER YIK_YAK TELLONYM GOOGLE GITHUB SPOTIFY UPWORK SHOPIFY AMAZON PERSONAL_EMAIL WORK_EMAIL ONLY_FANS FANSLY
identifier
required

The url, account name or phone number that identifies this user with the specified network.

string
"" >= 1 characters
audiences

The type of audience you have on this network.

Array<string>
""
Allowed values: EVERYONE ADVENTURE BEACH BUSINESS CULTURAL_EXPERIENCE EDUCATION FAMILY FOOD_AND_CULINARY HIKING HISTORICAL_SITES HONEYMOON LUXURY MEDICAL_TOURISM MUSIC_AND_FESTIVALS NATURE_AND_WILDLIFE PHOTOGRAPHY PILGRIMAGE RELAXATION ROAD_TRIP ROMANCE SHOPPING SKIING SOLO_TRAVEL SPORTS_EVENTS VOLUNTEERING WELLNESS_AND_SPA CITY WILDLIFE
audienceSize

The size of your audience.

integer format: int64
""
sort

How you would like to order your accounts.

integer format: int32
""
disabled

Whether to disable this entry temporarily.

boolean
annualTravelSpendInDollars

How much user or company spends on travel per year.

object
amount
required
number
currency
required
string
>= 1 characters
total
object
type
string
Allowed values: BY_TOTAL BY_COUNTRY BY_PROPERTY
typeName
string
typeIdentifier
string
bookings
integer format: int64
totalPriceAmount
number format: double
averageBookingAmount
number format: double
currencyCode
string
byPropertyList
Array<object>
object
type
string
Allowed values: BY_TOTAL BY_COUNTRY BY_PROPERTY
typeName
string
typeIdentifier
string
bookings
integer format: int64
totalPriceAmount
number format: double
averageBookingAmount
number format: double
currencyCode
string
byCountryList
Array<object>
object
type
string
Allowed values: BY_TOTAL BY_COUNTRY BY_PROPERTY
typeName
string
typeIdentifier
string
bookings
integer format: int64
totalPriceAmount
number format: double
averageBookingAmount
number format: double
currencyCode
string
Example
{
"managingEntity": {
"city": {
"value": "",
"label": ""
},
"country": {
"value": "",
"label": ""
},
"continent": {
"value": "",
"label": ""
},
"type": "TRIP_PAY",
"status": "PENDING_APPROVAL",
"travelAgent": {
"selfAcquires": false,
"selfDisburses": false
},
"ownerImageId": "",
"onlinePresence": [
""
],
"annualTravelSpendInDollars": ""
},
"total": {
"type": "BY_TOTAL"
},
"byPropertyList": [
{
"type": "BY_TOTAL"
}
],
"byCountryList": [
{
"type": "BY_TOTAL"
}
]
}

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
{}