Suggest Property Welcome Text
POST
/api/managing-entity/{managingEntityIdentifier}/extranet/property/welcome-text/suggest
const url = 'https://api.wink.travel/api/managing-entity/hotel-1/extranet/property/welcome-text/suggest';const options = { method: 'POST', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"language":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” managingEntityIdentifier
required
string
Suggest for this property identifier
Example
hotel-1Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
language
required
Language to use
string
Example
enResponses
Section titled “ Responses ”OK
Media type application/json
object
name
required
Use as title or short text description
string
description
required
Longer text description
string
language
required
Indicate which language this description is written in.
string
creator
Whether it was user or system generated.
string
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" }}object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
properties
object
key
additional properties
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
{}