PATCH api/Order/UpdateOrderLinesBOM

Request Information

URI Parameters

None.

Body Parameters

OrderBOM
NameDescriptionTypeAdditional information
OrderYear

integer

None.

OrderBook

string

None.

OrderNumber

integer

None.

OrderBOMLines

OrderBOMLines

None.

Request Formats

application/xml, text/xml

Sample:
<OrderBOM xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <OrderYear>1</OrderYear>
  <OrderBook>sample string 2</OrderBook>
  <OrderNumber>3</OrderNumber>
  <OrderBOMLines>
    <OrderBOMLine>
      <OrderLineNo>1</OrderLineNo>
      <BOMLines>
        <BOMLine>
          <BOMLineNumber>1</BOMLineNumber>
          <BOMComponentID>sample string 2</BOMComponentID>
          <BOMComponentQty>1</BOMComponentQty>
          <BOMComponentQtyForItem>3</BOMComponentQtyForItem>
          <BOMComponentScrapQty>1</BOMComponentScrapQty>
          <BOMComponentScrapPrc>1</BOMComponentScrapPrc>
          <BOMComponentDrawingPos>sample string 4</BOMComponentDrawingPos>
          <BOMComponentPrice>1</BOMComponentPrice>
          <BOMComponentDiscount>1</BOMComponentDiscount>
          <BOMComponentNotes>sample string 5</BOMComponentNotes>
        </BOMLine>
        <BOMLine>
          <BOMLineNumber>1</BOMLineNumber>
          <BOMComponentID>sample string 2</BOMComponentID>
          <BOMComponentQty>1</BOMComponentQty>
          <BOMComponentQtyForItem>3</BOMComponentQtyForItem>
          <BOMComponentScrapQty>1</BOMComponentScrapQty>
          <BOMComponentScrapPrc>1</BOMComponentScrapPrc>
          <BOMComponentDrawingPos>sample string 4</BOMComponentDrawingPos>
          <BOMComponentPrice>1</BOMComponentPrice>
          <BOMComponentDiscount>1</BOMComponentDiscount>
          <BOMComponentNotes>sample string 5</BOMComponentNotes>
        </BOMLine>
      </BOMLines>
    </OrderBOMLine>
    <OrderBOMLine>
      <OrderLineNo>1</OrderLineNo>
      <BOMLines>
        <BOMLine>
          <BOMLineNumber>1</BOMLineNumber>
          <BOMComponentID>sample string 2</BOMComponentID>
          <BOMComponentQty>1</BOMComponentQty>
          <BOMComponentQtyForItem>3</BOMComponentQtyForItem>
          <BOMComponentScrapQty>1</BOMComponentScrapQty>
          <BOMComponentScrapPrc>1</BOMComponentScrapPrc>
          <BOMComponentDrawingPos>sample string 4</BOMComponentDrawingPos>
          <BOMComponentPrice>1</BOMComponentPrice>
          <BOMComponentDiscount>1</BOMComponentDiscount>
          <BOMComponentNotes>sample string 5</BOMComponentNotes>
        </BOMLine>
        <BOMLine>
          <BOMLineNumber>1</BOMLineNumber>
          <BOMComponentID>sample string 2</BOMComponentID>
          <BOMComponentQty>1</BOMComponentQty>
          <BOMComponentQtyForItem>3</BOMComponentQtyForItem>
          <BOMComponentScrapQty>1</BOMComponentScrapQty>
          <BOMComponentScrapPrc>1</BOMComponentScrapPrc>
          <BOMComponentDrawingPos>sample string 4</BOMComponentDrawingPos>
          <BOMComponentPrice>1</BOMComponentPrice>
          <BOMComponentDiscount>1</BOMComponentDiscount>
          <BOMComponentNotes>sample string 5</BOMComponentNotes>
        </BOMLine>
      </BOMLines>
    </OrderBOMLine>
  </OrderBOMLines>
</OrderBOM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateResult
NameDescriptionTypeAdditional information
ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</UpdateResult>