POST api/ProjectWorkOrder/ModifyProjectWorkOrderDetails
Request Information
URI Parameters
None.
Body Parameters
ProjectWorkOrderDetailName | Description | Type | Additional information |
---|---|---|---|
WorkOrderYear | integer |
None. |
|
WorkOrderBook | string |
None. |
|
WorkOrderNumber | integer |
None. |
|
ProjectWorkOrderMaterialLines | ProjectWorkOrderMaterialLines |
None. |
|
ProjectWorkOrderWorkLines | ProjectWorkOrderWorkLines |
None. |
|
ProjectWorkOrderMachineWorkLines | ProjectWorkOrderMachineWorkLines |
None. |
|
ProjectWorkOrderServicesLines | ProjectWorkOrderServicesLines |
None. |
Request Formats
application/xml, text/xml
Sample:
<ProjectWorkOrderDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <WorkOrderYear>1</WorkOrderYear> <WorkOrderBook>sample string 1</WorkOrderBook> <WorkOrderNumber>1</WorkOrderNumber> <ProjectWorkOrderMaterialLines> <ProjectWorkOrderMaterialLine> <LineNumber>1</LineNumber> <ItemCode>sample string 1</ItemCode> <PlannedQuantity>1</PlannedQuantity> <Quantity>1</Quantity> <WarehouseID>sample string 2</WarehouseID> <SeriesID>sample string 3</SeriesID> <Price>1</Price> <CostPrice>1</CostPrice> <ItemDescription>sample string 4</ItemDescription> <InvoiceNo>sample string 5</InvoiceNo> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderMaterialLine> <ProjectWorkOrderMaterialLine> <LineNumber>1</LineNumber> <ItemCode>sample string 1</ItemCode> <PlannedQuantity>1</PlannedQuantity> <Quantity>1</Quantity> <WarehouseID>sample string 2</WarehouseID> <SeriesID>sample string 3</SeriesID> <Price>1</Price> <CostPrice>1</CostPrice> <ItemDescription>sample string 4</ItemDescription> <InvoiceNo>sample string 5</InvoiceNo> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderMaterialLine> </ProjectWorkOrderMaterialLines> <ProjectWorkOrderWorkLines> <ProjectWorkOrderWorkLine> <LineNumber>1</LineNumber> <WorkerID>sample string 1</WorkerID> <PlannedHours>1</PlannedHours> <WorkHours>1</WorkHours> <Price>1</Price> <CostPrice>1</CostPrice> <WorkDescription>sample string 2</WorkDescription> <WorkDate>2024-11-23T04:05:30.8300743+01:00</WorkDate> <WorkingConditionID>sample string 3</WorkingConditionID> <ComplexityID>sample string 4</ComplexityID> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderWorkLine> <ProjectWorkOrderWorkLine> <LineNumber>1</LineNumber> <WorkerID>sample string 1</WorkerID> <PlannedHours>1</PlannedHours> <WorkHours>1</WorkHours> <Price>1</Price> <CostPrice>1</CostPrice> <WorkDescription>sample string 2</WorkDescription> <WorkDate>2024-11-23T04:05:30.8300743+01:00</WorkDate> <WorkingConditionID>sample string 3</WorkingConditionID> <ComplexityID>sample string 4</ComplexityID> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderWorkLine> </ProjectWorkOrderWorkLines> <ProjectWorkOrderMachineWorkLines> <ProjectWorkOrderMachineWorkLine> <LineNumber>1</LineNumber> <MachineID>sample string 1</MachineID> <PlannedHours>1</PlannedHours> <WorkHours>1</WorkHours> <Price>1</Price> <CostPrice>1</CostPrice> <WorkDescription>sample string 2</WorkDescription> <WorkDate>2024-11-23T04:05:30.8300743+01:00</WorkDate> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderMachineWorkLine> <ProjectWorkOrderMachineWorkLine> <LineNumber>1</LineNumber> <MachineID>sample string 1</MachineID> <PlannedHours>1</PlannedHours> <WorkHours>1</WorkHours> <Price>1</Price> <CostPrice>1</CostPrice> <WorkDescription>sample string 2</WorkDescription> <WorkDate>2024-11-23T04:05:30.8300743+01:00</WorkDate> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderMachineWorkLine> </ProjectWorkOrderMachineWorkLines> <ProjectWorkOrderServicesLines> <ProjectWorkOrderServicesLine> <LineNumber>1</LineNumber> <ServiceTitle>sample string 1</ServiceTitle> <PlannedCostAmount>1</PlannedCostAmount> <CostAmount>1</CostAmount> <PlannedAmount>1</PlannedAmount> <Amount>1</Amount> <ServiceDescription>sample string 2</ServiceDescription> <WorkDate>2024-11-23T04:05:30.8300743+01:00</WorkDate> <AreaDescription>sample string 3</AreaDescription> <CostDescription>sample string 4</CostDescription> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderServicesLine> <ProjectWorkOrderServicesLine> <LineNumber>1</LineNumber> <ServiceTitle>sample string 1</ServiceTitle> <PlannedCostAmount>1</PlannedCostAmount> <CostAmount>1</CostAmount> <PlannedAmount>1</PlannedAmount> <Amount>1</Amount> <ServiceDescription>sample string 2</ServiceDescription> <WorkDate>2024-11-23T04:05:30.8300743+01:00</WorkDate> <AreaDescription>sample string 3</AreaDescription> <CostDescription>sample string 4</CostDescription> <UnfinishedDate>2024-11-23T04:05:30.8300743+01:00</UnfinishedDate> </ProjectWorkOrderServicesLine> </ProjectWorkOrderServicesLines> </ProjectWorkOrderDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResultName | Description | Type | Additional 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>