POST api/Inventory/test

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Inventory
NameDescriptionTypeAdditional information
code

string

None.

msg

string

None.

data

Collection of InventoryList

None.

Response Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "msg": "sample string 2",
  "data": [
    {
      "shop_id": 1,
      "Hold_Quantity": 2.1,
      "Product_code": "sample string 3",
      "Product_price": 4.1,
      "product_item_id": 5,
      "quantity": 6.1
    },
    {
      "shop_id": 1,
      "Hold_Quantity": 2.1,
      "Product_code": "sample string 3",
      "Product_price": 4.1,
      "product_item_id": 5,
      "quantity": 6.1
    }
  ]
}

text/xml

Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models">
  <code>sample string 1</code>
  <data>
    <InventoryList>
      <Hold_Quantity>2.1</Hold_Quantity>
      <Product_code>sample string 3</Product_code>
      <Product_price>4.1</Product_price>
      <product_item_id>5</product_item_id>
      <quantity>6.1</quantity>
      <shop_id>1</shop_id>
    </InventoryList>
    <InventoryList>
      <Hold_Quantity>2.1</Hold_Quantity>
      <Product_code>sample string 3</Product_code>
      <Product_price>4.1</Product_price>
      <product_item_id>5</product_item_id>
      <quantity>6.1</quantity>
      <shop_id>1</shop_id>
    </InventoryList>
  </data>
  <msg>sample string 2</msg>
</Inventory>