POST v1/SaveTakeAwayOrderDetails
Request Information
URI Parameters
None.
Body Parameters
OrderModel| Name | Description | Type | Additional information | 
|---|---|---|---|
| takeAwayOrder | TakeAwayOrderDto | None. | |
| orderParts | Collection of OrderPartModel | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "takeAwayOrder": {
    "iTakeAwayId": 1,
    "iRestaurantID": 2,
    "vCustomerName": "sample string 3",
    "vHouseNumber": "sample string 4",
    "vFullAddress": "sample string 5",
    "vPostCode": "sample string 6",
    "CollectionTime": 1,
    "vCustomerPhone": "sample string 7",
    "vCustomerEmail": "sample string 8",
    "fOrderTotal": 1.1,
    "bHasPrinted": true,
    "bHasBeenCollected": true,
    "bReservation": true,
    "dtDateCreated": "2025-10-25T12:08:26.4583794+01:00",
    "delInd": true,
    "dtLastModified": "2025-10-25T12:08:26.4583794+01:00",
    "bDownLoaded": true,
    "bTakeAway": true,
    "bDelivery": true,
    "vLatitude": "sample string 14",
    "vLongitude": "sample string 15",
    "OrderGUID": "92c91f52-8203-48c3-9c41-30bad664725c",
    "OrderNumber": "sample string 16",
    "bPaid": true,
    "Confirmed": true,
    "PaymentType": "sample string 17",
    "DeliveryCharges": 1.0,
    "VendorTxCode": "sample string 18",
    "Delivered": true,
    "Message": "sample string 20",
    "Restaurant": "sample string 21",
    "bDelivered": true,
    "Amount": 1.0,
    "OrderStatus": "sample string 23",
    "OutForDelivery": true,
    "CustomerId": 25,
    "orderParts": [
      {
        "ProductID": 1,
        "OrderPartId": 2,
        "ProductName": "sample string 3",
        "Qty": 1,
        "Price": 1.0,
        "Total": 1.0,
        "DelInd": true,
        "OrderGUID": "0b008b38-fb00-46c6-9f12-e7d39cbf9160",
        "BoxItems": [
          {
            "OrderPartOptionID": 1,
            "OrderPartId": 2,
            "ProductOptionID": 3,
            "Price": 1.0,
            "DelInd": true,
            "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
            "UserID": 6,
            "LastModified": "2025-10-25T12:08:26.4583794+01:00",
            "ProductName": "sample string 8",
            "ProductID": 9
          },
          {
            "OrderPartOptionID": 1,
            "OrderPartId": 2,
            "ProductOptionID": 3,
            "Price": 1.0,
            "DelInd": true,
            "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
            "UserID": 6,
            "LastModified": "2025-10-25T12:08:26.4583794+01:00",
            "ProductName": "sample string 8",
            "ProductID": 9
          }
        ]
      },
      {
        "ProductID": 1,
        "OrderPartId": 2,
        "ProductName": "sample string 3",
        "Qty": 1,
        "Price": 1.0,
        "Total": 1.0,
        "DelInd": true,
        "OrderGUID": "0b008b38-fb00-46c6-9f12-e7d39cbf9160",
        "BoxItems": [
          {
            "OrderPartOptionID": 1,
            "OrderPartId": 2,
            "ProductOptionID": 3,
            "Price": 1.0,
            "DelInd": true,
            "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
            "UserID": 6,
            "LastModified": "2025-10-25T12:08:26.4583794+01:00",
            "ProductName": "sample string 8",
            "ProductID": 9
          },
          {
            "OrderPartOptionID": 1,
            "OrderPartId": 2,
            "ProductOptionID": 3,
            "Price": 1.0,
            "DelInd": true,
            "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
            "UserID": 6,
            "LastModified": "2025-10-25T12:08:26.4583794+01:00",
            "ProductName": "sample string 8",
            "ProductID": 9
          }
        ]
      }
    ]
  },
  "orderParts": [
    {
      "ProductID": 1,
      "OrderPartId": 2,
      "ProductName": "sample string 3",
      "Qty": 1,
      "Price": 1.0,
      "Total": 1.0,
      "DelInd": true,
      "OrderGUID": "0b008b38-fb00-46c6-9f12-e7d39cbf9160",
      "BoxItems": [
        {
          "OrderPartOptionID": 1,
          "OrderPartId": 2,
          "ProductOptionID": 3,
          "Price": 1.0,
          "DelInd": true,
          "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
          "UserID": 6,
          "LastModified": "2025-10-25T12:08:26.4583794+01:00",
          "ProductName": "sample string 8",
          "ProductID": 9
        },
        {
          "OrderPartOptionID": 1,
          "OrderPartId": 2,
          "ProductOptionID": 3,
          "Price": 1.0,
          "DelInd": true,
          "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
          "UserID": 6,
          "LastModified": "2025-10-25T12:08:26.4583794+01:00",
          "ProductName": "sample string 8",
          "ProductID": 9
        }
      ]
    },
    {
      "ProductID": 1,
      "OrderPartId": 2,
      "ProductName": "sample string 3",
      "Qty": 1,
      "Price": 1.0,
      "Total": 1.0,
      "DelInd": true,
      "OrderGUID": "0b008b38-fb00-46c6-9f12-e7d39cbf9160",
      "BoxItems": [
        {
          "OrderPartOptionID": 1,
          "OrderPartId": 2,
          "ProductOptionID": 3,
          "Price": 1.0,
          "DelInd": true,
          "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
          "UserID": 6,
          "LastModified": "2025-10-25T12:08:26.4583794+01:00",
          "ProductName": "sample string 8",
          "ProductID": 9
        },
        {
          "OrderPartOptionID": 1,
          "OrderPartId": 2,
          "ProductOptionID": 3,
          "Price": 1.0,
          "DelInd": true,
          "OrderGUID": "524f0d33-25ac-410b-a9f6-a2b92a456845",
          "UserID": 6,
          "LastModified": "2025-10-25T12:08:26.4583794+01:00",
          "ProductName": "sample string 8",
          "ProductID": 9
        }
      ]
    }
  ]
}
        application/xml, text/xml
            Sample:
        
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TCB.Entity.Model">
  <orderParts>
    <OrderPartModel>
      <BoxItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/TCB.Entity.Dtos">
        <d4p1:OrderPartOptionDto>
          <d4p1:DelInd>true</d4p1:DelInd>
          <d4p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d4p1:LastModified>
          <d4p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d4p1:OrderGUID>
          <d4p1:OrderPartId>2</d4p1:OrderPartId>
          <d4p1:OrderPartOptionID>1</d4p1:OrderPartOptionID>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductID>9</d4p1:ProductID>
          <d4p1:ProductName>sample string 8</d4p1:ProductName>
          <d4p1:ProductOptionID>3</d4p1:ProductOptionID>
          <d4p1:UserID>6</d4p1:UserID>
        </d4p1:OrderPartOptionDto>
        <d4p1:OrderPartOptionDto>
          <d4p1:DelInd>true</d4p1:DelInd>
          <d4p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d4p1:LastModified>
          <d4p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d4p1:OrderGUID>
          <d4p1:OrderPartId>2</d4p1:OrderPartId>
          <d4p1:OrderPartOptionID>1</d4p1:OrderPartOptionID>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductID>9</d4p1:ProductID>
          <d4p1:ProductName>sample string 8</d4p1:ProductName>
          <d4p1:ProductOptionID>3</d4p1:ProductOptionID>
          <d4p1:UserID>6</d4p1:UserID>
        </d4p1:OrderPartOptionDto>
      </BoxItems>
      <DelInd>true</DelInd>
      <OrderGUID>0b008b38-fb00-46c6-9f12-e7d39cbf9160</OrderGUID>
      <OrderPartId>2</OrderPartId>
      <Price>1</Price>
      <ProductID>1</ProductID>
      <ProductName>sample string 3</ProductName>
      <Qty>1</Qty>
      <Total>1</Total>
    </OrderPartModel>
    <OrderPartModel>
      <BoxItems xmlns:d4p1="http://schemas.datacontract.org/2004/07/TCB.Entity.Dtos">
        <d4p1:OrderPartOptionDto>
          <d4p1:DelInd>true</d4p1:DelInd>
          <d4p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d4p1:LastModified>
          <d4p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d4p1:OrderGUID>
          <d4p1:OrderPartId>2</d4p1:OrderPartId>
          <d4p1:OrderPartOptionID>1</d4p1:OrderPartOptionID>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductID>9</d4p1:ProductID>
          <d4p1:ProductName>sample string 8</d4p1:ProductName>
          <d4p1:ProductOptionID>3</d4p1:ProductOptionID>
          <d4p1:UserID>6</d4p1:UserID>
        </d4p1:OrderPartOptionDto>
        <d4p1:OrderPartOptionDto>
          <d4p1:DelInd>true</d4p1:DelInd>
          <d4p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d4p1:LastModified>
          <d4p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d4p1:OrderGUID>
          <d4p1:OrderPartId>2</d4p1:OrderPartId>
          <d4p1:OrderPartOptionID>1</d4p1:OrderPartOptionID>
          <d4p1:Price>1</d4p1:Price>
          <d4p1:ProductID>9</d4p1:ProductID>
          <d4p1:ProductName>sample string 8</d4p1:ProductName>
          <d4p1:ProductOptionID>3</d4p1:ProductOptionID>
          <d4p1:UserID>6</d4p1:UserID>
        </d4p1:OrderPartOptionDto>
      </BoxItems>
      <DelInd>true</DelInd>
      <OrderGUID>0b008b38-fb00-46c6-9f12-e7d39cbf9160</OrderGUID>
      <OrderPartId>2</OrderPartId>
      <Price>1</Price>
      <ProductID>1</ProductID>
      <ProductName>sample string 3</ProductName>
      <Qty>1</Qty>
      <Total>1</Total>
    </OrderPartModel>
  </orderParts>
  <takeAwayOrder xmlns:d2p1="http://schemas.datacontract.org/2004/07/TCB.Entity.Dtos">
    <d2p1:Amount>1</d2p1:Amount>
    <d2p1:CollectionTime>1</d2p1:CollectionTime>
    <d2p1:Confirmed>true</d2p1:Confirmed>
    <d2p1:CustomerId>25</d2p1:CustomerId>
    <d2p1:Delivered>true</d2p1:Delivered>
    <d2p1:DeliveryCharges>1</d2p1:DeliveryCharges>
    <d2p1:Message>sample string 20</d2p1:Message>
    <d2p1:OrderGUID>92c91f52-8203-48c3-9c41-30bad664725c</d2p1:OrderGUID>
    <d2p1:OrderNumber>sample string 16</d2p1:OrderNumber>
    <d2p1:OrderStatus>sample string 23</d2p1:OrderStatus>
    <d2p1:OutForDelivery>true</d2p1:OutForDelivery>
    <d2p1:PaymentType>sample string 17</d2p1:PaymentType>
    <d2p1:Restaurant>sample string 21</d2p1:Restaurant>
    <d2p1:VendorTxCode>sample string 18</d2p1:VendorTxCode>
    <d2p1:bDelivered>true</d2p1:bDelivered>
    <d2p1:bDelivery>true</d2p1:bDelivery>
    <d2p1:bDownLoaded>true</d2p1:bDownLoaded>
    <d2p1:bHasBeenCollected>true</d2p1:bHasBeenCollected>
    <d2p1:bHasPrinted>true</d2p1:bHasPrinted>
    <d2p1:bPaid>true</d2p1:bPaid>
    <d2p1:bReservation>true</d2p1:bReservation>
    <d2p1:bTakeAway>true</d2p1:bTakeAway>
    <d2p1:delInd>true</d2p1:delInd>
    <d2p1:dtDateCreated>2025-10-25T12:08:26.4583794+01:00</d2p1:dtDateCreated>
    <d2p1:dtLastModified>2025-10-25T12:08:26.4583794+01:00</d2p1:dtLastModified>
    <d2p1:fOrderTotal>1.1</d2p1:fOrderTotal>
    <d2p1:iRestaurantID>2</d2p1:iRestaurantID>
    <d2p1:iTakeAwayId>1</d2p1:iTakeAwayId>
    <d2p1:orderParts>
      <OrderPartModel>
        <BoxItems>
          <d2p1:OrderPartOptionDto>
            <d2p1:DelInd>true</d2p1:DelInd>
            <d2p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d2p1:LastModified>
            <d2p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d2p1:OrderGUID>
            <d2p1:OrderPartId>2</d2p1:OrderPartId>
            <d2p1:OrderPartOptionID>1</d2p1:OrderPartOptionID>
            <d2p1:Price>1</d2p1:Price>
            <d2p1:ProductID>9</d2p1:ProductID>
            <d2p1:ProductName>sample string 8</d2p1:ProductName>
            <d2p1:ProductOptionID>3</d2p1:ProductOptionID>
            <d2p1:UserID>6</d2p1:UserID>
          </d2p1:OrderPartOptionDto>
          <d2p1:OrderPartOptionDto>
            <d2p1:DelInd>true</d2p1:DelInd>
            <d2p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d2p1:LastModified>
            <d2p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d2p1:OrderGUID>
            <d2p1:OrderPartId>2</d2p1:OrderPartId>
            <d2p1:OrderPartOptionID>1</d2p1:OrderPartOptionID>
            <d2p1:Price>1</d2p1:Price>
            <d2p1:ProductID>9</d2p1:ProductID>
            <d2p1:ProductName>sample string 8</d2p1:ProductName>
            <d2p1:ProductOptionID>3</d2p1:ProductOptionID>
            <d2p1:UserID>6</d2p1:UserID>
          </d2p1:OrderPartOptionDto>
        </BoxItems>
        <DelInd>true</DelInd>
        <OrderGUID>0b008b38-fb00-46c6-9f12-e7d39cbf9160</OrderGUID>
        <OrderPartId>2</OrderPartId>
        <Price>1</Price>
        <ProductID>1</ProductID>
        <ProductName>sample string 3</ProductName>
        <Qty>1</Qty>
        <Total>1</Total>
      </OrderPartModel>
      <OrderPartModel>
        <BoxItems>
          <d2p1:OrderPartOptionDto>
            <d2p1:DelInd>true</d2p1:DelInd>
            <d2p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d2p1:LastModified>
            <d2p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d2p1:OrderGUID>
            <d2p1:OrderPartId>2</d2p1:OrderPartId>
            <d2p1:OrderPartOptionID>1</d2p1:OrderPartOptionID>
            <d2p1:Price>1</d2p1:Price>
            <d2p1:ProductID>9</d2p1:ProductID>
            <d2p1:ProductName>sample string 8</d2p1:ProductName>
            <d2p1:ProductOptionID>3</d2p1:ProductOptionID>
            <d2p1:UserID>6</d2p1:UserID>
          </d2p1:OrderPartOptionDto>
          <d2p1:OrderPartOptionDto>
            <d2p1:DelInd>true</d2p1:DelInd>
            <d2p1:LastModified>2025-10-25T12:08:26.4583794+01:00</d2p1:LastModified>
            <d2p1:OrderGUID>524f0d33-25ac-410b-a9f6-a2b92a456845</d2p1:OrderGUID>
            <d2p1:OrderPartId>2</d2p1:OrderPartId>
            <d2p1:OrderPartOptionID>1</d2p1:OrderPartOptionID>
            <d2p1:Price>1</d2p1:Price>
            <d2p1:ProductID>9</d2p1:ProductID>
            <d2p1:ProductName>sample string 8</d2p1:ProductName>
            <d2p1:ProductOptionID>3</d2p1:ProductOptionID>
            <d2p1:UserID>6</d2p1:UserID>
          </d2p1:OrderPartOptionDto>
        </BoxItems>
        <DelInd>true</DelInd>
        <OrderGUID>0b008b38-fb00-46c6-9f12-e7d39cbf9160</OrderGUID>
        <OrderPartId>2</OrderPartId>
        <Price>1</Price>
        <ProductID>1</ProductID>
        <ProductName>sample string 3</ProductName>
        <Qty>1</Qty>
        <Total>1</Total>
      </OrderPartModel>
    </d2p1:orderParts>
    <d2p1:vCustomerEmail>sample string 8</d2p1:vCustomerEmail>
    <d2p1:vCustomerName>sample string 3</d2p1:vCustomerName>
    <d2p1:vCustomerPhone>sample string 7</d2p1:vCustomerPhone>
    <d2p1:vFullAddress>sample string 5</d2p1:vFullAddress>
    <d2p1:vHouseNumber>sample string 4</d2p1:vHouseNumber>
    <d2p1:vLatitude>sample string 14</d2p1:vLatitude>
    <d2p1:vLongitude>sample string 15</d2p1:vLongitude>
    <d2p1:vPostCode>sample string 6</d2p1:vPostCode>
  </takeAwayOrder>
</OrderModel>
        application/x-www-form-urlencoded
            Sample:
    
        
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
            Sample:
                    
Sample not available.