POST api/InventoryCounting/Post

Request Information

URI Parameters

None.

Body Parameters

InventoryCountingModel
NameDescriptionTypeAdditional information
Remarks

string

None.

Lines

Collection of InventoryCountingLine

None.

Request Formats

application/json, text/json

Sample:
{
  "Remarks": "sample string 1",
  "Lines": [
    {
      "ItemCode": "sample string 1",
      "WhsCode": "sample string 2",
      "BinCode": "sample string 3",
      "CountedQty": 4.1
    },
    {
      "ItemCode": "sample string 1",
      "WhsCode": "sample string 2",
      "BinCode": "sample string 3",
      "CountedQty": 4.1
    }
  ]
}

application/xml, text/xml

Sample:
<InventoryCountingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTS_API.Controllers">
  <Lines>
    <InventoryCountingLine>
      <BinCode>sample string 3</BinCode>
      <CountedQty>4.1</CountedQty>
      <ItemCode>sample string 1</ItemCode>
      <WhsCode>sample string 2</WhsCode>
    </InventoryCountingLine>
    <InventoryCountingLine>
      <BinCode>sample string 3</BinCode>
      <CountedQty>4.1</CountedQty>
      <ItemCode>sample string 1</ItemCode>
      <WhsCode>sample string 2</WhsCode>
    </InventoryCountingLine>
  </Lines>
  <Remarks>sample string 1</Remarks>
</InventoryCountingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.