POST api/Orders/GetOrderbyIndexedDborderid

Request Information

URI Parameters

None.

Body Parameters

GetBaseOrderRequest
NameDescriptionTypeAdditional information
BusinessId

integer

None.

listofsync

Collection of Storedata

None.

indexedDbOrderId

string

None.

BusinessAddressId

integer

None.

Id

integer

None.

ActionIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ActionIds": [
    1,
    2
  ],
  "BusinessId": 1,
  "listofsync": [
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-20T14:31:06.3957205+00:00"
    },
    {
      "TableName": "sample string 1",
      "LastSync": "2026-03-20T14:31:06.3957205+00:00"
    }
  ],
  "indexedDbOrderId": "sample string 1",
  "BusinessAddressId": 1,
  "Id": 1
}

application/xml, text/xml

Sample:
<GetBaseOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <Id>1</Id>
  <ActionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ActionIds>
  <BusinessAddressId>1</BusinessAddressId>
  <BusinessId>1</BusinessId>
  <indexedDbOrderId>sample string 1</indexedDbOrderId>
  <listofsync>
    <Storedata>
      <LastSync>2026-03-20T14:31:06.3957205+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
    <Storedata>
      <LastSync>2026-03-20T14:31:06.3957205+00:00</LastSync>
      <TableName>sample string 1</TableName>
    </Storedata>
  </listofsync>
</GetBaseOrderRequest>

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

Response Information

Resource Description

GetBaseOrderResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Token

globally unique identifier

None.

BaseObjects

Collection of BaseOrderModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Token": "d1804f35-0f34-4974-9729-fb85c24bbc08",
  "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-20T14:31:06.3957205+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 16",
      "IpAddress": "sample string 17",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:31:06.4112939+00:00",
      "LastUpdated": "2026-03-20T14:31:06.4112939+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-20T14:31:06.3957205+00:00",
      "ApplicationFee": 1.0,
      "UserAgent": "sample string 16",
      "IpAddress": "sample string 17",
      "CreatedBy": 1,
      "ModifiedBy": 1,
      "CreatedDate": "2026-03-20T14:31:06.4112939+00:00",
      "LastUpdated": "2026-03-20T14:31:06.4112939+00:00",
      "Id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<GetBaseOrderResponse 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-20T14:31:06.4112939+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:31:06.4112939+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-20T14:31:06.3957205+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-20T14:31:06.4112939+00:00</d2p1:CreatedDate>
      <d2p1:LastUpdated>2026-03-20T14:31:06.4112939+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-20T14:31:06.3957205+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>
  <Message>sample string 2</Message>
  <Status>true</Status>
  <Token>d1804f35-0f34-4974-9729-fb85c24bbc08</Token>
</GetBaseOrderResponse>