Improve Guest Room
PUT
/api/managing-entity/{managingEntityIdentifier}/extranet/facility/room-type/{roomTypeIdentifier}/improve
const url = 'https://api.wink.travel/api/managing-entity/hotel-1/extranet/facility/room-type/guest-room-1/improve';const options = { method: 'PUT', headers: {'Wink-Version': '2.0', 'Content-Type': 'application/json'}, body: '{"title":"","description":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.wink.travel/api/managing-entity/hotel-1/extranet/facility/room-type/guest-room-1/improve \ --header 'Content-Type: application/json' \ --header 'Wink-Version: 2.0' \ --data '{ "title": "", "description": "" }'Tries to improve upon descriptive text and more in the future.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” managingEntityIdentifier
required
string
Improve room type owned by this property identifier
Example
hotel-1 roomTypeIdentifier
required
string
Improve room type with this identifier
Example
guest-room-1Header Parameters
Section titled “Header Parameters ” Wink-Version
string
Request Body required
Section titled “Request Body required ” Media type application/json
object
title
Descriptive title
string
description
Descriptive text
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
title
required
Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Supported OTA specification SEG code. See OTA geoname data
string
description
Floor an which a room is located
string
Example
{ "title": "", "description": ""}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
{}