POST api/Orders/UpdatePOSlistorders

Request Information

URI Parameters

None.

Body Parameters

UpsertOrderlistrequest
NameDescriptionTypeAdditional information
orders

Collection of BaseOrderModel

None.

BaseObjects

Collection of BaseOrderModel

None.

Request Formats

application/json, text/json

Sample:
{
  "orders": [
    {
      "DeliveryCharge": 1.0,
      "BusinessId": 1,
      "OrdersTypeId": 1,
      "OrderNo": 1,
      "OrdersActionId": 1,
      "OrdersMessageId": 1,
      "OrdersReasonId": 1,
      "OrderNotes": "sample string 1",
      "CustomerId": 1,
      "CustomerName": "sample string 2",
      "TableNo": 1,
      "TotalPrice": 1.0,
      "BusinessAddressId": 1,
      "AddressLine1": "sample string 3",
      "AddressLine2": "sample string 4",
      "AddressLine3": "sample string 5",
      "Town": "sample string 6",
      "County": "sample string 7",
      "Country": "sample string 8",
      "PostCode": "sample string 9",
      "PrintStatus": 1,
      "DiscountTotal": 1.0,
      "TGorderid": 10,
      "Issyncorder": true,
      "Points": 12,
      "PointsEstimated": true,
      "ServiceCharge": 1.0,
      "TableName": "sample string 14",
      "indexedDbOrderId": "sample string 15",
      "OrderId": 1,
      "PreOrderDate": "2026-03-22T09:04:52.6231875+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 16",
      "IpAddress": "sample string 17",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-22T09:04:52.6231875+00:00",
      "LastUpdated": "2026-03-22T09:04:52.6231875+00:00",
      "Id": 1
    },
    {
      "DeliveryCharge": 1.0,
      "BusinessId": 1,
      "OrdersTypeId": 1,
      "OrderNo": 1,
      "OrdersActionId": 1,
      "OrdersMessageId": 1,
      "OrdersReasonId": 1,
      "OrderNotes": "sample string 1",
      "CustomerId": 1,
      "CustomerName": "sample string 2",
      "TableNo": 1,
      "TotalPrice": 1.0,
      "BusinessAddressId": 1,
      "AddressLine1": "sample string 3",
      "AddressLine2": "sample string 4",
      "AddressLine3": "sample string 5",
      "Town": "sample string 6",
      "County": "sample string 7",
      "Country": "sample string 8",
      "PostCode": "sample string 9",
      "PrintStatus": 1,
      "DiscountTotal": 1.0,
      "TGorderid": 10,
      "Issyncorder": true,
      "Points": 12,
      "PointsEstimated": true,
      "ServiceCharge": 1.0,
      "TableName": "sample string 14",
      "indexedDbOrderId": "sample string 15",
      "OrderId": 1,
      "PreOrderDate": "2026-03-22T09:04:52.6231875+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 16",
      "IpAddress": "sample string 17",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-22T09:04:52.6231875+00:00",
      "LastUpdated": "2026-03-22T09:04:52.6231875+00:00",
      "Id": 1
    }
  ],
  "BaseObjects": [
    {
      "DeliveryCharge": 1.0,
      "BusinessId": 1,
      "OrdersTypeId": 1,
      "OrderNo": 1,
      "OrdersActionId": 1,
      "OrdersMessageId": 1,
      "OrdersReasonId": 1,
      "OrderNotes": "sample string 1",
      "CustomerId": 1,
      "CustomerName": "sample string 2",
      "TableNo": 1,
      "TotalPrice": 1.0,
      "BusinessAddressId": 1,
      "AddressLine1": "sample string 3",
      "AddressLine2": "sample string 4",
      "AddressLine3": "sample string 5",
      "Town": "sample string 6",
      "County": "sample string 7",
      "Country": "sample string 8",
      "PostCode": "sample string 9",
      "PrintStatus": 1,
      "DiscountTotal": 1.0,
      "TGorderid": 10,
      "Issyncorder": true,
      "Points": 12,
      "PointsEstimated": true,
      "ServiceCharge": 1.0,
      "TableName": "sample string 14",
      "indexedDbOrderId": "sample string 15",
      "OrderId": 1,
      "PreOrderDate": "2026-03-22T09:04:52.6231875+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 16",
      "IpAddress": "sample string 17",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-22T09:04:52.6231875+00:00",
      "LastUpdated": "2026-03-22T09:04:52.6231875+00:00",
      "Id": 1
    },
    {
      "DeliveryCharge": 1.0,
      "BusinessId": 1,
      "OrdersTypeId": 1,
      "OrderNo": 1,
      "OrdersActionId": 1,
      "OrdersMessageId": 1,
      "OrdersReasonId": 1,
      "OrderNotes": "sample string 1",
      "CustomerId": 1,
      "CustomerName": "sample string 2",
      "TableNo": 1,
      "TotalPrice": 1.0,
      "BusinessAddressId": 1,
      "AddressLine1": "sample string 3",
      "AddressLine2": "sample string 4",
      "AddressLine3": "sample string 5",
      "Town": "sample string 6",
      "County": "sample string 7",
      "Country": "sample string 8",
      "PostCode": "sample string 9",
      "PrintStatus": 1,
      "DiscountTotal": 1.0,
      "TGorderid": 10,
      "Issyncorder": true,
      "Points": 12,
      "PointsEstimated": true,
      "ServiceCharge": 1.0,
      "TableName": "sample string 14",
      "indexedDbOrderId": "sample string 15",
      "OrderId": 1,
      "PreOrderDate": "2026-03-22T09:04:52.6231875+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 16",
      "IpAddress": "sample string 17",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-22T09:04:52.6231875+00:00",
      "LastUpdated": "2026-03-22T09:04:52.6231875+00:00",
      "Id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<UpsertOrderlistrequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
    <d2p1:BaseOrderModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-22T09:04:52.6231875+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-22T09:04:52.6231875+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
      <d2p1:ApplicationFee>1</d2p1:ApplicationFee>
      <d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:Country>sample string 8</d2p1:Country>
      <d2p1:County>sample string 7</d2p1:County>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 2</d2p1:CustomerName>
      <d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
      <d2p1:DiscountTotal>1</d2p1:DiscountTotal>
      <d2p1:IpAddress>sample string 17</d2p1:IpAddress>
      <d2p1:Issyncorder>true</d2p1:Issyncorder>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>1</d2p1:OrderNo>
      <d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
      <d2p1:OrdersActionId>1</d2p1:OrdersActionId>
      <d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
      <d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
      <d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
      <d2p1:Points>12</d2p1:Points>
      <d2p1:PointsEstimated>true</d2p1:PointsEstimated>
      <d2p1:PostCode>sample string 9</d2p1:PostCode>
      <d2p1:PreOrderDate>2026-03-22T09:04:52.6231875+00:00</d2p1:PreOrderDate>
      <d2p1:PrintStatus>1</d2p1:PrintStatus>
      <d2p1:ServiceCharge>1</d2p1:ServiceCharge>
      <d2p1:TGorderid>10</d2p1:TGorderid>
      <d2p1:TableName>sample string 14</d2p1:TableName>
      <d2p1:TableNo>1</d2p1:TableNo>
      <d2p1:TotalPrice>1</d2p1:TotalPrice>
      <d2p1:Town>sample string 6</d2p1:Town>
      <d2p1:UserAgent>sample string 16</d2p1:UserAgent>
      <d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
    </d2p1:BaseOrderModel>
    <d2p1:BaseOrderModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-22T09:04:52.6231875+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-22T09:04:52.6231875+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
      <d2p1:ApplicationFee>1</d2p1:ApplicationFee>
      <d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:Country>sample string 8</d2p1:Country>
      <d2p1:County>sample string 7</d2p1:County>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 2</d2p1:CustomerName>
      <d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
      <d2p1:DiscountTotal>1</d2p1:DiscountTotal>
      <d2p1:IpAddress>sample string 17</d2p1:IpAddress>
      <d2p1:Issyncorder>true</d2p1:Issyncorder>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>1</d2p1:OrderNo>
      <d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
      <d2p1:OrdersActionId>1</d2p1:OrdersActionId>
      <d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
      <d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
      <d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
      <d2p1:Points>12</d2p1:Points>
      <d2p1:PointsEstimated>true</d2p1:PointsEstimated>
      <d2p1:PostCode>sample string 9</d2p1:PostCode>
      <d2p1:PreOrderDate>2026-03-22T09:04:52.6231875+00:00</d2p1:PreOrderDate>
      <d2p1:PrintStatus>1</d2p1:PrintStatus>
      <d2p1:ServiceCharge>1</d2p1:ServiceCharge>
      <d2p1:TGorderid>10</d2p1:TGorderid>
      <d2p1:TableName>sample string 14</d2p1:TableName>
      <d2p1:TableNo>1</d2p1:TableNo>
      <d2p1:TotalPrice>1</d2p1:TotalPrice>
      <d2p1:Town>sample string 6</d2p1:Town>
      <d2p1:UserAgent>sample string 16</d2p1:UserAgent>
      <d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
    </d2p1:BaseOrderModel>
  </BaseObjects>
  <orders xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
    <d2p1:BaseOrderModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-22T09:04:52.6231875+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-22T09:04:52.6231875+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
      <d2p1:ApplicationFee>1</d2p1:ApplicationFee>
      <d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:Country>sample string 8</d2p1:Country>
      <d2p1:County>sample string 7</d2p1:County>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 2</d2p1:CustomerName>
      <d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
      <d2p1:DiscountTotal>1</d2p1:DiscountTotal>
      <d2p1:IpAddress>sample string 17</d2p1:IpAddress>
      <d2p1:Issyncorder>true</d2p1:Issyncorder>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>1</d2p1:OrderNo>
      <d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
      <d2p1:OrdersActionId>1</d2p1:OrdersActionId>
      <d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
      <d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
      <d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
      <d2p1:Points>12</d2p1:Points>
      <d2p1:PointsEstimated>true</d2p1:PointsEstimated>
      <d2p1:PostCode>sample string 9</d2p1:PostCode>
      <d2p1:PreOrderDate>2026-03-22T09:04:52.6231875+00:00</d2p1:PreOrderDate>
      <d2p1:PrintStatus>1</d2p1:PrintStatus>
      <d2p1:ServiceCharge>1</d2p1:ServiceCharge>
      <d2p1:TGorderid>10</d2p1:TGorderid>
      <d2p1:TableName>sample string 14</d2p1:TableName>
      <d2p1:TableNo>1</d2p1:TableNo>
      <d2p1:TotalPrice>1</d2p1:TotalPrice>
      <d2p1:Town>sample string 6</d2p1:Town>
      <d2p1:UserAgent>sample string 16</d2p1:UserAgent>
      <d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
    </d2p1:BaseOrderModel>
    <d2p1:BaseOrderModel>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:CreatedDate>2026-03-22T09:04:52.6231875+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-22T09:04:52.6231875+00:00</d2p1:LastUpdated>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:AddressLine1>sample string 3</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 4</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 5</d2p1:AddressLine3>
      <d2p1:ApplicationFee>1</d2p1:ApplicationFee>
      <d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:Country>sample string 8</d2p1:Country>
      <d2p1:County>sample string 7</d2p1:County>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 2</d2p1:CustomerName>
      <d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
      <d2p1:DiscountTotal>1</d2p1:DiscountTotal>
      <d2p1:IpAddress>sample string 17</d2p1:IpAddress>
      <d2p1:Issyncorder>true</d2p1:Issyncorder>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>1</d2p1:OrderNo>
      <d2p1:OrderNotes>sample string 1</d2p1:OrderNotes>
      <d2p1:OrdersActionId>1</d2p1:OrdersActionId>
      <d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
      <d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
      <d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
      <d2p1:Points>12</d2p1:Points>
      <d2p1:PointsEstimated>true</d2p1:PointsEstimated>
      <d2p1:PostCode>sample string 9</d2p1:PostCode>
      <d2p1:PreOrderDate>2026-03-22T09:04:52.6231875+00:00</d2p1:PreOrderDate>
      <d2p1:PrintStatus>1</d2p1:PrintStatus>
      <d2p1:ServiceCharge>1</d2p1:ServiceCharge>
      <d2p1:TGorderid>10</d2p1:TGorderid>
      <d2p1:TableName>sample string 14</d2p1:TableName>
      <d2p1:TableNo>1</d2p1:TableNo>
      <d2p1:TotalPrice>1</d2p1:TotalPrice>
      <d2p1:Town>sample string 6</d2p1:Town>
      <d2p1:UserAgent>sample string 16</d2p1:UserAgent>
      <d2p1:indexedDbOrderId>sample string 15</d2p1:indexedDbOrderId>
    </d2p1:BaseOrderModel>
  </orders>
</UpsertOrderlistrequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpsertOrderlistrequest'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>