PATCH api/WorkOrder/UpdateWorkOrderMasterData

Request Information

URI Parameters

None.

Body Parameters

WorkOrdersMasterData
NameDescriptionTypeAdditional information
WorkOrderMasterData

Collection of WorkOrderMasterData

None.

Request Formats

application/xml, text/xml

Sample:
<WorkOrdersMasterData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WorkOrderMasterData>
    <WorkOrderYear>1</WorkOrderYear>
    <WorkOrderBook>sample string 2</WorkOrderBook>
    <WorkOrderNumber>3</WorkOrderNumber>
    <WorkOrderStatus>sample string 4</WorkOrderStatus>
    <WorkOrderCustOrderNo>sample string 5</WorkOrderCustOrderNo>
    <WorkOrderCustomerID>sample string 6</WorkOrderCustomerID>
    <WorkOrderCoopCustID>sample string 7</WorkOrderCoopCustID>
    <WorkOrderClercID>sample string 8</WorkOrderClercID>
    <WorkOrderDevClercID>sample string 9</WorkOrderDevClercID>
    <WorkOrderCostCenterID>sample string 10</WorkOrderCostCenterID>
    <WorkOrderCostUnitID>sample string 11</WorkOrderCostUnitID>
    <WorkOrderStartDate>2024-11-23T10:47:33.4331888+01:00</WorkOrderStartDate>
    <WorkOrderStartDateCoop>2024-11-23T10:47:33.4331888+01:00</WorkOrderStartDateCoop>
    <WorkOrderEndDateCoop>2024-11-23T10:47:33.4331888+01:00</WorkOrderEndDateCoop>
    <WorkOrderEndDate>2024-11-23T10:47:33.4331888+01:00</WorkOrderEndDate>
    <WorkOrderClosedDate>2024-11-23T10:47:33.4331888+01:00</WorkOrderClosedDate>
    <WorkOrderSerialNoFrom>1</WorkOrderSerialNoFrom>
    <WorkOrderSerialNoTo>1</WorkOrderSerialNoTo>
    <WorkOrderLotID>sample string 12</WorkOrderLotID>
    <WorkOrderFabrQty>1</WorkOrderFabrQty>
    <WorkOrderScrapReasonID>sample string 13</WorkOrderScrapReasonID>
    <WorkOrderScrapFabrQty>1</WorkOrderScrapFabrQty>
    <WorkOrderRestFabrQty>1</WorkOrderRestFabrQty>
    <WorkOrderPriority>1</WorkOrderPriority>
    <WorkOrderSampleOK>sample string 14</WorkOrderSampleOK>
    <WorkOrderAlert>true</WorkOrderAlert>
    <WorkOrderNotes>sample string 15</WorkOrderNotes>
    <WorkOrderCustAttachmentER1>sample string 16</WorkOrderCustAttachmentER1>
    <WorkOrderCustAttachmentER2>sample string 17</WorkOrderCustAttachmentER2>
    <WorkOrderCustAttachmentER3>sample string 18</WorkOrderCustAttachmentER3>
    <WorkOrderCoopCustAttachmentER1>sample string 19</WorkOrderCoopCustAttachmentER1>
    <WorkOrderCoopCustAttachmentER2>sample string 20</WorkOrderCoopCustAttachmentER2>
    <WorkOrderCoopCustAttachmentER3>sample string 21</WorkOrderCoopCustAttachmentER3>
    <WorkOrderItemAttachmentER1>sample string 22</WorkOrderItemAttachmentER1>
    <WorkOrderItemAttachmentER2>sample string 23</WorkOrderItemAttachmentER2>
    <WorkOrderItemAttachmentER3>sample string 24</WorkOrderItemAttachmentER3>
    <WorkOrderProjectERID>sample string 25</WorkOrderProjectERID>
    <AdvancedProperties>
      <AdvancedProperty>
        <AdvancedPropertyID>sample string 1</AdvancedPropertyID>
        <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue>
        <AdvancedPropertyType>sample string 3</AdvancedPropertyType>
      </AdvancedProperty>
      <AdvancedProperty>
        <AdvancedPropertyID>sample string 1</AdvancedPropertyID>
        <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue>
        <AdvancedPropertyType>sample string 3</AdvancedPropertyType>
      </AdvancedProperty>
    </AdvancedProperties>
  </WorkOrderMasterData>
  <WorkOrderMasterData>
    <WorkOrderYear>1</WorkOrderYear>
    <WorkOrderBook>sample string 2</WorkOrderBook>
    <WorkOrderNumber>3</WorkOrderNumber>
    <WorkOrderStatus>sample string 4</WorkOrderStatus>
    <WorkOrderCustOrderNo>sample string 5</WorkOrderCustOrderNo>
    <WorkOrderCustomerID>sample string 6</WorkOrderCustomerID>
    <WorkOrderCoopCustID>sample string 7</WorkOrderCoopCustID>
    <WorkOrderClercID>sample string 8</WorkOrderClercID>
    <WorkOrderDevClercID>sample string 9</WorkOrderDevClercID>
    <WorkOrderCostCenterID>sample string 10</WorkOrderCostCenterID>
    <WorkOrderCostUnitID>sample string 11</WorkOrderCostUnitID>
    <WorkOrderStartDate>2024-11-23T10:47:33.4331888+01:00</WorkOrderStartDate>
    <WorkOrderStartDateCoop>2024-11-23T10:47:33.4331888+01:00</WorkOrderStartDateCoop>
    <WorkOrderEndDateCoop>2024-11-23T10:47:33.4331888+01:00</WorkOrderEndDateCoop>
    <WorkOrderEndDate>2024-11-23T10:47:33.4331888+01:00</WorkOrderEndDate>
    <WorkOrderClosedDate>2024-11-23T10:47:33.4331888+01:00</WorkOrderClosedDate>
    <WorkOrderSerialNoFrom>1</WorkOrderSerialNoFrom>
    <WorkOrderSerialNoTo>1</WorkOrderSerialNoTo>
    <WorkOrderLotID>sample string 12</WorkOrderLotID>
    <WorkOrderFabrQty>1</WorkOrderFabrQty>
    <WorkOrderScrapReasonID>sample string 13</WorkOrderScrapReasonID>
    <WorkOrderScrapFabrQty>1</WorkOrderScrapFabrQty>
    <WorkOrderRestFabrQty>1</WorkOrderRestFabrQty>
    <WorkOrderPriority>1</WorkOrderPriority>
    <WorkOrderSampleOK>sample string 14</WorkOrderSampleOK>
    <WorkOrderAlert>true</WorkOrderAlert>
    <WorkOrderNotes>sample string 15</WorkOrderNotes>
    <WorkOrderCustAttachmentER1>sample string 16</WorkOrderCustAttachmentER1>
    <WorkOrderCustAttachmentER2>sample string 17</WorkOrderCustAttachmentER2>
    <WorkOrderCustAttachmentER3>sample string 18</WorkOrderCustAttachmentER3>
    <WorkOrderCoopCustAttachmentER1>sample string 19</WorkOrderCoopCustAttachmentER1>
    <WorkOrderCoopCustAttachmentER2>sample string 20</WorkOrderCoopCustAttachmentER2>
    <WorkOrderCoopCustAttachmentER3>sample string 21</WorkOrderCoopCustAttachmentER3>
    <WorkOrderItemAttachmentER1>sample string 22</WorkOrderItemAttachmentER1>
    <WorkOrderItemAttachmentER2>sample string 23</WorkOrderItemAttachmentER2>
    <WorkOrderItemAttachmentER3>sample string 24</WorkOrderItemAttachmentER3>
    <WorkOrderProjectERID>sample string 25</WorkOrderProjectERID>
    <AdvancedProperties>
      <AdvancedProperty>
        <AdvancedPropertyID>sample string 1</AdvancedPropertyID>
        <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue>
        <AdvancedPropertyType>sample string 3</AdvancedPropertyType>
      </AdvancedProperty>
      <AdvancedProperty>
        <AdvancedPropertyID>sample string 1</AdvancedPropertyID>
        <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue>
        <AdvancedPropertyType>sample string 3</AdvancedPropertyType>
      </AdvancedProperty>
    </AdvancedProperties>
  </WorkOrderMasterData>
</WorkOrdersMasterData>

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>