POST api/WarehouseProductSort/GetTablesSorting

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

text/html

Sample:
[1,2]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfListOfTableSortingModel
Name Description Type Additional information
Status

Status

None.

Data

Collection of TableSortingModel

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Data": [
    {
      "Id": 1,
      "TableId": 2,
      "MainItemBundleSize": 3,
      "MainItemBundleSortedQuantity": 4,
      "MainItemLooseSortedQuantity": 5,
      "BonusItemBundleSortedQuantity": 6,
      "BonusItemLooseSortedQuantity": 7,
      "BonusItemBundleSize": 8,
      "ProductId": 9,
      "ProductName": "sample string 10",
      "ProductShortName": "sample string 11",
      "MainItemBundleQuantity": 12,
      "MainItemLooseQuantity": 13,
      "BonusItemProductId": 1,
      "BonusItemBundleQuantity": 14,
      "BonusItemLooseQuantity": 15,
      "StatusId": 16,
      "ProblemText": "sample string 17"
    },
    {
      "Id": 1,
      "TableId": 2,
      "MainItemBundleSize": 3,
      "MainItemBundleSortedQuantity": 4,
      "MainItemLooseSortedQuantity": 5,
      "BonusItemBundleSortedQuantity": 6,
      "BonusItemLooseSortedQuantity": 7,
      "BonusItemBundleSize": 8,
      "ProductId": 9,
      "ProductName": "sample string 10",
      "ProductShortName": "sample string 11",
      "MainItemBundleQuantity": 12,
      "MainItemLooseQuantity": 13,
      "BonusItemProductId": 1,
      "BonusItemBundleQuantity": 14,
      "BonusItemLooseQuantity": 15,
      "StatusId": 16,
      "ProblemText": "sample string 17"
    }
  ],
  "Message": "sample string 1"
}

text/html

Sample:
{"Status":0,"Data":[{"Id":1,"TableId":2,"MainItemBundleSize":3,"MainItemBundleSortedQuantity":4,"MainItemLooseSortedQuantity":5,"BonusItemBundleSortedQuantity":6,"BonusItemLooseSortedQuantity":7,"BonusItemBundleSize":8,"ProductId":9,"ProductName":"sample string 10","ProductShortName":"sample string 11","MainItemBundleQuantity":12,"MainItemLooseQuantity":13,"BonusItemProductId":1,"BonusItemBundleQuantity":14,"BonusItemLooseQuantity":15,"StatusId":16,"ProblemText":"sample string 17"},{"Id":1,"TableId":2,"MainItemBundleSize":3,"MainItemBundleSortedQuantity":4,"MainItemLooseSortedQuantity":5,"BonusItemBundleSortedQuantity":6,"BonusItemLooseSortedQuantity":7,"BonusItemBundleSize":8,"ProductId":9,"ProductName":"sample string 10","ProductShortName":"sample string 11","MainItemBundleQuantity":12,"MainItemLooseQuantity":13,"BonusItemProductId":1,"BonusItemBundleQuantity":14,"BonusItemLooseQuantity":15,"StatusId":16,"ProblemText":"sample string 17"}],"Message":"sample string 1"}

application/xml, text/xml

Sample:
<ResponseOfArrayOfTableSortingModel6l1ihaMs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Utility.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DAO.Models.WarehouseProductSort">
    <d2p1:TableSortingModel>
      <d2p1:BonusItemBundleQuantity>14</d2p1:BonusItemBundleQuantity>
      <d2p1:BonusItemLooseQuantity>15</d2p1:BonusItemLooseQuantity>
      <d2p1:BonusItemProductId>1</d2p1:BonusItemProductId>
      <d2p1:MainItemBundleQuantity>12</d2p1:MainItemBundleQuantity>
      <d2p1:MainItemLooseQuantity>13</d2p1:MainItemLooseQuantity>
      <d2p1:ProblemText>sample string 17</d2p1:ProblemText>
      <d2p1:ProductId>9</d2p1:ProductId>
      <d2p1:ProductName>sample string 10</d2p1:ProductName>
      <d2p1:ProductShortName>sample string 11</d2p1:ProductShortName>
      <d2p1:StatusId>16</d2p1:StatusId>
      <d2p1:BonusItemBundleSize>8</d2p1:BonusItemBundleSize>
      <d2p1:BonusItemBundleSortedQuantity>6</d2p1:BonusItemBundleSortedQuantity>
      <d2p1:BonusItemLooseSortedQuantity>7</d2p1:BonusItemLooseSortedQuantity>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MainItemBundleSize>3</d2p1:MainItemBundleSize>
      <d2p1:MainItemBundleSortedQuantity>4</d2p1:MainItemBundleSortedQuantity>
      <d2p1:MainItemLooseSortedQuantity>5</d2p1:MainItemLooseSortedQuantity>
      <d2p1:TableId>2</d2p1:TableId>
    </d2p1:TableSortingModel>
    <d2p1:TableSortingModel>
      <d2p1:BonusItemBundleQuantity>14</d2p1:BonusItemBundleQuantity>
      <d2p1:BonusItemLooseQuantity>15</d2p1:BonusItemLooseQuantity>
      <d2p1:BonusItemProductId>1</d2p1:BonusItemProductId>
      <d2p1:MainItemBundleQuantity>12</d2p1:MainItemBundleQuantity>
      <d2p1:MainItemLooseQuantity>13</d2p1:MainItemLooseQuantity>
      <d2p1:ProblemText>sample string 17</d2p1:ProblemText>
      <d2p1:ProductId>9</d2p1:ProductId>
      <d2p1:ProductName>sample string 10</d2p1:ProductName>
      <d2p1:ProductShortName>sample string 11</d2p1:ProductShortName>
      <d2p1:StatusId>16</d2p1:StatusId>
      <d2p1:BonusItemBundleSize>8</d2p1:BonusItemBundleSize>
      <d2p1:BonusItemBundleSortedQuantity>6</d2p1:BonusItemBundleSortedQuantity>
      <d2p1:BonusItemLooseSortedQuantity>7</d2p1:BonusItemLooseSortedQuantity>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MainItemBundleSize>3</d2p1:MainItemBundleSize>
      <d2p1:MainItemBundleSortedQuantity>4</d2p1:MainItemBundleSortedQuantity>
      <d2p1:MainItemLooseSortedQuantity>5</d2p1:MainItemLooseSortedQuantity>
      <d2p1:TableId>2</d2p1:TableId>
    </d2p1:TableSortingModel>
  </Data>
  <Message>sample string 1</Message>
  <Status>Success</Status>
</ResponseOfArrayOfTableSortingModel6l1ihaMs>