POST api/WorkOrder/AddWorkScheduling

Request Information

URI Parameters

None.

Body Parameters

WorksScheduling
NameDescriptionTypeAdditional information
workScheduling

Collection of WorkScheduling

None.

Request Formats

application/xml, text/xml

Sample:
<WorksScheduling xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WorkScheduling>
    <WSDate>2024-11-21T15:18:33.1833013+01:00</WSDate>
    <WORK_ORDER_OPERATIONS>
      <WORK_ORDER_OPERATION>
        <WorkOrderBook>sample string 1</WorkOrderBook>
        <WorkOrderYear>1</WorkOrderYear>
        <WorkOrderNumber>1</WorkOrderNumber>
        <WorkOrderOperationLNr>1</WorkOrderOperationLNr>
        <WorkOrderOperationID>1</WorkOrderOperationID>
        <WorkOrderOperationStOpID>sample string 2</WorkOrderOperationStOpID>
        <StOperationGroupID>sample string 3</StOperationGroupID>
        <WORKSHOP_WORKERS>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
        </WORKSHOP_WORKERS>
      </WORK_ORDER_OPERATION>
      <WORK_ORDER_OPERATION>
        <WorkOrderBook>sample string 1</WorkOrderBook>
        <WorkOrderYear>1</WorkOrderYear>
        <WorkOrderNumber>1</WorkOrderNumber>
        <WorkOrderOperationLNr>1</WorkOrderOperationLNr>
        <WorkOrderOperationID>1</WorkOrderOperationID>
        <WorkOrderOperationStOpID>sample string 2</WorkOrderOperationStOpID>
        <StOperationGroupID>sample string 3</StOperationGroupID>
        <WORKSHOP_WORKERS>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
        </WORKSHOP_WORKERS>
      </WORK_ORDER_OPERATION>
    </WORK_ORDER_OPERATIONS>
  </WorkScheduling>
  <WorkScheduling>
    <WSDate>2024-11-21T15:18:33.1833013+01:00</WSDate>
    <WORK_ORDER_OPERATIONS>
      <WORK_ORDER_OPERATION>
        <WorkOrderBook>sample string 1</WorkOrderBook>
        <WorkOrderYear>1</WorkOrderYear>
        <WorkOrderNumber>1</WorkOrderNumber>
        <WorkOrderOperationLNr>1</WorkOrderOperationLNr>
        <WorkOrderOperationID>1</WorkOrderOperationID>
        <WorkOrderOperationStOpID>sample string 2</WorkOrderOperationStOpID>
        <StOperationGroupID>sample string 3</StOperationGroupID>
        <WORKSHOP_WORKERS>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
        </WORKSHOP_WORKERS>
      </WORK_ORDER_OPERATION>
      <WORK_ORDER_OPERATION>
        <WorkOrderBook>sample string 1</WorkOrderBook>
        <WorkOrderYear>1</WorkOrderYear>
        <WorkOrderNumber>1</WorkOrderNumber>
        <WorkOrderOperationLNr>1</WorkOrderOperationLNr>
        <WorkOrderOperationID>1</WorkOrderOperationID>
        <WorkOrderOperationStOpID>sample string 2</WorkOrderOperationStOpID>
        <StOperationGroupID>sample string 3</StOperationGroupID>
        <WORKSHOP_WORKERS>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
          <WORKSHOP_WORKER>
            <WorkShopWorkerID>sample string 1</WorkShopWorkerID>
          </WORKSHOP_WORKER>
        </WORKSHOP_WORKERS>
      </WORK_ORDER_OPERATION>
    </WORK_ORDER_OPERATIONS>
  </WorkScheduling>
</WorksScheduling>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <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>
</CreateResult>