POST api/Packet/GetProductSerials

Request Information

URI Parameters

None.

Body Parameters

ProductSeriesReqeust
NameDescriptionTypeAdditional information
ItemTypeCode

byte

None.

ItemCode

string

None.

ColorCode

string

None.

ItemDim1Code

string

None.

ItemDim2Code

string

None.

ItemDim3Code

string

None.

SectionCode

string

None.

PalletCode

string

None.

PackageCode

string

None.

PacketTypeCode

byte

None.

CollectionHeaderId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "itemTypeCode": 64,
  "itemCode": "sample string 2",
  "colorCode": "sample string 3",
  "itemDim1Code": "sample string 4",
  "itemDim2Code": "sample string 5",
  "itemDim3Code": "sample string 6",
  "sectionCode": "sample string 7",
  "palletCode": "sample string 8",
  "packageCode": "sample string 9",
  "packetTypeCode": 64,
  "collectionHeaderId": 11
}

application/xml, text/xml

Sample:
<ProductSeriesReqeust xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.DTOs.Request">
  <CollectionHeaderId>11</CollectionHeaderId>
  <ColorCode>sample string 3</ColorCode>
  <ItemCode>sample string 2</ItemCode>
  <ItemDim1Code>sample string 4</ItemDim1Code>
  <ItemDim2Code>sample string 5</ItemDim2Code>
  <ItemDim3Code>sample string 6</ItemDim3Code>
  <ItemTypeCode>64</ItemTypeCode>
  <PackageCode>sample string 9</PackageCode>
  <PacketTypeCode>64</PacketTypeCode>
  <PalletCode>sample string 8</PalletCode>
  <SectionCode>sample string 7</SectionCode>
</ProductSeriesReqeust>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfListOfProductSerial
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Errors

Collection of string

None.

Code

integer

None.

Data

Collection of ProductSerial

None.

Warning

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "errors": [
    "sample string 1",
    "sample string 2"
  ],
  "code": 3,
  "data": [
    {
      "itemTypeCode": 1,
      "itemCode": "sample string 2",
      "colorCode": "sample string 3",
      "itemDim1Code": "sample string 4",
      "itemDim2Code": "sample string 5",
      "itemDim3Code": "sample string 6",
      "serialNumber": "sample string 7"
    },
    {
      "itemTypeCode": 1,
      "itemCode": "sample string 2",
      "colorCode": "sample string 3",
      "itemDim1Code": "sample string 4",
      "itemDim2Code": "sample string 5",
      "itemDim3Code": "sample string 6",
      "serialNumber": "sample string 7"
    }
  ],
  "warning": true
}

application/xml, text/xml

Sample:
<ResponseModelOfArrayOfProductSerialc9tsg1aB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.CustomClasses">
  <Code>3</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/VolisServer.DTOs.Packet">
    <d2p1:ProductSerial>
      <d2p1:ColorCode>sample string 3</d2p1:ColorCode>
      <d2p1:ItemCode>sample string 2</d2p1:ItemCode>
      <d2p1:ItemDim1Code>sample string 4</d2p1:ItemDim1Code>
      <d2p1:ItemDim2Code>sample string 5</d2p1:ItemDim2Code>
      <d2p1:ItemDim3Code>sample string 6</d2p1:ItemDim3Code>
      <d2p1:ItemTypeCode>1</d2p1:ItemTypeCode>
      <d2p1:SerialNumber>sample string 7</d2p1:SerialNumber>
    </d2p1:ProductSerial>
    <d2p1:ProductSerial>
      <d2p1:ColorCode>sample string 3</d2p1:ColorCode>
      <d2p1:ItemCode>sample string 2</d2p1:ItemCode>
      <d2p1:ItemDim1Code>sample string 4</d2p1:ItemDim1Code>
      <d2p1:ItemDim2Code>sample string 5</d2p1:ItemDim2Code>
      <d2p1:ItemDim3Code>sample string 6</d2p1:ItemDim3Code>
      <d2p1:ItemTypeCode>1</d2p1:ItemTypeCode>
      <d2p1:SerialNumber>sample string 7</d2p1:SerialNumber>
    </d2p1:ProductSerial>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Warning>true</Warning>
</ResponseModelOfArrayOfProductSerialc9tsg1aB>