POST {Company}/api/Inventory/RequestInventory

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Company

string

None.

Body Parameters

InventoryRequestModel
NameDescriptionTypeAdditional information
usrHash

string

Required

InventoryTypeCode

string

Required

currencyCode

string

Required

inventoryIds

Collection of string

Required

comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "usrHash": "sample string 1",
  "InventoryTypeCode": "sample string 2",
  "currencyCode": "sample string 3",
  "inventoryIds": [
    "sample string 1",
    "sample string 2"
  ],
  "comments": "sample string 4"
}

application/xml, text/xml

Sample:
<InventoryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WholesaleSiteApi.Models">
  <InventoryTypeCode>sample string 2</InventoryTypeCode>
  <comments>sample string 4</comments>
  <currencyCode>sample string 3</currencyCode>
  <inventoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </inventoryIds>
  <usrHash>sample string 1</usrHash>
</InventoryRequestModel>

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.