POST api/Orders/GetOrders

Request Information

URI Parameters

None.

Body Parameters

GetOrdersRequest
NameDescriptionTypeAdditional information
BusinessId

integer

None.

Token

globally unique identifier

None.

UserId

integer

None.

BusinessAddressId

integer

None.

listofsync

Collection of Storedata

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "Token": "3450e19f-ca80-488c-bd1a-d24c5ffc7fcb",
  "UserId": 1,
  "BusinessAddressId": 1,
  "listofsync": [
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-20T14:31:18.0855145+00:00"
    },
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-20T14:31:18.0855145+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<GetOrdersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <BusinessAddressId>1</BusinessAddressId>
  <BusinessId>1</BusinessId>
  <Token>3450e19f-ca80-488c-bd1a-d24c5ffc7fcb</Token>
  <UserId>1</UserId>
  <listofsync>
    <Storedata>
      <LastSync>2026-03-20T14:31:18.0855145+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
    <Storedata>
      <LastSync>2026-03-20T14:31:18.0855145+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
  </listofsync>
</GetOrdersRequest>

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 'GetOrdersRequest'.

Response Information

Resource Description

GetBaseEposOrderResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Token

globally unique identifier

None.

BaseObjects

Collection of BaseEposOrderModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Token": "759ad5cc-13e8-4d0b-8555-b83fd6de62ad",
  "BaseObjects": [
    {
      "Id": "sample string 1",
      "DeliveryCharge": 1.0,
      "BusinessId": 1,
      "OrdersTypeId": 1,
      "OrderNo": 1,
      "OrdersActionId": 1,
      "OrdersMessageId": 1,
      "OrdersReasonId": 1,
      "OrderNotes": "sample string 2",
      "CustomerId": 1,
      "CustomerName": "sample string 3",
      "TableNo": 1,
      "TotalPrice": 1.0,
      "BusinessAddressId": 1,
      "AddressLine1": "sample string 4",
      "AddressLine2": "sample string 5",
      "AddressLine3": "sample string 6",
      "Town": "sample string 7",
      "County": "sample string 8",
      "Country": "sample string 9",
      "PostCode": "sample string 10",
      "PrintStatus": 1,
      "DiscountTotal": 1.0,
      "TGorderid": 11,
      "Issyncorder": true,
      "Points": 13,
      "PointsEstimated": true,
      "ServiceCharge": 1.0,
      "TableName": "sample string 15",
      "indexedDbOrderId": "sample string 16",
      "OrderId": 1,
      "PreOrderDate": "2026-03-20T14:31:18.0855145+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 17",
      "IpAddress": "sample string 18",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:31:18.0855145+00:00",
      "LastUpdated": "2026-03-20T14:31:18.0855145+00:00"
    },
    {
      "Id": "sample string 1",
      "DeliveryCharge": 1.0,
      "BusinessId": 1,
      "OrdersTypeId": 1,
      "OrderNo": 1,
      "OrdersActionId": 1,
      "OrdersMessageId": 1,
      "OrdersReasonId": 1,
      "OrderNotes": "sample string 2",
      "CustomerId": 1,
      "CustomerName": "sample string 3",
      "TableNo": 1,
      "TotalPrice": 1.0,
      "BusinessAddressId": 1,
      "AddressLine1": "sample string 4",
      "AddressLine2": "sample string 5",
      "AddressLine3": "sample string 6",
      "Town": "sample string 7",
      "County": "sample string 8",
      "Country": "sample string 9",
      "PostCode": "sample string 10",
      "PrintStatus": 1,
      "DiscountTotal": 1.0,
      "TGorderid": 11,
      "Issyncorder": true,
      "Points": 13,
      "PointsEstimated": true,
      "ServiceCharge": 1.0,
      "TableName": "sample string 15",
      "indexedDbOrderId": "sample string 16",
      "OrderId": 1,
      "PreOrderDate": "2026-03-20T14:31:18.0855145+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 17",
      "IpAddress": "sample string 18",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:31:18.0855145+00:00",
      "LastUpdated": "2026-03-20T14:31:18.0855145+00:00"
    }
  ]
}

application/xml, text/xml

Sample:
<GetBaseEposOrderResponse 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:BaseEposOrderModel>
      <d2p1:AddressLine1>sample string 4</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 5</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 6</d2p1:AddressLine3>
      <d2p1:ApplicationFee>1</d2p1:ApplicationFee>
      <d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:Country>sample string 9</d2p1:Country>
      <d2p1:County>sample string 8</d2p1:County>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-03-20T14:31:18.0855145+00:00</d2p1:CreatedDate>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 3</d2p1:CustomerName>
      <d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
      <d2p1:DiscountTotal>1</d2p1:DiscountTotal>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IpAddress>sample string 18</d2p1:IpAddress>
      <d2p1:Issyncorder>true</d2p1:Issyncorder>
      <d2p1:LastUpdated>2026-03-20T14:31:18.0855145+00:00</d2p1:LastUpdated>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>1</d2p1:OrderNo>
      <d2p1:OrderNotes>sample string 2</d2p1:OrderNotes>
      <d2p1:OrdersActionId>1</d2p1:OrdersActionId>
      <d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
      <d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
      <d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
      <d2p1:Points>13</d2p1:Points>
      <d2p1:PointsEstimated>true</d2p1:PointsEstimated>
      <d2p1:PostCode>sample string 10</d2p1:PostCode>
      <d2p1:PreOrderDate>2026-03-20T14:31:18.0855145+00:00</d2p1:PreOrderDate>
      <d2p1:PrintStatus>1</d2p1:PrintStatus>
      <d2p1:ServiceCharge>1</d2p1:ServiceCharge>
      <d2p1:TGorderid>11</d2p1:TGorderid>
      <d2p1:TableName>sample string 15</d2p1:TableName>
      <d2p1:TableNo>1</d2p1:TableNo>
      <d2p1:TotalPrice>1</d2p1:TotalPrice>
      <d2p1:Town>sample string 7</d2p1:Town>
      <d2p1:UserAgent>sample string 17</d2p1:UserAgent>
      <d2p1:indexedDbOrderId>sample string 16</d2p1:indexedDbOrderId>
    </d2p1:BaseEposOrderModel>
    <d2p1:BaseEposOrderModel>
      <d2p1:AddressLine1>sample string 4</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 5</d2p1:AddressLine2>
      <d2p1:AddressLine3>sample string 6</d2p1:AddressLine3>
      <d2p1:ApplicationFee>1</d2p1:ApplicationFee>
      <d2p1:BusinessAddressId>1</d2p1:BusinessAddressId>
      <d2p1:BusinessId>1</d2p1:BusinessId>
      <d2p1:Country>sample string 9</d2p1:Country>
      <d2p1:County>sample string 8</d2p1:County>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:CreatedDate>2026-03-20T14:31:18.0855145+00:00</d2p1:CreatedDate>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 3</d2p1:CustomerName>
      <d2p1:DeliveryCharge>1</d2p1:DeliveryCharge>
      <d2p1:DiscountTotal>1</d2p1:DiscountTotal>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IpAddress>sample string 18</d2p1:IpAddress>
      <d2p1:Issyncorder>true</d2p1:Issyncorder>
      <d2p1:LastUpdated>2026-03-20T14:31:18.0855145+00:00</d2p1:LastUpdated>
      <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:OrderNo>1</d2p1:OrderNo>
      <d2p1:OrderNotes>sample string 2</d2p1:OrderNotes>
      <d2p1:OrdersActionId>1</d2p1:OrdersActionId>
      <d2p1:OrdersMessageId>1</d2p1:OrdersMessageId>
      <d2p1:OrdersReasonId>1</d2p1:OrdersReasonId>
      <d2p1:OrdersTypeId>1</d2p1:OrdersTypeId>
      <d2p1:Points>13</d2p1:Points>
      <d2p1:PointsEstimated>true</d2p1:PointsEstimated>
      <d2p1:PostCode>sample string 10</d2p1:PostCode>
      <d2p1:PreOrderDate>2026-03-20T14:31:18.0855145+00:00</d2p1:PreOrderDate>
      <d2p1:PrintStatus>1</d2p1:PrintStatus>
      <d2p1:ServiceCharge>1</d2p1:ServiceCharge>
      <d2p1:TGorderid>11</d2p1:TGorderid>
      <d2p1:TableName>sample string 15</d2p1:TableName>
      <d2p1:TableNo>1</d2p1:TableNo>
      <d2p1:TotalPrice>1</d2p1:TotalPrice>
      <d2p1:Town>sample string 7</d2p1:Town>
      <d2p1:UserAgent>sample string 17</d2p1:UserAgent>
      <d2p1:indexedDbOrderId>sample string 16</d2p1:indexedDbOrderId>
    </d2p1:BaseEposOrderModel>
  </BaseObjects>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <Token>759ad5cc-13e8-4d0b-8555-b83fd6de62ad</Token>
</GetBaseEposOrderResponse>