GET/rateshop/{rateshopid}

Get Rateshop

This API endpoint takes the rateshop ID as an input parameter and returns the configuration details associated with that rateshop ID.
GET/rateshop/{rateshopid}

Parameter Details

NameInTypeRequiredDescription
rateshopidpathinteger(int32)Requirednone

Responses

StatusMeaningDescriptionSchema
200OKSuccessschemarateshopinfo
400Bad RequestBad Request
401UnauthorizedAuthentication Failed or Account validity expired
500Internal Server ErrorInternal server error

Example Request

# You can also use wget
curl -X GET /rateshop/{rateshopid} \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Example responses

200 Response
{
  "rateshopid": 0,
  "rateshopname": "string",
  "los": 0,
  "occupancy": 0,
  "currency": "string",
  "currencies": ["string"],
  "fetchtype": 0,
  "horizon": 0,
  "hotelcodes": [0],
  "compsets": [
    {
      "hotelcode": 0,
      "competitorhotelcodes": [0]
    }
  ],
  "sources": [0],
  "horizonexpression": "string",
  "pos": 0
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.