POST api/makeSale

Request Information

URI Parameters

None.

Body Parameters

Collection of Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions.SaleDTO
NameDescriptionTypeAdditional information
SellerId

integer

Required

ExcursionId

integer

None.

LanguageId

integer

None.

CustomerId

integer

None.

HotelId

integer

None.

PickupPointId

integer

None.

Adults

integer

None.

Children

integer

None.

Infants

integer

None.

Free

integer

None.

TariffId

integer

None.

TicketId

integer

None.

ExcursionDate

string

None.

LeadClient

string

None.

ClientEmail

string

None.

ManualPriced

boolean

None.

PaymentAmountCash

decimal number

None.

PaymentAmountCreditCard

decimal number

None.

TotalIncome

decimal number

None.

Remarks

string

None.

PickupTime

string

None.

RoomNumber

string

None.

Clients

Collection of Cyberlogic.eTourism.Mappings.Mobile.Dto.Bookings.ClientDTO

None.

BookingId

integer

None.

IsOnBehalf

boolean

None.

OnBehalfSellerId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SellerId": 1,
    "ExcursionId": 2,
    "LanguageId": 3,
    "CustomerId": 4,
    "HotelId": 5,
    "PickupPointId": 6,
    "Adults": 7,
    "Children": 8,
    "Infants": 9,
    "Free": 10,
    "TariffId": 11,
    "TicketId": 12,
    "ExcursionDate": "sample string 13",
    "LeadClient": "sample string 14",
    "ClientEmail": "sample string 15",
    "ManualPriced": true,
    "PaymentAmountCash": 17.0,
    "PaymentAmountCreditCard": 18.0,
    "TotalIncome": 19.0,
    "Remarks": "sample string 20",
    "PickupTime": "sample string 21",
    "RoomNumber": "sample string 22",
    "Clients": [
      {
        "Id": 1,
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4"
      },
      {
        "Id": 1,
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4"
      }
    ],
    "BookingId": 23,
    "IsOnBehalf": true,
    "OnBehalfSellerId": 25
  },
  {
    "SellerId": 1,
    "ExcursionId": 2,
    "LanguageId": 3,
    "CustomerId": 4,
    "HotelId": 5,
    "PickupPointId": 6,
    "Adults": 7,
    "Children": 8,
    "Infants": 9,
    "Free": 10,
    "TariffId": 11,
    "TicketId": 12,
    "ExcursionDate": "sample string 13",
    "LeadClient": "sample string 14",
    "ClientEmail": "sample string 15",
    "ManualPriced": true,
    "PaymentAmountCash": 17.0,
    "PaymentAmountCreditCard": 18.0,
    "TotalIncome": 19.0,
    "Remarks": "sample string 20",
    "PickupTime": "sample string 21",
    "RoomNumber": "sample string 22",
    "Clients": [
      {
        "Id": 1,
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4"
      },
      {
        "Id": 1,
        "Title": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4"
      }
    ],
    "BookingId": 23,
    "IsOnBehalf": true,
    "OnBehalfSellerId": 25
  }
]

text/html

Sample:
[{"SellerId":1,"ExcursionId":2,"LanguageId":3,"CustomerId":4,"HotelId":5,"PickupPointId":6,"Adults":7,"Children":8,"Infants":9,"Free":10,"TariffId":11,"TicketId":12,"ExcursionDate":"sample string 13","LeadClient":"sample string 14","ClientEmail":"sample string 15","ManualPriced":true,"PaymentAmountCash":17.0,"PaymentAmountCreditCard":18.0,"TotalIncome":19.0,"Remarks":"sample string 20","PickupTime":"sample string 21","RoomNumber":"sample string 22","Clients":[{"Id":1,"Title":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4"},{"Id":1,"Title":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4"}],"BookingId":23,"IsOnBehalf":true,"OnBehalfSellerId":25},{"SellerId":1,"ExcursionId":2,"LanguageId":3,"CustomerId":4,"HotelId":5,"PickupPointId":6,"Adults":7,"Children":8,"Infants":9,"Free":10,"TariffId":11,"TicketId":12,"ExcursionDate":"sample string 13","LeadClient":"sample string 14","ClientEmail":"sample string 15","ManualPriced":true,"PaymentAmountCash":17.0,"PaymentAmountCreditCard":18.0,"TotalIncome":19.0,"Remarks":"sample string 20","PickupTime":"sample string 21","RoomNumber":"sample string 22","Clients":[{"Id":1,"Title":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4"},{"Id":1,"Title":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4"}],"BookingId":23,"IsOnBehalf":true,"OnBehalfSellerId":25}]

application/xml, text/xml

Sample:
<ArrayOfSaleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions">
  <SaleDTO>
    <Adults>7</Adults>
    <BookingId>23</BookingId>
    <Children>8</Children>
    <ClientEmail>sample string 15</ClientEmail>
    <Clients xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Mobile.Dto.Bookings">
      <d3p1:ClientDTO>
        <d3p1:FirstName>sample string 3</d3p1:FirstName>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LastName>sample string 4</d3p1:LastName>
        <d3p1:Title>sample string 2</d3p1:Title>
      </d3p1:ClientDTO>
      <d3p1:ClientDTO>
        <d3p1:FirstName>sample string 3</d3p1:FirstName>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LastName>sample string 4</d3p1:LastName>
        <d3p1:Title>sample string 2</d3p1:Title>
      </d3p1:ClientDTO>
    </Clients>
    <CustomerId>4</CustomerId>
    <ExcursionDate>sample string 13</ExcursionDate>
    <ExcursionId>2</ExcursionId>
    <Free>10</Free>
    <HotelId>5</HotelId>
    <Infants>9</Infants>
    <IsOnBehalf>true</IsOnBehalf>
    <LanguageId>3</LanguageId>
    <LeadClient>sample string 14</LeadClient>
    <ManualPriced>true</ManualPriced>
    <OnBehalfSellerId>25</OnBehalfSellerId>
    <PaymentAmountCash>17</PaymentAmountCash>
    <PaymentAmountCreditCard>18</PaymentAmountCreditCard>
    <PickupPointId>6</PickupPointId>
    <PickupTime>sample string 21</PickupTime>
    <Remarks>sample string 20</Remarks>
    <RoomNumber>sample string 22</RoomNumber>
    <SellerId>1</SellerId>
    <TariffId>11</TariffId>
    <TicketId>12</TicketId>
    <TotalIncome>19</TotalIncome>
  </SaleDTO>
  <SaleDTO>
    <Adults>7</Adults>
    <BookingId>23</BookingId>
    <Children>8</Children>
    <ClientEmail>sample string 15</ClientEmail>
    <Clients xmlns:d3p1="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Mobile.Dto.Bookings">
      <d3p1:ClientDTO>
        <d3p1:FirstName>sample string 3</d3p1:FirstName>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LastName>sample string 4</d3p1:LastName>
        <d3p1:Title>sample string 2</d3p1:Title>
      </d3p1:ClientDTO>
      <d3p1:ClientDTO>
        <d3p1:FirstName>sample string 3</d3p1:FirstName>
        <d3p1:Id>1</d3p1:Id>
        <d3p1:LastName>sample string 4</d3p1:LastName>
        <d3p1:Title>sample string 2</d3p1:Title>
      </d3p1:ClientDTO>
    </Clients>
    <CustomerId>4</CustomerId>
    <ExcursionDate>sample string 13</ExcursionDate>
    <ExcursionId>2</ExcursionId>
    <Free>10</Free>
    <HotelId>5</HotelId>
    <Infants>9</Infants>
    <IsOnBehalf>true</IsOnBehalf>
    <LanguageId>3</LanguageId>
    <LeadClient>sample string 14</LeadClient>
    <ManualPriced>true</ManualPriced>
    <OnBehalfSellerId>25</OnBehalfSellerId>
    <PaymentAmountCash>17</PaymentAmountCash>
    <PaymentAmountCreditCard>18</PaymentAmountCreditCard>
    <PickupPointId>6</PickupPointId>
    <PickupTime>sample string 21</PickupTime>
    <Remarks>sample string 20</Remarks>
    <RoomNumber>sample string 22</RoomNumber>
    <SellerId>1</SellerId>
    <TariffId>11</TariffId>
    <TicketId>12</TicketId>
    <TotalIncome>19</TotalIncome>
  </SaleDTO>
</ArrayOfSaleDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Cyberlogic.eTourism.Mappings.Operations.Dto.Excursions.Sale.SaleResponseDTO
NameDescriptionTypeAdditional information
TicketId

integer

None.

SalesId

integer

None.

ExcursionTransactionId

integer

None.

Valid

boolean

None.

ErrorMessage

string

None.

ErrorStackTrace

string

None.

DocumentId

integer

None.

DocumentSeries

string

None.

DocumentType

string

None.

DocumentNumber

integer

None.

ExcursionAmount

decimal number

None.

TransferAmount

decimal number

None.

ExtraAmount

decimal number

None.

ExcursionVatAmount

decimal number

None.

TransferVatAmount

decimal number

None.

ExtraVatAmount

decimal number

None.

ExcursionVatPrefix

string

None.

TransferVatPrefix

string

None.

ExtraVatPrefix

string

None.

ExtraVatPercentage

decimal number

None.

ExcursionVatPercentage

decimal number

None.

TransferVatPercentage

decimal number

None.

TaxDetails

string

None.

TaxUrl

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TicketId": 1,
    "SalesId": 2,
    "ExcursionTransactionId": 3,
    "Valid": true,
    "ErrorMessage": "sample string 5",
    "ErrorStackTrace": "sample string 6",
    "DocumentId": 7,
    "DocumentSeries": "sample string 8",
    "DocumentType": "sample string 9",
    "DocumentNumber": 10,
    "ExcursionAmount": 11.0,
    "TransferAmount": 12.0,
    "ExtraAmount": 13.0,
    "ExcursionVatAmount": 14.0,
    "TransferVatAmount": 15.0,
    "ExtraVatAmount": 16.0,
    "ExcursionVatPrefix": "sample string 17",
    "TransferVatPrefix": "sample string 18",
    "ExtraVatPrefix": "sample string 19",
    "ExtraVatPercentage": 20.0,
    "ExcursionVatPercentage": 21.0,
    "TransferVatPercentage": 22.0,
    "TaxDetails": "sample string 23",
    "TaxUrl": "sample string 24"
  },
  {
    "TicketId": 1,
    "SalesId": 2,
    "ExcursionTransactionId": 3,
    "Valid": true,
    "ErrorMessage": "sample string 5",
    "ErrorStackTrace": "sample string 6",
    "DocumentId": 7,
    "DocumentSeries": "sample string 8",
    "DocumentType": "sample string 9",
    "DocumentNumber": 10,
    "ExcursionAmount": 11.0,
    "TransferAmount": 12.0,
    "ExtraAmount": 13.0,
    "ExcursionVatAmount": 14.0,
    "TransferVatAmount": 15.0,
    "ExtraVatAmount": 16.0,
    "ExcursionVatPrefix": "sample string 17",
    "TransferVatPrefix": "sample string 18",
    "ExtraVatPrefix": "sample string 19",
    "ExtraVatPercentage": 20.0,
    "ExcursionVatPercentage": 21.0,
    "TransferVatPercentage": 22.0,
    "TaxDetails": "sample string 23",
    "TaxUrl": "sample string 24"
  }
]

text/html

Sample:
[{"TicketId":1,"SalesId":2,"ExcursionTransactionId":3,"Valid":true,"ErrorMessage":"sample string 5","ErrorStackTrace":"sample string 6","DocumentId":7,"DocumentSeries":"sample string 8","DocumentType":"sample string 9","DocumentNumber":10,"ExcursionAmount":11.0,"TransferAmount":12.0,"ExtraAmount":13.0,"ExcursionVatAmount":14.0,"TransferVatAmount":15.0,"ExtraVatAmount":16.0,"ExcursionVatPrefix":"sample string 17","TransferVatPrefix":"sample string 18","ExtraVatPrefix":"sample string 19","ExtraVatPercentage":20.0,"ExcursionVatPercentage":21.0,"TransferVatPercentage":22.0,"TaxDetails":"sample string 23","TaxUrl":"sample string 24"},{"TicketId":1,"SalesId":2,"ExcursionTransactionId":3,"Valid":true,"ErrorMessage":"sample string 5","ErrorStackTrace":"sample string 6","DocumentId":7,"DocumentSeries":"sample string 8","DocumentType":"sample string 9","DocumentNumber":10,"ExcursionAmount":11.0,"TransferAmount":12.0,"ExtraAmount":13.0,"ExcursionVatAmount":14.0,"TransferVatAmount":15.0,"ExtraVatAmount":16.0,"ExcursionVatPrefix":"sample string 17","TransferVatPrefix":"sample string 18","ExtraVatPrefix":"sample string 19","ExtraVatPercentage":20.0,"ExcursionVatPercentage":21.0,"TransferVatPercentage":22.0,"TaxDetails":"sample string 23","TaxUrl":"sample string 24"}]

application/xml, text/xml

Sample:
<ArrayOfSaleResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Operations.Dto.Excursions.Sale">
  <SaleResponseDTO>
    <DocumentId>7</DocumentId>
    <DocumentNumber>10</DocumentNumber>
    <DocumentSeries>sample string 8</DocumentSeries>
    <DocumentType>sample string 9</DocumentType>
    <ErrorMessage>sample string 5</ErrorMessage>
    <ErrorStackTrace>sample string 6</ErrorStackTrace>
    <ExcursionAmount>11</ExcursionAmount>
    <ExcursionTransactionId>3</ExcursionTransactionId>
    <ExcursionVatAmount>14</ExcursionVatAmount>
    <ExcursionVatPercentage>21</ExcursionVatPercentage>
    <ExcursionVatPrefix>sample string 17</ExcursionVatPrefix>
    <ExtraAmount>13</ExtraAmount>
    <ExtraVatAmount>16</ExtraVatAmount>
    <ExtraVatPercentage>20</ExtraVatPercentage>
    <ExtraVatPrefix>sample string 19</ExtraVatPrefix>
    <SalesId>2</SalesId>
    <TaxDetails>sample string 23</TaxDetails>
    <TaxUrl>sample string 24</TaxUrl>
    <TicketId>1</TicketId>
    <TransferAmount>12</TransferAmount>
    <TransferVatAmount>15</TransferVatAmount>
    <TransferVatPercentage>22</TransferVatPercentage>
    <TransferVatPrefix>sample string 18</TransferVatPrefix>
    <Valid>true</Valid>
  </SaleResponseDTO>
  <SaleResponseDTO>
    <DocumentId>7</DocumentId>
    <DocumentNumber>10</DocumentNumber>
    <DocumentSeries>sample string 8</DocumentSeries>
    <DocumentType>sample string 9</DocumentType>
    <ErrorMessage>sample string 5</ErrorMessage>
    <ErrorStackTrace>sample string 6</ErrorStackTrace>
    <ExcursionAmount>11</ExcursionAmount>
    <ExcursionTransactionId>3</ExcursionTransactionId>
    <ExcursionVatAmount>14</ExcursionVatAmount>
    <ExcursionVatPercentage>21</ExcursionVatPercentage>
    <ExcursionVatPrefix>sample string 17</ExcursionVatPrefix>
    <ExtraAmount>13</ExtraAmount>
    <ExtraVatAmount>16</ExtraVatAmount>
    <ExtraVatPercentage>20</ExtraVatPercentage>
    <ExtraVatPrefix>sample string 19</ExtraVatPrefix>
    <SalesId>2</SalesId>
    <TaxDetails>sample string 23</TaxDetails>
    <TaxUrl>sample string 24</TaxUrl>
    <TicketId>1</TicketId>
    <TransferAmount>12</TransferAmount>
    <TransferVatAmount>15</TransferVatAmount>
    <TransferVatPercentage>22</TransferVatPercentage>
    <TransferVatPrefix>sample string 18</TransferVatPrefix>
    <Valid>true</Valid>
  </SaleResponseDTO>
</ArrayOfSaleResponseDTO>