POST api/importSales
Request Information
URI Parameters
None.
Body Parameters
Collection of Cyberlogic.eTourism.Mappings.Mobile.Dto.Excursions.SaleDTOName | Description | Type | Additional 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
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |