Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourGreen
titleget
https://ws.icnea.net/analytics/listings/{listing_id}/channels/

Use this endpoint to retrieve the list of the main OTAs connected to a specific listing.

...

PATH PARAMS

listing_id string required

Listing ID.

QUERY PARAMS
date_from string

usr string required

API_key for your company, provided by Icnea.

date_to string

...

RESPONSES

Status
colourGreen
title200

Code Block
languagejson
{
  "analytics_listing_channels_response": {   
    "listing_id": 12341001,    
    "booking.com": {      
"connected": "yes",       "comission": 0.00,
      "delta": 0.00,
      "delta_type": "%"
    },
    "airbnb": {
      "connected":
"yes",       "comission": 0.00,
      "delta": 0.00,
      "delta_type": "%"
    },
    "holidu": {
      "connected": "yes",
      "comission": 0.00,
      "delta": 0.00,
      "delta_type": "%"
    },
    "vrbo": {
      "connected": "yes",
      "comission": 0.00,
      "delta": 0.00,
      "delta_type": "%"
    }}
}

Parameter

Type

Description

listing_id

integer

booking.com

object

airbnb

object

booking.com, airbnb, holidu, vrbo

Parameter

Type

Description

comission

decimal

delta

decimal

delta_type

string

Status
colourRed
title400

Code Block
languagejson
{  
  "analytics_listing_channels_response": {
    "error_code": "",
    "error_message": ""
  }
}
Parameter

Field

Type

Description

error_code

string

Icnea internal error_id to help with debugging.

error_message

string

Human readable description of error.