GET v1/Inventory/GetItemLots?itemId={itemId}

Retrieves the lots associated with a specific item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
itemId

The unique identifier of the item.

integer

Required

Body Parameters

None.

Response Information

Resource Description

An HTTP response message containing: - A list of if the operation is successful. - A if there is a bad request. - A 404 Not Found response if no item lots are found. - A 500 Internal Server Error response in case of an exception.

Collection of LotDTO
NameDescriptionTypeAdditional information
ItemID

integer

None.

LotID

integer

None.

LotNumer

string

None.

VenderName

string

None.

VenderID

integer

None.

ItemCost

decimal number

None.

TareWeight

decimal number

None.

Weight

decimal number

None.

CreatedDate

string

None.

ExpirationDate

string

None.

InvoiceNumber

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemID": 1,
    "LotID": 2,
    "LotNumer": "sample string 3",
    "VenderName": "sample string 4",
    "VenderID": 5,
    "ItemCost": 6.0,
    "TareWeight": 7.0,
    "Weight": 8.0,
    "CreatedDate": "sample string 9",
    "ExpirationDate": "sample string 10",
    "InvoiceNumber": "sample string 11"
  },
  {
    "ItemID": 1,
    "LotID": 2,
    "LotNumer": "sample string 3",
    "VenderName": "sample string 4",
    "VenderID": 5,
    "ItemCost": 6.0,
    "TareWeight": 7.0,
    "Weight": 8.0,
    "CreatedDate": "sample string 9",
    "ExpirationDate": "sample string 10",
    "InvoiceNumber": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLotDTO xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <LotDTO>
    <ItemID>1</ItemID>
    <LotID>2</LotID>
    <LotNumer>sample string 3</LotNumer>
    <VenderName>sample string 4</VenderName>
    <VenderID>5</VenderID>
    <ItemCost>6</ItemCost>
    <TareWeight>7</TareWeight>
    <Weight>8</Weight>
    <CreatedDate>sample string 9</CreatedDate>
    <ExpirationDate>sample string 10</ExpirationDate>
    <InvoiceNumber>sample string 11</InvoiceNumber>
  </LotDTO>
  <LotDTO>
    <ItemID>1</ItemID>
    <LotID>2</LotID>
    <LotNumer>sample string 3</LotNumer>
    <VenderName>sample string 4</VenderName>
    <VenderID>5</VenderID>
    <ItemCost>6</ItemCost>
    <TareWeight>7</TareWeight>
    <Weight>8</Weight>
    <CreatedDate>sample string 9</CreatedDate>
    <ExpirationDate>sample string 10</ExpirationDate>
    <InvoiceNumber>sample string 11</InvoiceNumber>
  </LotDTO>
</ArrayOfLotDTO>