POST api/POSTransactions
Request Information
URI Parameters
None.
Body Parameters
POSTransactionName | Description | Type | Additional information |
---|---|---|---|
Date | string |
None. |
|
InvTypeId | integer |
None. |
|
SaleTypeId | integer |
None. |
|
PriceListId | integer |
None. |
|
CFId | integer |
None. |
|
SellerId | integer |
None. |
|
BookingSourceId | integer |
None. |
|
DiscountValue | decimal number |
None. |
|
PMSProperty | string |
None. |
|
PMSRoom | string |
None. |
|
PMSAccount | string |
None. |
|
PrintOnServer | integer |
None. |
|
CustomerType | integer |
None. |
|
CustomerSurname | string |
None. |
|
CustomerName | string |
None. |
|
CustomerEmail | string |
None. |
|
PaymentTypeId | integer |
None. |
|
ProductGroupType | integer |
None. |
|
TransactionItems | Collection of ProductForSaleLine |
None. |
Request Formats
application/json, text/json
Sample:
{ "Date": "sample string 1", "InvTypeId": 2, "SaleTypeId": 3, "PriceListId": 4, "CFId": 5, "SellerId": 6, "BookingSourceId": 7, "DiscountValue": 8.1, "PMSProperty": "sample string 9", "PMSRoom": "sample string 10", "PMSAccount": "sample string 11", "PrintOnServer": 12, "CustomerType": 13, "CustomerSurname": "sample string 14", "CustomerName": "sample string 15", "CustomerEmail": "sample string 16", "PaymentTypeId": 17, "ProductGroupType": 18, "TransactionItems": [ { "Id": 1, "ProductId": 2, "ProdId": 3, "Quantity": 4.1, "ProductDescription": "sample string 5", "ProductType": 0, "SaleTypeId": 6, "PriceListId": 7, "Price": 8.1, "DiscountPercent": 9.1, "DiscountValue": 10.1, "TotalPrice": 11.1, "VATPercent": 12.1, "VATValue": 13.1, "PayoutValue": 14.1, "IsHidden": true, "LeaderId": 16, "AssistantId": 17, "CFId": 18, "BookingSourceId": 19, "Notes": "sample string 20", "ChargeMethod": 0, "IsArrangement": true, "Duration": 22, "FreeWill": true, "StartDate": "2025-05-04T19:39:40.73714+03:00", "EndDate": "2025-05-04T19:39:40.73714+03:00", "ProductRecommendationId": 26, "IsMaison": true, "IsForCouple": true, "ExtReference1": "sample string 29", "ParentProdId": 30, "DiscountVoucherId": 31, "PromoCodeId": 32, "IsComponent": true, "SCListId": 34, "CampaignId": 35 }, { "Id": 1, "ProductId": 2, "ProdId": 3, "Quantity": 4.1, "ProductDescription": "sample string 5", "ProductType": 0, "SaleTypeId": 6, "PriceListId": 7, "Price": 8.1, "DiscountPercent": 9.1, "DiscountValue": 10.1, "TotalPrice": 11.1, "VATPercent": 12.1, "VATValue": 13.1, "PayoutValue": 14.1, "IsHidden": true, "LeaderId": 16, "AssistantId": 17, "CFId": 18, "BookingSourceId": 19, "Notes": "sample string 20", "ChargeMethod": 0, "IsArrangement": true, "Duration": 22, "FreeWill": true, "StartDate": "2025-05-04T19:39:40.73714+03:00", "EndDate": "2025-05-04T19:39:40.73714+03:00", "ProductRecommendationId": 26, "IsMaison": true, "IsForCouple": true, "ExtReference1": "sample string 29", "ParentProdId": 30, "DiscountVoucherId": 31, "PromoCodeId": 32, "IsComponent": true, "SCListId": 34, "CampaignId": 35 } ] }
application/xml, text/xml
Sample:
<POSTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Web.Api.Models"> <BookingSourceId>7</BookingSourceId> <CFId>5</CFId> <CustomerEmail>sample string 16</CustomerEmail> <CustomerName>sample string 15</CustomerName> <CustomerSurname>sample string 14</CustomerSurname> <CustomerType>13</CustomerType> <Date>sample string 1</Date> <DiscountValue>8.1</DiscountValue> <InvTypeId>2</InvTypeId> <PMSAccount>sample string 11</PMSAccount> <PMSProperty>sample string 9</PMSProperty> <PMSRoom>sample string 10</PMSRoom> <PaymentTypeId>17</PaymentTypeId> <PriceListId>4</PriceListId> <PrintOnServer>12</PrintOnServer> <ProductGroupType>18</ProductGroupType> <SaleTypeId>3</SaleTypeId> <SellerId>6</SellerId> <TransactionItems> <ProductForSaleLine> <AssistantId>17</AssistantId> <BookingSourceId>19</BookingSourceId> <CFId>18</CFId> <CampaignId>35</CampaignId> <ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod> <DiscountPercent>9.1</DiscountPercent> <DiscountValue>10.1</DiscountValue> <DiscountVoucherId>31</DiscountVoucherId> <Duration>22</Duration> <EndDate>2025-05-04T19:39:40.73714+03:00</EndDate> <ExtReference1>sample string 29</ExtReference1> <FreeWill>true</FreeWill> <Id>1</Id> <IsArrangement>true</IsArrangement> <IsComponent>true</IsComponent> <IsForCouple>true</IsForCouple> <IsHidden>true</IsHidden> <IsMaison>true</IsMaison> <LeaderId>16</LeaderId> <Notes>sample string 20</Notes> <ParentProdId>30</ParentProdId> <PayoutValue>14.1</PayoutValue> <Price>8.1</Price> <PriceListId>7</PriceListId> <ProdId>3</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductId>2</ProductId> <ProductRecommendationId>26</ProductRecommendationId> <ProductType>PT_THERAPY</ProductType> <PromoCodeId>32</PromoCodeId> <Quantity>4.1</Quantity> <SCListId>34</SCListId> <SaleTypeId>6</SaleTypeId> <StartDate>2025-05-04T19:39:40.73714+03:00</StartDate> <TotalPrice>11.1</TotalPrice> <VATPercent>12.1</VATPercent> <VATValue>13.1</VATValue> </ProductForSaleLine> <ProductForSaleLine> <AssistantId>17</AssistantId> <BookingSourceId>19</BookingSourceId> <CFId>18</CFId> <CampaignId>35</CampaignId> <ChargeMethod>PCM_NOTSPECIFIED</ChargeMethod> <DiscountPercent>9.1</DiscountPercent> <DiscountValue>10.1</DiscountValue> <DiscountVoucherId>31</DiscountVoucherId> <Duration>22</Duration> <EndDate>2025-05-04T19:39:40.73714+03:00</EndDate> <ExtReference1>sample string 29</ExtReference1> <FreeWill>true</FreeWill> <Id>1</Id> <IsArrangement>true</IsArrangement> <IsComponent>true</IsComponent> <IsForCouple>true</IsForCouple> <IsHidden>true</IsHidden> <IsMaison>true</IsMaison> <LeaderId>16</LeaderId> <Notes>sample string 20</Notes> <ParentProdId>30</ParentProdId> <PayoutValue>14.1</PayoutValue> <Price>8.1</Price> <PriceListId>7</PriceListId> <ProdId>3</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductId>2</ProductId> <ProductRecommendationId>26</ProductRecommendationId> <ProductType>PT_THERAPY</ProductType> <PromoCodeId>32</PromoCodeId> <Quantity>4.1</Quantity> <SCListId>34</SCListId> <SaleTypeId>6</SaleTypeId> <StartDate>2025-05-04T19:39:40.73714+03:00</StartDate> <TotalPrice>11.1</TotalPrice> <VATPercent>12.1</VATPercent> <VATValue>13.1</VATValue> </ProductForSaleLine> </TransactionItems> </POSTransaction>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.