Skip to content

Test endpoint

GET
/api/services/channex/test_connection/
curl --request GET \
--url 'https://integrations.wink.travel/api/services/channex/test_connection/?hotel_code=%23%23default' \
--header 'api-key: ##default'

Used by Channex to test the connection.

api-key
required
string
default: ##default

Authenticate the connection

hotel_code
required
string
default: ##default

Test for the existence of a property with this ID

OK

Media type application/json
object
success

Whether call to endpoint was successful or not.

boolean
message

A message indicating more textual information. Mostly used to convey an error message.

string
default: ##default
Example
{
"success": false,
"message": "##default"
}

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