GET api/ProductInventory/{id}?type={type}

Gets a list of product inventory.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Item Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProductInventory
NameDescriptionTypeAdditional information
UpdateType

string

None.

ItemInventoryId

integer

None.

Quantity

integer

None.

Note

string

None.

CreatedDate

date

None.

CreatedByName

string

None.

CreatedBy

string

None.

PreviousCount

integer

None.

NewCount

integer

None.

OrderId

integer

None.

OrderNumber

integer

None.

OrderGlobalId

string

None.

ReturnOrderId

integer

None.

ReturnOrderNumber

integer

None.

ReturnOrderGlobalId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UpdateType": "sample string 1",
    "ItemInventoryId": 2,
    "Quantity": 1,
    "Note": "sample string 3",
    "CreatedDate": "2025-01-16T17:18:55.1717662+00:00",
    "CreatedByName": "sample string 4",
    "CreatedBy": "sample string 5",
    "PreviousCount": 1,
    "NewCount": 1,
    "OrderId": 1,
    "OrderNumber": 1,
    "OrderGlobalId": "sample string 6",
    "ReturnOrderId": 1,
    "ReturnOrderNumber": 1,
    "ReturnOrderGlobalId": "sample string 7"
  },
  {
    "UpdateType": "sample string 1",
    "ItemInventoryId": 2,
    "Quantity": 1,
    "Note": "sample string 3",
    "CreatedDate": "2025-01-16T17:18:55.1717662+00:00",
    "CreatedByName": "sample string 4",
    "CreatedBy": "sample string 5",
    "PreviousCount": 1,
    "NewCount": 1,
    "OrderId": 1,
    "OrderNumber": 1,
    "OrderGlobalId": "sample string 6",
    "ReturnOrderId": 1,
    "ReturnOrderNumber": 1,
    "ReturnOrderGlobalId": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ProductInventory>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedByName>sample string 4</CreatedByName>
    <CreatedDate>2025-01-16T17:18:55.1717662+00:00</CreatedDate>
    <ItemInventoryId>2</ItemInventoryId>
    <NewCount>1</NewCount>
    <Note>sample string 3</Note>
    <OrderGlobalId>sample string 6</OrderGlobalId>
    <OrderId>1</OrderId>
    <OrderNumber>1</OrderNumber>
    <PreviousCount>1</PreviousCount>
    <Quantity>1</Quantity>
    <ReturnOrderGlobalId>sample string 7</ReturnOrderGlobalId>
    <ReturnOrderId>1</ReturnOrderId>
    <ReturnOrderNumber>1</ReturnOrderNumber>
    <UpdateType>sample string 1</UpdateType>
  </ProductInventory>
  <ProductInventory>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedByName>sample string 4</CreatedByName>
    <CreatedDate>2025-01-16T17:18:55.1717662+00:00</CreatedDate>
    <ItemInventoryId>2</ItemInventoryId>
    <NewCount>1</NewCount>
    <Note>sample string 3</Note>
    <OrderGlobalId>sample string 6</OrderGlobalId>
    <OrderId>1</OrderId>
    <OrderNumber>1</OrderNumber>
    <PreviousCount>1</PreviousCount>
    <Quantity>1</Quantity>
    <ReturnOrderGlobalId>sample string 7</ReturnOrderGlobalId>
    <ReturnOrderId>1</ReturnOrderId>
    <ReturnOrderNumber>1</ReturnOrderNumber>
    <UpdateType>sample string 1</UpdateType>
  </ProductInventory>
</ArrayOfProductInventory>