GET RRPPrices by context, contextId

Overview

Retrieve departure prices current and future

Request

GET /[context]/[contextId]/RRPPrices

Request Information

Request Parameters

Name
Type
Requirement
Description
context
String
Mandatory
Departure
contextId
Integer
Mandatory
Departure Id

Response Information

Response Properties

Name
Type
Description
prices
List<RRPPricing>
RRP Pricing future and current
exclusions
List<RRPElementExclusion>
RRP Element Exclusion
kitty
RRPKitty
Kitty Price
lastUpdatedDateTime
String
Last Updated Date Time

Kitty

Name
Type
Description
kittyCurrencyId
Integer
Kitty Currency Id
kittyCurrencyCode
String
Kitty Currency Code
kittyCurrencySymbol
String
Kitty Currency Symbol
kittyAmount
Decimal
Kitty Amount

Prices

Name
Type
Description
single
List<RRPPrice>
RRP Price Single
twin
List<RRPPrice>
RRP Price Twin
multi
List<RRPPrice>
RRP Price Multi
typeCode
String
Type Code

Single

Name
Type
Description
basePrice
Decimal
Base Price
totalPrice
Decimal
Total Price
discountedBasePrice
Decimal
Discounted Base Price
discountedTotalPrice
Decimal
Discounted Total Price
childBasePrice
Decimal
Child Base Price
childTotalPrice
Decimal
Child Total Price
childDiscountedBasePrice
Decimal
Child Discounted Base Price
childDiscountedTotalPrice
Decimal
Child Discounted Total Price
currencyId
Integer
Currency Id
currencyCode
String
Currency Code
validFrom
DateTime
ValidFrom
validTo
DateTime
Valid To
isHighlightDeal
Boolean
Is Highlight Deal

Twin

Name
Type
Description
basePrice
Decimal
Base Price
totalPrice
Decimal
Total Price
discountedBasePrice
Decimal
Discounted Base Price
discountedTotalPrice
Decimal
Discounted Total Price
childBasePrice
Decimal
Child Base Price
childTotalPrice
Decimal
Child Total Price
childDiscountedBasePrice
Decimal
Child Discounted Base Price
childDiscountedTotalPrice
Decimal
Child Discounted Total Price
currencyId
Integer
Currency Id
currencyCode
String
Currency Code
validFrom
DateTime
ValidFrom
validTo
DateTime
Valid To
isHighlightDeal
Boolean
Is Highlight Deal

Multi

Name
Type
Description
basePrice
Decimal
Base Price
totalPrice
Decimal
Total Price
discountedBasePrice
Decimal
Discounted Base Price
discountedTotalPrice
Decimal
Discounted Total Price
childBasePrice
Decimal
Child Base Price
childTotalPrice
Decimal
Child Total Price
childDiscountedBasePrice
Decimal
Child Discounted Base Price
childDiscountedTotalPrice
Decimal
Child Discounted Total Price
currencyId
Integer
Currency Id
currencyCode
String
Currency Code
validFrom
DateTime
ValidFrom
validTo
DateTime
Valid To
isHighlightDeal
Boolean
Is Highlight Deal

Exclusions

Name
Type
Description
elementTitle
String
Element Title
currencyId
Integer
Currency Id
currencyCode
String
Currency Code
currencySymbol
String
Currency Symbol
amount
Decimal
Amount

Response Codes

HTTP status code
Description
200 OK
The resource was retrieved successfully
400 Bad Request
The resource was malformed
401 Unauthorized
Missing or invalid API key
404 Not Found
The specified resource was not found
500 Internal Server Error
An unexpected error occurred on the API server

Response Example

{
  "prices": [
    {
      "single": [
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        },
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        }
      ],
      "twin": [
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        },
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        }
      ],
      "multi": [
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        },
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        }
      ],
      "typeCode": "abc"
    },
    {
      "single": [
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        },
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        }
      ],
      "twin": [
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        },
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        }
      ],
      "multi": [
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        },
        {
          "basePrice": 300.0,
          "totalPrice": 300.0,
          "discountedBasePrice": 200.0,
          "discountedTotalPrice": 200.0,
          "childBasePrice": 300.0,
          "childTotalPrice": 300.0,
          "childDiscountedBasePrice": 200.0,
          "childDiscountedTotalPrice": 200.0,
          "currencyId": 18,
          "currencyCode": "GBP",
          "validFrom": "2015-01-31",
          "validTo": "2015-01-31",
          "isHighlightDeal": true
        }
      ],
      "typeCode": "abc"
    }
  ],
  "exclusions": [
    {
      "elementTitle": "ABC",
      "currencyId": 3,
      "currencyCode": "AUD",
      "currencySymbol": "$",
      "amount": 100.0
    },
    {
      "elementTitle": "ABC",
      "currencyId": 3,
      "currencyCode": "AUD",
      "currencySymbol": "$",
      "amount": 100.0
    }
  ],
  "kitty": {
    "kittyCurrencyId": 3,
    "kittyCurrencyCode": "AUD",
    "kittyCurrencySymbol": "$",
    "kittyAmount": 50.0
  },
  "lastUpdatedDateTime": "2019-11-06T11:06:46.257"
}