GET v{version}/{lang}/activity/{id}/pickupPlaceGroups?currency={currency}&wp={wp}&invsys={invsys}

GetActivityPickups

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

lang

string

Required

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

WidgetActivityPlaceGroupsDto
NameDescriptionTypeAdditional information
dropoffPlaceGroups

Collection of WidgetActivityPlaceGroupDto

None.

pickupPlaceGroups

Collection of WidgetActivityPlaceGroupDto

None.

Response Formats

application/json, text/json

Sample:
{
  "dropoffPlaceGroups": [
    {
      "id": 1,
      "places": [
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        },
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        }
      ]
    },
    {
      "id": 1,
      "places": [
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        },
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        }
      ]
    }
  ],
  "pickupPlaceGroups": [
    {
      "id": 1,
      "places": [
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        },
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        }
      ]
    },
    {
      "id": 1,
      "places": [
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        },
        {
          "id": 1,
          "title": "sample string 1",
          "pickupMinutesBefore": 1
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<WidgetActivityPlaceGroupsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Widget">
  <dropoffPlaceGroups>
    <WidgetActivityPlaceGroupDto>
      <id>1</id>
      <places>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
      </places>
    </WidgetActivityPlaceGroupDto>
    <WidgetActivityPlaceGroupDto>
      <id>1</id>
      <places>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
      </places>
    </WidgetActivityPlaceGroupDto>
  </dropoffPlaceGroups>
  <pickupPlaceGroups>
    <WidgetActivityPlaceGroupDto>
      <id>1</id>
      <places>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
      </places>
    </WidgetActivityPlaceGroupDto>
    <WidgetActivityPlaceGroupDto>
      <id>1</id>
      <places>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
        <WidgetPickupPlaceDto>
          <id>1</id>
          <pickupMinutesBefore>1</pickupMinutesBefore>
          <title>sample string 1</title>
        </WidgetPickupPlaceDto>
      </places>
    </WidgetActivityPlaceGroupDto>
  </pickupPlaceGroups>
</WidgetActivityPlaceGroupsDto>