POST api/ShoppingCart
Request Information
URI Parameters
None.
Body Parameters
ShoppingCartName | Description | Type | Additional information |
---|---|---|---|
PropertyId | integer |
None. |
|
CartId | string |
None. |
|
CartDate | date |
None. |
|
CustomerType | CustomerTypes |
None. |
|
CreateAccount | boolean |
None. |
|
ShipToBillingAddress | boolean |
None. |
|
Notes | string |
None. |
|
TotalValue | decimal number |
None. |
|
ShipppingExpenses | decimal number |
None. |
|
PaymentType | PaymentTypes |
None. |
|
PaymentTransactionCode | string |
None. |
|
ReceiptCode | string |
None. |
|
CustomerAlias | string |
None. |
|
CustomerName | string |
None. |
|
CustomerSurname | string |
None. |
|
CompanyName | string |
None. |
|
Address | string |
None. |
|
Town | string |
None. |
|
Country | string |
None. |
|
ZipCode | string |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
UserPassword | string |
None. |
|
UserName | string |
None. |
|
ShippingAddress | string |
None. |
|
ShippingTown | string |
None. |
|
ShippingCountry | string |
None. |
|
ShippingZipCode | string |
None. |
|
PMSProperty | string |
None. |
|
PMSRoom | string |
None. |
|
PMSGuestName | string |
None. |
|
PMSReservationCode | string |
None. |
|
PMSAccount | string |
None. |
|
ArrivalDate | date |
None. |
|
DepartureDate | date |
None. |
|
FolderId | integer |
None. |
|
FolderAlias | string |
None. |
|
CustomerId | integer |
None. |
|
FolderNotes | string |
None. |
|
MemberId | string |
None. |
|
ExtReference1 | string |
None. |
|
ExtReference2 | string |
None. |
|
CartCustomers | Collection of ShoppingCartCustomer |
None. |
Request Formats
application/json, text/json
Sample:
{ "PropertyId": 1, "CartId": "sample string 2", "CartDate": "2025-06-29T20:51:56.8493797+03:00", "CustomerType": 0, "CreateAccount": true, "ShipToBillingAddress": true, "Notes": "sample string 6", "TotalValue": 7.1, "ShipppingExpenses": 8.1, "PaymentType": 0, "PaymentTransactionCode": "sample string 9", "ReceiptCode": "sample string 10", "CustomerAlias": "sample string 11", "CustomerName": "sample string 12", "CustomerSurname": "sample string 13", "CompanyName": "sample string 14", "Address": "sample string 15", "Town": "sample string 16", "Country": "sample string 17", "ZipCode": "sample string 18", "Email": "sample string 19", "Phone": "sample string 20", "UserPassword": "sample string 21", "UserName": "sample string 22", "ShippingAddress": "sample string 23", "ShippingTown": "sample string 24", "ShippingCountry": "sample string 25", "ShippingZipCode": "sample string 26", "PMSProperty": "sample string 27", "PMSRoom": "sample string 28", "PMSGuestName": "sample string 29", "PMSReservationCode": "sample string 30", "PMSAccount": "sample string 31", "ArrivalDate": "2025-06-29T20:51:56.8493797+03:00", "DepartureDate": "2025-06-29T20:51:56.8493797+03:00", "FolderId": 34, "FolderAlias": "sample string 35", "CustomerId": 36, "FolderNotes": "sample string 37", "MemberId": "sample string 38", "ExtReference1": "sample string 39", "ExtReference2": "sample string 40", "CartCustomers": [ { "Id": 1, "ShoppingCartId": 2, "CustomerName": "sample string 3", "CustomerSurname": "sample string 4", "CustomerGender": 0, "CustomerEmail": "sample string 5", "CustomerPhone": "sample string 6", "FolderId": 7, "CustomerId": 8, "Notes": "sample string 9", "Items": [ { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-06-29T20:51:56.8493797+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 }, { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-06-29T20:51:56.8493797+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 } ] }, { "Id": 1, "ShoppingCartId": 2, "CustomerName": "sample string 3", "CustomerSurname": "sample string 4", "CustomerGender": 0, "CustomerEmail": "sample string 5", "CustomerPhone": "sample string 6", "FolderId": 7, "CustomerId": 8, "Notes": "sample string 9", "Items": [ { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-06-29T20:51:56.8493797+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 }, { "ItemId": 1, "ItemDescription": "sample string 2", "AppointmentDuration": 3, "AppointmentDate": "sample string 4", "AppointmentStartTime": "sample string 5", "AppId": 6, "LckId1": 7, "LckId2": 8, "LckId3": 9, "LockedDate": "2025-06-29T20:51:56.8493797+03:00", "Quantity": 11, "UnitPrice": 12.1, "ItemType": 0 } ] } ] }
application/xml, text/xml
Sample:
<ShoppingCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Atlantis.Library.WebModels"> <Address>sample string 15</Address> <ArrivalDate>2025-06-29T20:51:56.8493797+03:00</ArrivalDate> <CartCustomers> <ShoppingCartCustomer> <CustomerEmail>sample string 5</CustomerEmail> <CustomerGender>NotDeclared</CustomerGender> <CustomerId>8</CustomerId> <CustomerName>sample string 3</CustomerName> <CustomerPhone>sample string 6</CustomerPhone> <CustomerSurname>sample string 4</CustomerSurname> <FolderId>7</FolderId> <Id>1</Id> <Items> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-06-29T20:51:56.8493797+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-06-29T20:51:56.8493797+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> </Items> <Notes>sample string 9</Notes> <ShoppingCartId>2</ShoppingCartId> </ShoppingCartCustomer> <ShoppingCartCustomer> <CustomerEmail>sample string 5</CustomerEmail> <CustomerGender>NotDeclared</CustomerGender> <CustomerId>8</CustomerId> <CustomerName>sample string 3</CustomerName> <CustomerPhone>sample string 6</CustomerPhone> <CustomerSurname>sample string 4</CustomerSurname> <FolderId>7</FolderId> <Id>1</Id> <Items> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-06-29T20:51:56.8493797+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> <ShoppingCartCustomerItem> <AppId>6</AppId> <AppointmentDate>sample string 4</AppointmentDate> <AppointmentDuration>3</AppointmentDuration> <AppointmentStartTime>sample string 5</AppointmentStartTime> <ItemDescription>sample string 2</ItemDescription> <ItemId>1</ItemId> <ItemType>Treatment</ItemType> <LckId1>7</LckId1> <LckId2>8</LckId2> <LckId3>9</LckId3> <LockedDate>2025-06-29T20:51:56.8493797+03:00</LockedDate> <Quantity>11</Quantity> <UnitPrice>12.1</UnitPrice> </ShoppingCartCustomerItem> </Items> <Notes>sample string 9</Notes> <ShoppingCartId>2</ShoppingCartId> </ShoppingCartCustomer> </CartCustomers> <CartDate>2025-06-29T20:51:56.8493797+03:00</CartDate> <CartId>sample string 2</CartId> <CompanyName>sample string 14</CompanyName> <Country>sample string 17</Country> <CreateAccount>true</CreateAccount> <CustomerAlias>sample string 11</CustomerAlias> <CustomerId>36</CustomerId> <CustomerName>sample string 12</CustomerName> <CustomerSurname>sample string 13</CustomerSurname> <CustomerType>InhouseWithRoom</CustomerType> <DepartureDate>2025-06-29T20:51:56.8493797+03:00</DepartureDate> <Email>sample string 19</Email> <ExtReference1>sample string 39</ExtReference1> <ExtReference2>sample string 40</ExtReference2> <FolderAlias>sample string 35</FolderAlias> <FolderId>34</FolderId> <FolderNotes>sample string 37</FolderNotes> <MemberId>sample string 38</MemberId> <Notes>sample string 6</Notes> <PMSAccount>sample string 31</PMSAccount> <PMSGuestName>sample string 29</PMSGuestName> <PMSProperty>sample string 27</PMSProperty> <PMSReservationCode>sample string 30</PMSReservationCode> <PMSRoom>sample string 28</PMSRoom> <PaymentTransactionCode>sample string 9</PaymentTransactionCode> <PaymentType>RoomCharge</PaymentType> <Phone>sample string 20</Phone> <PropertyId>1</PropertyId> <ReceiptCode>sample string 10</ReceiptCode> <ShipToBillingAddress>true</ShipToBillingAddress> <ShippingAddress>sample string 23</ShippingAddress> <ShippingCountry>sample string 25</ShippingCountry> <ShippingTown>sample string 24</ShippingTown> <ShippingZipCode>sample string 26</ShippingZipCode> <ShipppingExpenses>8.1</ShipppingExpenses> <TotalValue>7.1</TotalValue> <Town>sample string 16</Town> <UserName>sample string 22</UserName> <UserPassword>sample string 21</UserPassword> <ZipCode>sample string 18</ZipCode> </ShoppingCart>
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.