GET api/packEnquiry/{scannedBarcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
scannedBarcode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PackEnquiry
NameDescriptionTypeAdditional information
PackId

integer

None.

PackNumber

string

None.

PalletNumber

string

None.

InwardsReceiptId

integer

None.

SupplierId

integer

None.

PlantingId

integer

None.

ProductId

integer

None.

VarietyId

integer

None.

ProduceId

integer

None.

ProductSizeId

integer

None.

PackrunId

integer

None.

ConcurTimeStamp

Collection of byte

None.

BestBeforeDate

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PackId": 1,
    "PackNumber": "sample string 2",
    "PalletNumber": "sample string 3",
    "InwardsReceiptId": 4,
    "SupplierId": 5,
    "PlantingId": 6,
    "ProductId": 7,
    "VarietyId": 8,
    "ProduceId": 9,
    "ProductSizeId": 10,
    "PackrunId": 11,
    "ConcurTimeStamp": "QEA=",
    "BestBeforeDate": "2025-12-06T14:11:14.7257835+10:30",
    "Id": 13
  },
  {
    "PackId": 1,
    "PackNumber": "sample string 2",
    "PalletNumber": "sample string 3",
    "InwardsReceiptId": 4,
    "SupplierId": 5,
    "PlantingId": 6,
    "ProductId": 7,
    "VarietyId": 8,
    "ProduceId": 9,
    "ProductSizeId": 10,
    "PackrunId": 11,
    "ConcurTimeStamp": "QEA=",
    "BestBeforeDate": "2025-12-06T14:11:14.7257835+10:30",
    "Id": 13
  }
]

application/xml, text/xml

Sample:
<ArrayOfPackEnquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.EnquiryModels">
  <PackEnquiry>
    <BestBeforeDate>2025-12-06T14:11:14.7257835+10:30</BestBeforeDate>
    <ConcurTimeStamp>QEA=</ConcurTimeStamp>
    <Id>13</Id>
    <InwardsReceiptId>4</InwardsReceiptId>
    <PackId>1</PackId>
    <PackNumber>sample string 2</PackNumber>
    <PackrunId>11</PackrunId>
    <PalletNumber>sample string 3</PalletNumber>
    <PlantingId>6</PlantingId>
    <ProduceId>9</ProduceId>
    <ProductId>7</ProductId>
    <ProductSizeId>10</ProductSizeId>
    <SupplierId>5</SupplierId>
    <VarietyId>8</VarietyId>
  </PackEnquiry>
  <PackEnquiry>
    <BestBeforeDate>2025-12-06T14:11:14.7257835+10:30</BestBeforeDate>
    <ConcurTimeStamp>QEA=</ConcurTimeStamp>
    <Id>13</Id>
    <InwardsReceiptId>4</InwardsReceiptId>
    <PackId>1</PackId>
    <PackNumber>sample string 2</PackNumber>
    <PackrunId>11</PackrunId>
    <PalletNumber>sample string 3</PalletNumber>
    <PlantingId>6</PlantingId>
    <ProduceId>9</ProduceId>
    <ProductId>7</ProductId>
    <ProductSizeId>10</ProductSizeId>
    <SupplierId>5</SupplierId>
    <VarietyId>8</VarietyId>
  </PackEnquiry>
</ArrayOfPackEnquiry>