POST api/Inventories/SaveInventories

Request Information

URI Parameters

None.

Body Parameters

Inventory
NameDescriptionTypeAdditional information
inventoryQuantity

Collection of InventoryQuantity

None.

pocId

string

None.

user

string

None.

image

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "inventoryQuantity": [
    {
      "brand": "sample string 1",
      "quantity": 2
    },
    {
      "brand": "sample string 1",
      "quantity": 2
    }
  ],
  "pocId": "sample string 1",
  "user": "sample string 2",
  "image": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<InventoriesController.Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Controllers">
  <image xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </image>
  <inventoryQuantity>
    <InventoriesController.InventoryQuantity>
      <brand>sample string 1</brand>
      <quantity>2</quantity>
    </InventoriesController.InventoryQuantity>
    <InventoriesController.InventoryQuantity>
      <brand>sample string 1</brand>
      <quantity>2</quantity>
    </InventoriesController.InventoryQuantity>
  </inventoryQuantity>
  <pocId>sample string 1</pocId>
  <user>sample string 2</user>
</InventoriesController.Inventory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

API_Response
NameDescriptionTypeAdditional information
response_code

string

None.

response_text

string

None.

response_description

string

None.

transactionId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "response_code": "sample string 1",
  "response_text": "sample string 2",
  "response_description": "sample string 3",
  "transactionId": "sample string 4"
}

application/xml, text/xml

Sample:
<API_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <response_code>sample string 1</response_code>
  <response_description>sample string 3</response_description>
  <response_text>sample string 2</response_text>
  <transactionId>sample string 4</transactionId>
</API_Response>