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, "NextChargeDate": "2025-05-04T14:43:26.8596664+03:00", "StartDate": "2025-05-04T14:43:26.8596664+03:00", "EndDate": "2025-05-04T14:43:26.8596664+03:00", "ProductRecommendationId": 27, "IsMaison": true, "IsForCouple": true, "ExtReference1": "sample string 30", "ParentProdId": 31, "DiscountVoucherId": 32, "PromoCodeId": 33, "IsComponent": true, "SCListId": 35, "CampaignId": 36 }, { "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, "NextChargeDate": "2025-05-04T14:43:26.8596664+03:00", "StartDate": "2025-05-04T14:43:26.8596664+03:00", "EndDate": "2025-05-04T14:43:26.8596664+03:00", "ProductRecommendationId": 27, "IsMaison": true, "IsForCouple": true, "ExtReference1": "sample string 30", "ParentProdId": 31, "DiscountVoucherId": 32, "PromoCodeId": 33, "IsComponent": true, "SCListId": 35, "CampaignId": 36 } ] }
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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Atlantis.Library.Web.Models"> <d2p1:ProductForSaleLine> <d2p1:AssistantId>17</d2p1:AssistantId> <d2p1:BookingSourceId>19</d2p1:BookingSourceId> <d2p1:CFId>18</d2p1:CFId> <d2p1:CampaignId>36</d2p1:CampaignId> <d2p1:ChargeMethod>PCM_NOTSPECIFIED</d2p1:ChargeMethod> <d2p1:DiscountPercent>9.1</d2p1:DiscountPercent> <d2p1:DiscountValue>10.1</d2p1:DiscountValue> <d2p1:DiscountVoucherId>32</d2p1:DiscountVoucherId> <d2p1:Duration>22</d2p1:Duration> <d2p1:EndDate>2025-05-04T14:43:26.8596664+03:00</d2p1:EndDate> <d2p1:ExtReference1>sample string 30</d2p1:ExtReference1> <d2p1:FreeWill>true</d2p1:FreeWill> <d2p1:Id>1</d2p1:Id> <d2p1:IsArrangement>true</d2p1:IsArrangement> <d2p1:IsComponent>true</d2p1:IsComponent> <d2p1:IsForCouple>true</d2p1:IsForCouple> <d2p1:IsHidden>true</d2p1:IsHidden> <d2p1:IsMaison>true</d2p1:IsMaison> <d2p1:LeaderId>16</d2p1:LeaderId> <d2p1:NextChargeDate>2025-05-04T14:43:26.8596664+03:00</d2p1:NextChargeDate> <d2p1:Notes>sample string 20</d2p1:Notes> <d2p1:ParentProdId>31</d2p1:ParentProdId> <d2p1:PayoutValue>14.1</d2p1:PayoutValue> <d2p1:Price>8.1</d2p1:Price> <d2p1:PriceListId>7</d2p1:PriceListId> <d2p1:ProdId>3</d2p1:ProdId> <d2p1:ProductDescription>sample string 5</d2p1:ProductDescription> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:ProductRecommendationId>27</d2p1:ProductRecommendationId> <d2p1:ProductType>PT_THERAPY</d2p1:ProductType> <d2p1:PromoCodeId>33</d2p1:PromoCodeId> <d2p1:Quantity>4.1</d2p1:Quantity> <d2p1:SCListId>35</d2p1:SCListId> <d2p1:SaleTypeId>6</d2p1:SaleTypeId> <d2p1:StartDate>2025-05-04T14:43:26.8596664+03:00</d2p1:StartDate> <d2p1:TotalPrice>11.1</d2p1:TotalPrice> <d2p1:VATPercent>12.1</d2p1:VATPercent> <d2p1:VATValue>13.1</d2p1:VATValue> </d2p1:ProductForSaleLine> <d2p1:ProductForSaleLine> <d2p1:AssistantId>17</d2p1:AssistantId> <d2p1:BookingSourceId>19</d2p1:BookingSourceId> <d2p1:CFId>18</d2p1:CFId> <d2p1:CampaignId>36</d2p1:CampaignId> <d2p1:ChargeMethod>PCM_NOTSPECIFIED</d2p1:ChargeMethod> <d2p1:DiscountPercent>9.1</d2p1:DiscountPercent> <d2p1:DiscountValue>10.1</d2p1:DiscountValue> <d2p1:DiscountVoucherId>32</d2p1:DiscountVoucherId> <d2p1:Duration>22</d2p1:Duration> <d2p1:EndDate>2025-05-04T14:43:26.8596664+03:00</d2p1:EndDate> <d2p1:ExtReference1>sample string 30</d2p1:ExtReference1> <d2p1:FreeWill>true</d2p1:FreeWill> <d2p1:Id>1</d2p1:Id> <d2p1:IsArrangement>true</d2p1:IsArrangement> <d2p1:IsComponent>true</d2p1:IsComponent> <d2p1:IsForCouple>true</d2p1:IsForCouple> <d2p1:IsHidden>true</d2p1:IsHidden> <d2p1:IsMaison>true</d2p1:IsMaison> <d2p1:LeaderId>16</d2p1:LeaderId> <d2p1:NextChargeDate>2025-05-04T14:43:26.8596664+03:00</d2p1:NextChargeDate> <d2p1:Notes>sample string 20</d2p1:Notes> <d2p1:ParentProdId>31</d2p1:ParentProdId> <d2p1:PayoutValue>14.1</d2p1:PayoutValue> <d2p1:Price>8.1</d2p1:Price> <d2p1:PriceListId>7</d2p1:PriceListId> <d2p1:ProdId>3</d2p1:ProdId> <d2p1:ProductDescription>sample string 5</d2p1:ProductDescription> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:ProductRecommendationId>27</d2p1:ProductRecommendationId> <d2p1:ProductType>PT_THERAPY</d2p1:ProductType> <d2p1:PromoCodeId>33</d2p1:PromoCodeId> <d2p1:Quantity>4.1</d2p1:Quantity> <d2p1:SCListId>35</d2p1:SCListId> <d2p1:SaleTypeId>6</d2p1:SaleTypeId> <d2p1:StartDate>2025-05-04T14:43:26.8596664+03:00</d2p1:StartDate> <d2p1:TotalPrice>11.1</d2p1:TotalPrice> <d2p1:VATPercent>12.1</d2p1:VATPercent> <d2p1:VATValue>13.1</d2p1:VATValue> </d2p1: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.