handleARIUpdate
POST
/api/services/cloudbeds/ARIUpdate
const url = 'https://integrations.wink.travel/api/services/cloudbeds/ARIUpdate';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"verb":"example","guid":"example","currency":"example","ota_property_id":"example","mya_property_id":"example","shared_secret":"example","Inventory":[{"statusApplicationControl":{"start":"example","end":"example","invTypeCode":"example","ratePlanCode":"example"},"invCounts":{"invCount":{"count":1,"countType":"example"}}}]}'};
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/ARIUpdate \ --header 'Content-Type: application/json' \ --data '{ "verb": "example", "guid": "example", "currency": "example", "ota_property_id": "example", "mya_property_id": "example", "shared_secret": "example", "Inventory": [ { "statusApplicationControl": { "start": "example", "end": "example", "invTypeCode": "example", "ratePlanCode": "example" }, "invCounts": { "invCount": { "count": 1, "countType": "example" } } } ] }'Request Body required
Section titled “Request Body required ” Media type application/json
object
verb
string
guid
string
currency
string
ota_property_id
string
mya_property_id
string
shared_secret
string
Inventory
Array<object>
object
statusApplicationControl
object
start
string
end
string
invTypeCode
string
ratePlanCode
string
invCounts
object
invCount
object
count
integer format: int32
countType
string
Example generated
{ "verb": "example", "guid": "example", "currency": "example", "ota_property_id": "example", "mya_property_id": "example", "shared_secret": "example", "Inventory": [ { "statusApplicationControl": { "start": "example", "end": "example", "invTypeCode": "example", "ratePlanCode": "example" }, "invCounts": { "invCount": { "count": 1, "countType": "example" } } } ]}Responses
Section titled “ Responses ”OK
Media type application/json
object
success
boolean
guid
string
errors
Array<object>
object
id
string
type
string
msg
string
Example generated
{ "success": true, "guid": "example", "errors": [ { "id": "example", "type": "example", "msg": "example" } ]}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
{}