POST inventory

Request Information

URI Parameters

None.

Body Parameters

DTOInventory
NameDescriptionTypeAdditional information
is_tracked

boolean

None.

vendor_id

integer

None.

cost

decimal number

None.

desc

string

None.

id

string

None.

unit

string

None.

wares

string

None.

qoh

integer

None.

price

decimal number

None.

is_floating_qty

integer

None.

floating_qty

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "is_tracked": true,
  "vendor_id": 2,
  "cost": 3.1,
  "desc": "sample string 4",
  "id": "sample string 5",
  "unit": "sample string 6",
  "wares": "sample string 7",
  "qoh": 8,
  "price": 9.1,
  "is_floating_qty": 10,
  "floating_qty": 11.1
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DTOInventory'.

Response Information

Resource Description

None.