POST api/inventory/{id}/onHand/set

Set Inventory values

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

InventoryIdentifier for inventory to set

globally unique identifier

Required

Body Parameters

Inventory Reset values

InventoryReset
NameDescriptionTypeAdditional information
InventoryGuid

Collection of byte

None.

InventoryIdentifier

Inventory identifier

globally unique identifier

None.

PLUG_UID

Collection of byte

None.

PluGuid

Product identifier

globally unique identifier

None.

OperatorG_UID

Collection of byte

None.

OperatorIdentifier

Operator identifier

globally unique identifier

None.

InventoryReason

Inventory reason to use

InventoryReasons

None.

OnHand

On Hand to be set

integer

None.

OnHandPacks

On Hand packs to be set

integer

None.

CreatedLocal

Created local time, if known

date

None.

Request Formats

application/json, text/json

Sample:
{
  "inventoryGuid": "V2o62GGzQUuMd1oqV996YQ==",
  "inventoryIdentifier": "d83a6a57-b361-4b41-8c77-5a2a57df7a61",
  "pluG_UID": "/c/A2tpuZk+GXTmApCCjQw==",
  "pluGuid": "dac0cffd-6eda-4f66-865d-3980a420a343",
  "operatorG_UID": "KfepCw4qA0+lKUTgWMevvA==",
  "operatorIdentifier": "0ba9f729-2a0e-4f03-a529-44e058c7afbc",
  "inventoryReason": 3,
  "onHand": 1,
  "onHandPacks": 1,
  "createdLocal": "2025-06-14T06:28:51.0411843"
}

application/xml, text/xml

Sample:
<InventoryReset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Inventory">
  <CreatedLocal>2025-06-14T06:28:51.0411843+00:00</CreatedLocal>
  <InventoryGuid>V2o62GGzQUuMd1oqV996YQ==</InventoryGuid>
  <InventoryIdentifier>d83a6a57-b361-4b41-8c77-5a2a57df7a61</InventoryIdentifier>
  <InventoryReason>3</InventoryReason>
  <OnHand>1</OnHand>
  <OnHandPacks>1</OnHandPacks>
  <OperatorG_UID>KfepCw4qA0+lKUTgWMevvA==</OperatorG_UID>
  <OperatorIdentifier>0ba9f729-2a0e-4f03-a529-44e058c7afbc</OperatorIdentifier>
  <PLUG_UID>/c/A2tpuZk+GXTmApCCjQw==</PLUG_UID>
  <PluGuid>dac0cffd-6eda-4f66-865d-3980a420a343</PluGuid>
</InventoryReset>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.