GET v{version}/{lang}/upgrade?activityId={activityId}&startTimeId={startTimeId}&trackingCode={trackingCode}&currency={currency}&wp={wp}&invsys={invsys}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
activityId

string

Required

startTimeId

integer

Required

lang

string

Required

trackingCode

string

Default value is

currency

string

Default value is ISK

wp

string

Default value is GG

invsys

InventorySystem

Default value is Bokun

version

The requested API version

string

Required

Default value is 1.0

Body Parameters

None.

Response Information

Resource Description

ValueTupleOfUpsellContainerModelVMAndResult
NameDescriptionTypeAdditional information
Item1

UpsellContainerModelVM

None.

Item2

None.

Response Formats

application/json, text/json

Sample:
{
  "Item1": {
    "items": [
      {
        "id": "53b90997-8cc6-45b0-9aa3-59576606f656",
        "name": "sample string 2",
        "type": "sample string 3",
        "activityId": 4,
        "items": [
          {
            "id": "136e8c72-682d-4442-ab47-54874320a6ba",
            "type": "sample string 2",
            "imageUrl": "sample string 3",
            "title": "sample string 4",
            "subTitle": "sample string 5",
            "shortDescription": "sample string 6",
            "description": "sample string 7",
            "discount": 8.0,
            "activityId": 9,
            "traviaHotelId": 1,
            "markUp": 10,
            "mapUrl": "sample string 11",
            "priceFrom": 12,
            "availability": 13,
            "price": 14.0,
            "priceDiff": 15.0,
            "discountedPrice": 16.0,
            "availabilities": [
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              },
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              }
            ],
            "date": "2024-10-31T05:15:10.5521391+00:00",
            "alreadyUsed": true
          },
          {
            "id": "136e8c72-682d-4442-ab47-54874320a6ba",
            "type": "sample string 2",
            "imageUrl": "sample string 3",
            "title": "sample string 4",
            "subTitle": "sample string 5",
            "shortDescription": "sample string 6",
            "description": "sample string 7",
            "discount": 8.0,
            "activityId": 9,
            "traviaHotelId": 1,
            "markUp": 10,
            "mapUrl": "sample string 11",
            "priceFrom": 12,
            "availability": 13,
            "price": 14.0,
            "priceDiff": 15.0,
            "discountedPrice": 16.0,
            "availabilities": [
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              },
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              }
            ],
            "date": "2024-10-31T05:15:10.5521391+00:00",
            "alreadyUsed": true
          }
        ],
        "PriceCategoryMaps": [
          {
            "fromId": 1,
            "toIds": [
              1,
              2
            ]
          },
          {
            "fromId": 1,
            "toIds": [
              1,
              2
            ]
          }
        ]
      },
      {
        "id": "53b90997-8cc6-45b0-9aa3-59576606f656",
        "name": "sample string 2",
        "type": "sample string 3",
        "activityId": 4,
        "items": [
          {
            "id": "136e8c72-682d-4442-ab47-54874320a6ba",
            "type": "sample string 2",
            "imageUrl": "sample string 3",
            "title": "sample string 4",
            "subTitle": "sample string 5",
            "shortDescription": "sample string 6",
            "description": "sample string 7",
            "discount": 8.0,
            "activityId": 9,
            "traviaHotelId": 1,
            "markUp": 10,
            "mapUrl": "sample string 11",
            "priceFrom": 12,
            "availability": 13,
            "price": 14.0,
            "priceDiff": 15.0,
            "discountedPrice": 16.0,
            "availabilities": [
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              },
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              }
            ],
            "date": "2024-10-31T05:15:10.5521391+00:00",
            "alreadyUsed": true
          },
          {
            "id": "136e8c72-682d-4442-ab47-54874320a6ba",
            "type": "sample string 2",
            "imageUrl": "sample string 3",
            "title": "sample string 4",
            "subTitle": "sample string 5",
            "shortDescription": "sample string 6",
            "description": "sample string 7",
            "discount": 8.0,
            "activityId": 9,
            "traviaHotelId": 1,
            "markUp": 10,
            "mapUrl": "sample string 11",
            "priceFrom": 12,
            "availability": 13,
            "price": 14.0,
            "priceDiff": 15.0,
            "discountedPrice": 16.0,
            "availabilities": [
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              },
              {
                "id": 1,
                "availability": 2,
                "startTime": "sample string 3",
                "price": 4.0,
                "discountedPrice": 5.0,
                "priceDiff": 6.0
              }
            ],
            "date": "2024-10-31T05:15:10.5521391+00:00",
            "alreadyUsed": true
          }
        ],
        "PriceCategoryMaps": [
          {
            "fromId": 1,
            "toIds": [
              1,
              2
            ]
          },
          {
            "fromId": 1,
            "toIds": [
              1,
              2
            ]
          }
        ]
      }
    ]
  },
  "Item2": {
    "Status": 0,
    "Message": "sample string 1"
  }
}

application/xml, text/xml

Sample:
<ValueTupleOfUpsellContainerModelVMResultMu0TigvK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models">
    <d2p1:items>
      <d2p1:UpsellContainerWidgetVM>
        <d2p1:PriceCategoryMaps>
          <d2p1:UpsellIdMapVM>
            <d2p1:fromId>1</d2p1:fromId>
            <d2p1:toIds xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:long>1</d7p1:long>
              <d7p1:long>2</d7p1:long>
            </d2p1:toIds>
          </d2p1:UpsellIdMapVM>
          <d2p1:UpsellIdMapVM>
            <d2p1:fromId>1</d2p1:fromId>
            <d2p1:toIds xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:long>1</d7p1:long>
              <d7p1:long>2</d7p1:long>
            </d2p1:toIds>
          </d2p1:UpsellIdMapVM>
        </d2p1:PriceCategoryMaps>
        <d2p1:activityId>4</d2p1:activityId>
        <d2p1:id>53b90997-8cc6-45b0-9aa3-59576606f656</d2p1:id>
        <d2p1:items>
          <d2p1:UpsellItemWidgetVM>
            <d2p1:activityId>9</d2p1:activityId>
            <d2p1:alreadyUsed>true</d2p1:alreadyUsed>
            <d2p1:availabilities>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
            </d2p1:availabilities>
            <d2p1:availability>13</d2p1:availability>
            <d2p1:date>2024-10-31T05:15:10.5521391+00:00</d2p1:date>
            <d2p1:description>sample string 7</d2p1:description>
            <d2p1:discount>8</d2p1:discount>
            <d2p1:discountedPrice>16</d2p1:discountedPrice>
            <d2p1:id>136e8c72-682d-4442-ab47-54874320a6ba</d2p1:id>
            <d2p1:imageUrl>sample string 3</d2p1:imageUrl>
            <d2p1:mapUrl>sample string 11</d2p1:mapUrl>
            <d2p1:markUp>10</d2p1:markUp>
            <d2p1:price>14</d2p1:price>
            <d2p1:priceDiff>15</d2p1:priceDiff>
            <d2p1:priceFrom>12</d2p1:priceFrom>
            <d2p1:shortDescription>sample string 6</d2p1:shortDescription>
            <d2p1:subTitle>sample string 5</d2p1:subTitle>
            <d2p1:title>sample string 4</d2p1:title>
            <d2p1:traviaHotelId>1</d2p1:traviaHotelId>
            <d2p1:type>sample string 2</d2p1:type>
          </d2p1:UpsellItemWidgetVM>
          <d2p1:UpsellItemWidgetVM>
            <d2p1:activityId>9</d2p1:activityId>
            <d2p1:alreadyUsed>true</d2p1:alreadyUsed>
            <d2p1:availabilities>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
            </d2p1:availabilities>
            <d2p1:availability>13</d2p1:availability>
            <d2p1:date>2024-10-31T05:15:10.5521391+00:00</d2p1:date>
            <d2p1:description>sample string 7</d2p1:description>
            <d2p1:discount>8</d2p1:discount>
            <d2p1:discountedPrice>16</d2p1:discountedPrice>
            <d2p1:id>136e8c72-682d-4442-ab47-54874320a6ba</d2p1:id>
            <d2p1:imageUrl>sample string 3</d2p1:imageUrl>
            <d2p1:mapUrl>sample string 11</d2p1:mapUrl>
            <d2p1:markUp>10</d2p1:markUp>
            <d2p1:price>14</d2p1:price>
            <d2p1:priceDiff>15</d2p1:priceDiff>
            <d2p1:priceFrom>12</d2p1:priceFrom>
            <d2p1:shortDescription>sample string 6</d2p1:shortDescription>
            <d2p1:subTitle>sample string 5</d2p1:subTitle>
            <d2p1:title>sample string 4</d2p1:title>
            <d2p1:traviaHotelId>1</d2p1:traviaHotelId>
            <d2p1:type>sample string 2</d2p1:type>
          </d2p1:UpsellItemWidgetVM>
        </d2p1:items>
        <d2p1:name>sample string 2</d2p1:name>
        <d2p1:type>sample string 3</d2p1:type>
      </d2p1:UpsellContainerWidgetVM>
      <d2p1:UpsellContainerWidgetVM>
        <d2p1:PriceCategoryMaps>
          <d2p1:UpsellIdMapVM>
            <d2p1:fromId>1</d2p1:fromId>
            <d2p1:toIds xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:long>1</d7p1:long>
              <d7p1:long>2</d7p1:long>
            </d2p1:toIds>
          </d2p1:UpsellIdMapVM>
          <d2p1:UpsellIdMapVM>
            <d2p1:fromId>1</d2p1:fromId>
            <d2p1:toIds xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:long>1</d7p1:long>
              <d7p1:long>2</d7p1:long>
            </d2p1:toIds>
          </d2p1:UpsellIdMapVM>
        </d2p1:PriceCategoryMaps>
        <d2p1:activityId>4</d2p1:activityId>
        <d2p1:id>53b90997-8cc6-45b0-9aa3-59576606f656</d2p1:id>
        <d2p1:items>
          <d2p1:UpsellItemWidgetVM>
            <d2p1:activityId>9</d2p1:activityId>
            <d2p1:alreadyUsed>true</d2p1:alreadyUsed>
            <d2p1:availabilities>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
            </d2p1:availabilities>
            <d2p1:availability>13</d2p1:availability>
            <d2p1:date>2024-10-31T05:15:10.5521391+00:00</d2p1:date>
            <d2p1:description>sample string 7</d2p1:description>
            <d2p1:discount>8</d2p1:discount>
            <d2p1:discountedPrice>16</d2p1:discountedPrice>
            <d2p1:id>136e8c72-682d-4442-ab47-54874320a6ba</d2p1:id>
            <d2p1:imageUrl>sample string 3</d2p1:imageUrl>
            <d2p1:mapUrl>sample string 11</d2p1:mapUrl>
            <d2p1:markUp>10</d2p1:markUp>
            <d2p1:price>14</d2p1:price>
            <d2p1:priceDiff>15</d2p1:priceDiff>
            <d2p1:priceFrom>12</d2p1:priceFrom>
            <d2p1:shortDescription>sample string 6</d2p1:shortDescription>
            <d2p1:subTitle>sample string 5</d2p1:subTitle>
            <d2p1:title>sample string 4</d2p1:title>
            <d2p1:traviaHotelId>1</d2p1:traviaHotelId>
            <d2p1:type>sample string 2</d2p1:type>
          </d2p1:UpsellItemWidgetVM>
          <d2p1:UpsellItemWidgetVM>
            <d2p1:activityId>9</d2p1:activityId>
            <d2p1:alreadyUsed>true</d2p1:alreadyUsed>
            <d2p1:availabilities>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
              <d2p1:UpsellAvailability>
                <d2p1:availability>2</d2p1:availability>
                <d2p1:discountedPrice>5</d2p1:discountedPrice>
                <d2p1:id>1</d2p1:id>
                <d2p1:price>4</d2p1:price>
                <d2p1:priceDiff>6</d2p1:priceDiff>
                <d2p1:startTime>sample string 3</d2p1:startTime>
              </d2p1:UpsellAvailability>
            </d2p1:availabilities>
            <d2p1:availability>13</d2p1:availability>
            <d2p1:date>2024-10-31T05:15:10.5521391+00:00</d2p1:date>
            <d2p1:description>sample string 7</d2p1:description>
            <d2p1:discount>8</d2p1:discount>
            <d2p1:discountedPrice>16</d2p1:discountedPrice>
            <d2p1:id>136e8c72-682d-4442-ab47-54874320a6ba</d2p1:id>
            <d2p1:imageUrl>sample string 3</d2p1:imageUrl>
            <d2p1:mapUrl>sample string 11</d2p1:mapUrl>
            <d2p1:markUp>10</d2p1:markUp>
            <d2p1:price>14</d2p1:price>
            <d2p1:priceDiff>15</d2p1:priceDiff>
            <d2p1:priceFrom>12</d2p1:priceFrom>
            <d2p1:shortDescription>sample string 6</d2p1:shortDescription>
            <d2p1:subTitle>sample string 5</d2p1:subTitle>
            <d2p1:title>sample string 4</d2p1:title>
            <d2p1:traviaHotelId>1</d2p1:traviaHotelId>
            <d2p1:type>sample string 2</d2p1:type>
          </d2p1:UpsellItemWidgetVM>
        </d2p1:items>
        <d2p1:name>sample string 2</d2p1:name>
        <d2p1:type>sample string 3</d2p1:type>
      </d2p1:UpsellContainerWidgetVM>
    </d2p1:items>
  </Item1>
  <Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Models">
    <d2p1:Message>sample string 1</d2p1:Message>
    <d2p1:Status>NOT_FOUND</d2p1:Status>
  </Item2>
</ValueTupleOfUpsellContainerModelVMResultMu0TigvK>