POST api/HCS/GetProductionBatchCompletionReport?gpsbatch={gpsbatch}&empid={empid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gpsbatch

string

Required

empid

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BatchCompletionExport
NameDescriptionTypeAdditional information
LINENMBR

integer

None.

ITEMNMBR

string

None.

ITEMDESC

string

None.

DOCNMBR

string

None.

DocType

string

None.

DOCDATE

date

None.

LOCNCODE

string

None.

QUANTITY

decimal number

None.

UOFM

string

None.

QUANTITYLBS

decimal number

None.

DCSQTY

decimal number

None.

Variance

decimal number

None.

Lots

Collection of LotInfo

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LINENMBR": 1,
    "ITEMNMBR": "sample string 2",
    "ITEMDESC": "sample string 3",
    "DOCNMBR": "sample string 4",
    "DocType": "sample string 5",
    "DOCDATE": "2025-05-15T11:15:22.3342022+00:00",
    "LOCNCODE": "sample string 7",
    "QUANTITY": 8.0,
    "UOFM": "sample string 9",
    "QUANTITYLBS": 10.0,
    "DCSQTY": 11.0,
    "Variance": 12.0,
    "Lots": [
      {
        "LOTNUMBER": "sample string 1",
        "QUANTITY": 2.0,
        "BIN": "sample string 3"
      },
      {
        "LOTNUMBER": "sample string 1",
        "QUANTITY": 2.0,
        "BIN": "sample string 3"
      }
    ]
  },
  {
    "LINENMBR": 1,
    "ITEMNMBR": "sample string 2",
    "ITEMDESC": "sample string 3",
    "DOCNMBR": "sample string 4",
    "DocType": "sample string 5",
    "DOCDATE": "2025-05-15T11:15:22.3342022+00:00",
    "LOCNCODE": "sample string 7",
    "QUANTITY": 8.0,
    "UOFM": "sample string 9",
    "QUANTITYLBS": 10.0,
    "DCSQTY": 11.0,
    "Variance": 12.0,
    "Lots": [
      {
        "LOTNUMBER": "sample string 1",
        "QUANTITY": 2.0,
        "BIN": "sample string 3"
      },
      {
        "LOTNUMBER": "sample string 1",
        "QUANTITY": 2.0,
        "BIN": "sample string 3"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfBatchCompletionExport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs">
  <BatchCompletionExport>
    <DCSQTY>11</DCSQTY>
    <DOCDATE>2025-05-15T11:15:22.3342022+00:00</DOCDATE>
    <DOCNMBR>sample string 4</DOCNMBR>
    <DocType>sample string 5</DocType>
    <ITEMDESC>sample string 3</ITEMDESC>
    <ITEMNMBR>sample string 2</ITEMNMBR>
    <LINENMBR>1</LINENMBR>
    <LOCNCODE>sample string 7</LOCNCODE>
    <Lots>
      <LotInfo>
        <BIN>sample string 3</BIN>
        <LOTNUMBER>sample string 1</LOTNUMBER>
        <QUANTITY>2</QUANTITY>
      </LotInfo>
      <LotInfo>
        <BIN>sample string 3</BIN>
        <LOTNUMBER>sample string 1</LOTNUMBER>
        <QUANTITY>2</QUANTITY>
      </LotInfo>
    </Lots>
    <QUANTITY>8</QUANTITY>
    <QUANTITYLBS>10</QUANTITYLBS>
    <UOFM>sample string 9</UOFM>
    <Variance>12</Variance>
  </BatchCompletionExport>
  <BatchCompletionExport>
    <DCSQTY>11</DCSQTY>
    <DOCDATE>2025-05-15T11:15:22.3342022+00:00</DOCDATE>
    <DOCNMBR>sample string 4</DOCNMBR>
    <DocType>sample string 5</DocType>
    <ITEMDESC>sample string 3</ITEMDESC>
    <ITEMNMBR>sample string 2</ITEMNMBR>
    <LINENMBR>1</LINENMBR>
    <LOCNCODE>sample string 7</LOCNCODE>
    <Lots>
      <LotInfo>
        <BIN>sample string 3</BIN>
        <LOTNUMBER>sample string 1</LOTNUMBER>
        <QUANTITY>2</QUANTITY>
      </LotInfo>
      <LotInfo>
        <BIN>sample string 3</BIN>
        <LOTNUMBER>sample string 1</LOTNUMBER>
        <QUANTITY>2</QUANTITY>
      </LotInfo>
    </Lots>
    <QUANTITY>8</QUANTITY>
    <QUANTITYLBS>10</QUANTITYLBS>
    <UOFM>sample string 9</UOFM>
    <Variance>12</Variance>
  </BatchCompletionExport>
</ArrayOfBatchCompletionExport>