POST InventoryAdjustment/PostInventoryAdjustment

Add an inventory adjustment.

Request Information

URI Parameters

Body Parameters

Inventory Adjustment object to create.

ClsInventoryAdjustmentAdd
NameDescriptionTypeAdditional Information
AdjustmentType

The Name of the Adjustment Type to be used on this Inventory Adjustment

string

Required

Max length: 20

Location

The Location ID that this Inventory Adjustment will be made at

string

Required

Max length: 6

DateInvAdj

The Date this Inventory Adjustment is for

string

Required

Data type: DateTime

Format must be MM/dd/yyyy

Notes

Any extra comments pertaining to this Inventory Adjustment

string

Max length: 60

UseLotQuantities

Should the product use its overall balance or a lot specific one, the default is false

boolean
PostJE

Whether or not this transaction should Post a General Journal Entry, the default is true

boolean
ControlNumber

Value provided from the API to ensure uniqueness in the Inventory Adjustment table. No checking is done if this is omitted or blank.

string

Max length: 50

objInvAdjDt

A list of products and their physical counts that the adjustment will be made for

Collection of ClsInventoryAdjustmentDtAdd

Required

Request Formats

application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Add an inventory adjustment.

AgvInventoryAdjustment
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Inventory Adjustment Records.

string
InventoryAdjustmentTypeRecords

JSON dictionary of InventoryAdjustmentRecords.

Collection of string

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "InventoryAdjustmentTypeRecords": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AgvInventoryAdjustment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.InventoryAdjustment">
  <InventoryAdjustmentTypeRecords xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </InventoryAdjustmentTypeRecords>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvInventoryAdjustment>