GET v{version}/{lang}/activity/{id}/pickup-places?currency={currency}&wp={wp}&invsys={invsys}
GetActivityPickupPlaces
Request Information
URI Parameters
Name | Description | Type | Additional 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
WidgetActivityPlacesDtoName | Description | Type | Additional information |
---|---|---|---|
dropoffPlaces | Collection of WidgetPickupPlaceDto |
None. |
|
pickupPlaces | Collection of WidgetPickupPlaceDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "dropoffPlaces": [ { "id": 1, "title": "sample string 1", "pickupMinutesBefore": 1 }, { "id": 1, "title": "sample string 1", "pickupMinutesBefore": 1 } ], "pickupPlaces": [ { "id": 1, "title": "sample string 1", "pickupMinutesBefore": 1 }, { "id": 1, "title": "sample string 1", "pickupMinutesBefore": 1 } ] }
application/xml, text/xml
Sample:
<WidgetActivityPlacesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adventures.WidgetAPI.Core.Models.Widget"> <dropoffPlaces> <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> </dropoffPlaces> <pickupPlaces> <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> </pickupPlaces> </WidgetActivityPlacesDto>