GET InventoryAdjustment/GetInventoryAdjustments?referenceNumber={referenceNumber}&locationIdOrGuid={locationIdOrGuid}&startDate={startDate}&endDate={endDate}&voided={voided}
Returns a list of Inventory Adjustments.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| referenceNumber |
Reference Number (Optional) |
integer | |
| locationIdOrGuid |
LocationID or GUID (Optional) |
string |
Default value is string.Empty |
| startDate |
Start Date formatted as MM/DD/YYYY (Optional) |
string |
Default value is string.Empty |
| endDate |
End Date formatted as MM/DD/YYYY (Optional). |
string |
Default value is string.Empty |
| voided |
Voided. Yes, No, or Both. Defaults to No (Optional) |
string |
Default value is No |
Body Parameters
Response Information
Resource Description
Returns a list of Inventory Adjustments.
AgvInventoryAdjustments| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
Status of the API call. |
string | |
| Message |
Message of the API call. |
string | |
| ErrorList |
List of error messages of the API call. |
Collection of string | |
| WarningList |
List of warning messages of the API call. |
Collection of string | |
| Count |
Count of how many Inventory Adjustment Records. |
string | |
| InventoryAdjustments |
Inventory Adjustments. |
Collection of ClsInventoryAdjustment |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"Message": "sample string 2",
"ErrorList": [
"sample string 1",
"sample string 2"
],
"WarningList": [
"sample string 1",
"sample string 2"
],
"Count": "2",
"InventoryAdjustments": [
{
"ReferenceNumber": 1,
"InventoryAdjustmentTypeKey": 2,
"InventoryAdjustmentType": "sample string 3",
"LocationID": "sample string 4",
"Date": "sample string 5",
"Notes": "sample string 6",
"FiscalMonth": 7,
"Voided": true,
"UsedLotNumbers": true,
"PostJE": true,
"VoidReason": "sample string 16",
"VoidDate": "sample string 17",
"ControlNumber": "sample string 18",
"InventoryAdjustmentDetail": [
{
"LineItem": 3,
"DeptID": "sample string 4",
"ProdID": "sample string 5",
"ProdName": "sample string 6",
"Balance": 7.1,
"Physical": 1.1,
"Difference": 1.1,
"LotNumber": "sample string 8",
"InventoryUnits": "sample string 9",
"ExtendedCost": 10.1,
"Cost": 11.1
},
{
"LineItem": 3,
"DeptID": "sample string 4",
"ProdID": "sample string 5",
"ProdName": "sample string 6",
"Balance": 7.1,
"Physical": 1.1,
"Difference": 1.1,
"LotNumber": "sample string 8",
"InventoryUnits": "sample string 9",
"ExtendedCost": 10.1,
"Cost": 11.1
}
]
},
{
"ReferenceNumber": 1,
"InventoryAdjustmentTypeKey": 2,
"InventoryAdjustmentType": "sample string 3",
"LocationID": "sample string 4",
"Date": "sample string 5",
"Notes": "sample string 6",
"FiscalMonth": 7,
"Voided": true,
"UsedLotNumbers": true,
"PostJE": true,
"VoidReason": "sample string 16",
"VoidDate": "sample string 17",
"ControlNumber": "sample string 18",
"InventoryAdjustmentDetail": [
{
"LineItem": 3,
"DeptID": "sample string 4",
"ProdID": "sample string 5",
"ProdName": "sample string 6",
"Balance": 7.1,
"Physical": 1.1,
"Difference": 1.1,
"LotNumber": "sample string 8",
"InventoryUnits": "sample string 9",
"ExtendedCost": 10.1,
"Cost": 11.1
},
{
"LineItem": 3,
"DeptID": "sample string 4",
"ProdID": "sample string 5",
"ProdName": "sample string 6",
"Balance": 7.1,
"Physical": 1.1,
"Difference": 1.1,
"LotNumber": "sample string 8",
"InventoryUnits": "sample string 9",
"ExtendedCost": 10.1,
"Cost": 11.1
}
]
}
]
}
application/xml, text/xml
Sample:
<AgvInventoryAdjustments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.InventoryAdjustment">
<ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorList>
<InventoryAdjustments xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Inventory">
<d2p1:InventoryAdjustment>
<d2p1:ControlNumber>sample string 18</d2p1:ControlNumber>
<d2p1:Date>sample string 5</d2p1:Date>
<d2p1:FiscalMonth>7</d2p1:FiscalMonth>
<d2p1:InventoryAdjustmentDetail>
<d2p1:InventoryAdjustmentDetail>
<d2p1:Balance>7.1</d2p1:Balance>
<d2p1:Cost>11.1</d2p1:Cost>
<d2p1:DeptID>sample string 4</d2p1:DeptID>
<d2p1:Difference>1.1</d2p1:Difference>
<d2p1:ExtendedCost>10.1</d2p1:ExtendedCost>
<d2p1:InventoryUnits>sample string 9</d2p1:InventoryUnits>
<d2p1:LineItem>3</d2p1:LineItem>
<d2p1:LotNumber>sample string 8</d2p1:LotNumber>
<d2p1:Physical>1.1</d2p1:Physical>
<d2p1:ProdID>sample string 5</d2p1:ProdID>
<d2p1:ProdName>sample string 6</d2p1:ProdName>
</d2p1:InventoryAdjustmentDetail>
<d2p1:InventoryAdjustmentDetail>
<d2p1:Balance>7.1</d2p1:Balance>
<d2p1:Cost>11.1</d2p1:Cost>
<d2p1:DeptID>sample string 4</d2p1:DeptID>
<d2p1:Difference>1.1</d2p1:Difference>
<d2p1:ExtendedCost>10.1</d2p1:ExtendedCost>
<d2p1:InventoryUnits>sample string 9</d2p1:InventoryUnits>
<d2p1:LineItem>3</d2p1:LineItem>
<d2p1:LotNumber>sample string 8</d2p1:LotNumber>
<d2p1:Physical>1.1</d2p1:Physical>
<d2p1:ProdID>sample string 5</d2p1:ProdID>
<d2p1:ProdName>sample string 6</d2p1:ProdName>
</d2p1:InventoryAdjustmentDetail>
</d2p1:InventoryAdjustmentDetail>
<d2p1:InventoryAdjustmentType>sample string 3</d2p1:InventoryAdjustmentType>
<d2p1:InventoryAdjustmentTypeKey>2</d2p1:InventoryAdjustmentTypeKey>
<d2p1:LocationID>sample string 4</d2p1:LocationID>
<d2p1:Notes>sample string 6</d2p1:Notes>
<d2p1:PostJE>true</d2p1:PostJE>
<d2p1:ReferenceNumber>1</d2p1:ReferenceNumber>
<d2p1:UsedLotNumbers>true</d2p1:UsedLotNumbers>
<d2p1:VoidDate>sample string 17</d2p1:VoidDate>
<d2p1:VoidReason>sample string 16</d2p1:VoidReason>
<d2p1:Voided>true</d2p1:Voided>
</d2p1:InventoryAdjustment>
<d2p1:InventoryAdjustment>
<d2p1:ControlNumber>sample string 18</d2p1:ControlNumber>
<d2p1:Date>sample string 5</d2p1:Date>
<d2p1:FiscalMonth>7</d2p1:FiscalMonth>
<d2p1:InventoryAdjustmentDetail>
<d2p1:InventoryAdjustmentDetail>
<d2p1:Balance>7.1</d2p1:Balance>
<d2p1:Cost>11.1</d2p1:Cost>
<d2p1:DeptID>sample string 4</d2p1:DeptID>
<d2p1:Difference>1.1</d2p1:Difference>
<d2p1:ExtendedCost>10.1</d2p1:ExtendedCost>
<d2p1:InventoryUnits>sample string 9</d2p1:InventoryUnits>
<d2p1:LineItem>3</d2p1:LineItem>
<d2p1:LotNumber>sample string 8</d2p1:LotNumber>
<d2p1:Physical>1.1</d2p1:Physical>
<d2p1:ProdID>sample string 5</d2p1:ProdID>
<d2p1:ProdName>sample string 6</d2p1:ProdName>
</d2p1:InventoryAdjustmentDetail>
<d2p1:InventoryAdjustmentDetail>
<d2p1:Balance>7.1</d2p1:Balance>
<d2p1:Cost>11.1</d2p1:Cost>
<d2p1:DeptID>sample string 4</d2p1:DeptID>
<d2p1:Difference>1.1</d2p1:Difference>
<d2p1:ExtendedCost>10.1</d2p1:ExtendedCost>
<d2p1:InventoryUnits>sample string 9</d2p1:InventoryUnits>
<d2p1:LineItem>3</d2p1:LineItem>
<d2p1:LotNumber>sample string 8</d2p1:LotNumber>
<d2p1:Physical>1.1</d2p1:Physical>
<d2p1:ProdID>sample string 5</d2p1:ProdID>
<d2p1:ProdName>sample string 6</d2p1:ProdName>
</d2p1:InventoryAdjustmentDetail>
</d2p1:InventoryAdjustmentDetail>
<d2p1:InventoryAdjustmentType>sample string 3</d2p1:InventoryAdjustmentType>
<d2p1:InventoryAdjustmentTypeKey>2</d2p1:InventoryAdjustmentTypeKey>
<d2p1:LocationID>sample string 4</d2p1:LocationID>
<d2p1:Notes>sample string 6</d2p1:Notes>
<d2p1:PostJE>true</d2p1:PostJE>
<d2p1:ReferenceNumber>1</d2p1:ReferenceNumber>
<d2p1:UsedLotNumbers>true</d2p1:UsedLotNumbers>
<d2p1:VoidDate>sample string 17</d2p1:VoidDate>
<d2p1:VoidReason>sample string 16</d2p1:VoidReason>
<d2p1:Voided>true</d2p1:Voided>
</d2p1:InventoryAdjustment>
</InventoryAdjustments>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
<WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WarningList>
</AgvInventoryAdjustments>