PUT PhysicalInventoryDetail/PutPhysicalInventory
Adds, Updates, or Deletes Physical Inventory Detail records
Request Information
URI Parameters
Body Parameters
Collection of ClsProdPhysDtUpdateName | Description | Type | Additional Information |
---|---|---|---|
DeptId |
Department ID of the Product being counted |
string | |
ProdId |
Product ID of the Product being counted |
string | |
LotNum |
Lot Number of the Product being counted |
string | |
UserID |
Agvance User ID doing the count |
string | |
Count |
Quantity Counted |
decimal number | |
Recount |
Quantity of recount, if the record is being added this will be zero |
decimal number | |
deleteYN |
Used to determine if the record should be deleted. |
boolean |
Must be 0, 1, True, or False |
Request Formats
application/json, text/json
Sample:
[ { "DeptId": "sample string 1", "ProdId": "sample string 2", "LotNum": "sample string 3", "UserID": "sample string 4", "Count": 5.1, "Recount": 6.1, "deleteYN": true }, { "DeptId": "sample string 1", "ProdId": "sample string 2", "LotNum": "sample string 3", "UserID": "sample string 4", "Count": 5.1, "Recount": 6.1, "deleteYN": true } ]
application/xml, text/xml
Sample:
<ArrayOfPhysicalInventoryDetailUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.Inv"> <PhysicalInventoryDetailUpdate> <Count>5.1</Count> <DeptId>sample string 1</DeptId> <LotNum>sample string 3</LotNum> <ProdId>sample string 2</ProdId> <Recount>6.1</Recount> <UserID>sample string 4</UserID> <deleteYN>true</deleteYN> </PhysicalInventoryDetailUpdate> <PhysicalInventoryDetailUpdate> <Count>5.1</Count> <DeptId>sample string 1</DeptId> <LotNum>sample string 3</LotNum> <ProdId>sample string 2</ProdId> <Recount>6.1</Recount> <UserID>sample string 4</UserID> <deleteYN>true</deleteYN> </PhysicalInventoryDetailUpdate> </ArrayOfPhysicalInventoryDetailUpdate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Adds, Updates, or Deletes Physical Inventory Detail records
AgvPhysicalInventoryDetailName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
PhysicalInventoryDetailRecords |
JSON dictionary of PhysicalInventoryDetailRecords. |
Collection of ClsProdPhysDt |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "PhysicalInventoryDetailRecords": [ { "UserID": "sample string 4", "Count": 5.1, "Recount": 6.1 }, { "UserID": "sample string 4", "Count": 5.1, "Recount": 6.1 } ] }
application/xml, text/xml
Sample:
<AgvPhysicalInventoryDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.PhysicalInventory"> <Message>sample string 2</Message> <PhysicalInventoryDetailRecords xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.Inv"> <d2p1:PhysicalInventoryManagementDT> <d2p1:Count>5.1</d2p1:Count> <d2p1:Recount>6.1</d2p1:Recount> <d2p1:UserID>sample string 4</d2p1:UserID> </d2p1:PhysicalInventoryManagementDT> <d2p1:PhysicalInventoryManagementDT> <d2p1:Count>5.1</d2p1:Count> <d2p1:Recount>6.1</d2p1:Recount> <d2p1:UserID>sample string 4</d2p1:UserID> </d2p1:PhysicalInventoryManagementDT> </PhysicalInventoryDetailRecords> <Status>sample string 1</Status> </AgvPhysicalInventoryDetail>