GET api/BatchCompletion/GetBatchUnit?item={item}&custom={custom}&bagweight={bagweight}&lineunit={lineunit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
item

string

Required

custom

boolean

Required

bagweight

decimal number

Required

lineunit

string

None.

Body Parameters

None.

Response Information

Resource Description

BatchUnitInfo
NameDescriptionTypeAdditional information
Lane

string

None.

Unit

string

None.

PoundsPerUnit

decimal number

None.

IsTon

boolean

None.

Source

string

None.

PriceFactor

decimal number

None.

Problem

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Lane": "sample string 1",
  "Unit": "sample string 2",
  "PoundsPerUnit": 1.0,
  "IsTon": true,
  "Source": "sample string 4",
  "PriceFactor": 1.0,
  "Problem": "sample string 5"
}

application/xml, text/xml

Sample:
<BatchUnitInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsManagerAPI.Models">
  <IsTon>true</IsTon>
  <Lane>sample string 1</Lane>
  <PoundsPerUnit>1</PoundsPerUnit>
  <PriceFactor>1</PriceFactor>
  <Problem>sample string 5</Problem>
  <Source>sample string 4</Source>
  <Unit>sample string 2</Unit>
</BatchUnitInfo>