Перейти к основному содержимому

GetPropertyOffersResponse

GetPropertyOffersResponse - response with property offers

offers object[]

offers - Array of offers for the property

  • Array [
  • idstring

    Identifiers

    roomIdstring
    instantBookingboolean

    Main parameters

    labels object[]

    Labels

  • Array [
  • typestring
    titlestring
    price object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • details object

    LabelDetails - Label details

    nightsinteger<int32>
    mbBeforeHoursinteger<int32>
  • ]
  • prices object

    Links to objects

    priceTotal object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • priceBeforeDiscounts object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • bonus object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • meal object[]
  • Array [
  • codestring
    externalCodestring
    titlestring
    descriptionstring
    mealType object

    MealType - Meal type information

    codestring
    externalCodestring
    titlestring
    descriptionstring
  • ]
  • cancellationPolicies object[]
  • Array [
  • typestring
    dateBeginstring<date-time>
    dateEndstring<date-time>
    price object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • ]
  • noShowPolicy object

    NoShowPolicy - No-show policy

    price object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • dateBeginstring
    prePaymentPolicy object

    PrePaymentPolicy - Prepayment policy

    requiredboolean
    effectiveFromstring
    percentinteger<int32>
    deadlinestring<date-time>
    price object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • cashback object

    Cashback - Cashback information

    titlestring
    valuenumber<double>
    surcharges object[]
  • Array [
  • namestring
    includedboolean
    price object

    Price - Array of prices

    prices object[]
  • Array [
  • amountnumber<double>
    currencyIdstring
    typestring
  • ]
  • details object

    SurchargesDetails - Surcharges details

    guestsinteger<int32>
  • ]
  • freeCancellationBeforestring<date-time>
    isNonRefundableboolean
  • ]
  • GetPropertyOffersResponse
    {
    "offers": [
    {
    "id": "string",
    "roomId": "string",
    "instantBooking": true,
    "labels": [
    {
    "type": "string",
    "title": "string",
    "price": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    },
    "details": {
    "nights": 0,
    "mbBeforeHours": 0
    }
    }
    ],
    "prices": {
    "priceTotal": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    },
    "priceBeforeDiscounts": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    },
    "bonus": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    }
    },
    "meal": [
    {
    "code": "string",
    "externalCode": "string",
    "title": "string",
    "description": "string",
    "mealType": {
    "code": "string",
    "externalCode": "string",
    "title": "string",
    "description": "string"
    }
    }
    ],
    "cancellationPolicies": [
    {
    "type": "string",
    "dateBegin": "2024-07-29T15:51:28.071Z",
    "dateEnd": "2024-07-29T15:51:28.071Z",
    "price": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    }
    }
    ],
    "noShowPolicy": {
    "price": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    },
    "dateBegin": "string"
    },
    "prePaymentPolicy": {
    "required": true,
    "effectiveFrom": "string",
    "percent": 0,
    "deadline": "2024-07-29T15:51:28.071Z",
    "price": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    }
    },
    "cashback": {
    "title": "string",
    "value": 0
    },
    "surcharges": [
    {
    "name": "string",
    "included": true,
    "price": {
    "prices": [
    {
    "amount": 0,
    "currencyId": "string",
    "type": "string"
    }
    ]
    },
    "details": {
    "guests": 0
    }
    }
    ],
    "freeCancellationBefore": "2024-07-29T15:51:28.071Z",
    "isNonRefundable": true
    }
    ]
    }