POST api/b2c/excursion/price
Gets a list of pickup points.
Request Information
URI Parameters
None.
Body Parameters
An instance of the ExcursionPriceRequestDTO.
Cyberlogic.eTourism.Mappings.Web.Dto.Excursions.ExcursionPriceRequestDTOName | Description | Type | Additional information |
---|---|---|---|
Date | string |
None. |
|
CustomerId | integer |
None. |
|
TariffId | integer |
None. |
|
PriceZoneId | integer |
None. |
|
ExcursionId | integer |
None. |
|
CouponCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Date": "sample string 1", "CustomerId": 2, "TariffId": 3, "PriceZoneId": 4, "ExcursionId": 5, "CouponCode": "sample string 6" }
text/html
Sample:
{"Date":"sample string 1","CustomerId":2,"TariffId":3,"PriceZoneId":4,"ExcursionId":5,"CouponCode":"sample string 6"}
application/xml, text/xml
Sample:
<ExcursionPriceRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Excursions"> <CouponCode>sample string 6</CouponCode> <CustomerId>2</CustomerId> <Date>sample string 1</Date> <ExcursionId>5</ExcursionId> <PriceZoneId>4</PriceZoneId> <TariffId>3</TariffId> </ExcursionPriceRequestDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A list of ExcursionPickupPointViewModel.
Cyberlogic.eTourism.Domain.Models.Excursions.Dto.ExcursionPriceDTOName | Description | Type | Additional information |
---|---|---|---|
Adults | decimal number |
None. |
|
Children | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "Adults": 1.0, "Children": 2.0 }
text/html
Sample:
{"Adults":1.0,"Children":2.0}
application/xml, text/xml
Sample:
<ExcursionPriceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.Models.Excursions.Dto"> <Adults>1</Adults> <Children>2</Children> </ExcursionPriceDTO>