Skip to content

Suggest Property Welcome Text

POST
/api/managing-entity/{managingEntityIdentifier}/extranet/property/welcome-text/suggest
curl --request POST \
--url https://api.wink.travel/api/managing-entity/hotel-1/extranet/property/welcome-text/suggest \
--header 'Content-Type: application/json' \
--header 'Wink-Version: 2.0' \
--data '{ "language": "" }'

Let AI suggest property descriptions.

managingEntityIdentifier
required
string
""

Suggest for this property identifier

Example
hotel-1
Wink-Version
string
default: 2.0.0
Allowed values: 2.0
Media type application/json
object
language
required

Language to use

string
"" >= 1 characters
Example
en

OK

Media type application/json
object
name
required

Use as title or short text description

string
""
description
required

Longer text description

string
"" >= 1 characters <= 2147483647 characters
language
required

Indicate which language this description is written in.

string
default: en >= 2 characters <= 2 characters
creator

Whether it was user or system generated.

string
default: USER
Allowed values: SYSTEM USER
md5ContentHash

The md5 hash of the name, description and language.

string
""
hashMismatch
boolean
Example
{
"name": "",
"description": "",
"language": "en",
"creator": "SYSTEM",
"md5ContentHash": ""
}

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