handleAPI_2
Deprecated
POST
/api/services/cloudbeds
const url = 'https://integrations.wink.travel/api/services/cloudbeds';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"empty":true,"array":true,"null":true,"object":true,"float":true,"number":true,"string":true,"integralNumber":true,"missingNode":true,"valueNode":true,"container":true,"pojo":true,"floatingPointNumber":true,"short":true,"int":true,"long":true,"double":true,"bigDecimal":true,"bigInteger":true,"textual":true,"boolean":true,"binary":true,"nodeType":"ARRAY","embeddedValue":true}'};
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://integrations.wink.travel/api/services/cloudbeds \ --header 'Content-Type: application/json' \ --data '{ "empty": true, "array": true, "null": true, "object": true, "float": true, "number": true, "string": true, "integralNumber": true, "missingNode": true, "valueNode": true, "container": true, "pojo": true, "floatingPointNumber": true, "short": true, "int": true, "long": true, "double": true, "bigDecimal": true, "bigInteger": true, "textual": true, "boolean": true, "binary": true, "nodeType": "ARRAY", "embeddedValue": true }'Request Body required
Section titled “Request Body required ” Media type application/json
object
empty
boolean
array
boolean
null
boolean
object
boolean
float
boolean
number
boolean
string
boolean
integralNumber
boolean
missingNode
boolean
valueNode
boolean
container
boolean
pojo
boolean
floatingPointNumber
boolean
short
boolean
int
boolean
long
boolean
double
boolean
bigDecimal
boolean
bigInteger
boolean
textual
boolean
boolean
boolean
binary
boolean
nodeType
string
embeddedValue
boolean
Responses
Section titled “ Responses ”OK
Media type application/json
object
empty
boolean
array
boolean
null
boolean
object
boolean
float
boolean
number
boolean
string
boolean
integralNumber
boolean
missingNode
boolean
valueNode
boolean
container
boolean
pojo
boolean
floatingPointNumber
boolean
short
boolean
int
boolean
long
boolean
double
boolean
bigDecimal
boolean
bigInteger
boolean
textual
boolean
boolean
boolean
binary
boolean
nodeType
string
embeddedValue
boolean
Example
{ "nodeType": "ARRAY"}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
{}