GET PhysicalInventory/GetPhysicalInventory?UserID={UserID}

Returns Physical Inventory Count

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
UserID

UserID for the count to be returned. (Optional)

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns Physical Inventory Count

AgvPhysicalInventory
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
InventoryPhysicalRecords

JSON dictionary of InventoryPhysicalRecords.

Collection of ClsProdPhys

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "InventoryPhysicalRecords": [
    {
      "DepartmentID": "sample string 1",
      "ProductID": "sample string 2",
      "LotNumber": "sample string 3",
      "FrozenInventoryBalance": 4.1,
      "PhysicalInventoryDetail": [
        {
          "UserID": "sample string 4",
          "Count": 5.1,
          "Recount": 6.1
        },
        {
          "UserID": "sample string 4",
          "Count": 5.1,
          "Recount": 6.1
        }
      ]
    },
    {
      "DepartmentID": "sample string 1",
      "ProductID": "sample string 2",
      "LotNumber": "sample string 3",
      "FrozenInventoryBalance": 4.1,
      "PhysicalInventoryDetail": [
        {
          "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:
<AgvPhysicalInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.PhysicalInventory">
  <InventoryPhysicalRecords xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.Inv">
    <d2p1:PhysicalInventoryCount>
      <d2p1:DepartmentID>sample string 1</d2p1:DepartmentID>
      <d2p1:FrozenInventoryBalance>4.1</d2p1:FrozenInventoryBalance>
      <d2p1:LotNumber>sample string 3</d2p1:LotNumber>
      <d2p1:PhysicalInventoryDetail>
        <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>
      </d2p1:PhysicalInventoryDetail>
      <d2p1:ProductID>sample string 2</d2p1:ProductID>
    </d2p1:PhysicalInventoryCount>
    <d2p1:PhysicalInventoryCount>
      <d2p1:DepartmentID>sample string 1</d2p1:DepartmentID>
      <d2p1:FrozenInventoryBalance>4.1</d2p1:FrozenInventoryBalance>
      <d2p1:LotNumber>sample string 3</d2p1:LotNumber>
      <d2p1:PhysicalInventoryDetail>
        <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>
      </d2p1:PhysicalInventoryDetail>
      <d2p1:ProductID>sample string 2</d2p1:ProductID>
    </d2p1:PhysicalInventoryCount>
  </InventoryPhysicalRecords>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvPhysicalInventory>