POST api/ProjectWorkOrder/ModifyProjectWorkOrder

Request Information

URI Parameters

None.

Body Parameters

ProjectWorkOrder
NameDescriptionTypeAdditional information
WorkOrderYear

integer

None.

WorkOrderBook

string

None.

WorkOrderNumber

integer

None.

MaterialBookkeepingAnalyticsChange

boolean

None.

WorkOrderStatus

string

None.

EndDate

date

None.

LaunchDate

date

None.

ClosedDate

date

None.

CommercialClosedDate

date

None.

Document

string

None.

CustomerID

string

None.

CustomerTitle1

string

None.

CustomerTitle2

string

None.

CustomerTitle3

string

None.

CustomerCity

string

None.

CustomerAddress

string

None.

CustomerHouseNo

string

None.

CustomerPostalCode

string

None.

CustomerCountry

string

None.

CustomerTaxNumber

string

None.

CustContactID

string

None.

CustContactIDNo

integer

None.

CurrencyID

string

None.

ExchangeRateDate

date

None.

AccountingBookGroupID

string

None.

VatRateID

string

None.

VATCalculated

string

None.

VATInvoiceType

string

None.

PriceListID

string

None.

RabatePercentage

decimal number

None.

MaterialDiscountPercentage

decimal number

None.

WorkDiscountPercentage

decimal number

None.

MachineWorkDiscountPercentage

decimal number

None.

ServicesDiscountPercentage

decimal number

None.

ExpirationDays

integer

None.

ProductID

string

None.

WorkOrderQty

decimal number

None.

WorkOrderFabrQty

decimal number

None.

CostCenterID

string

None.

CostUnitID

string

None.

ClerkID

string

None.

AnalyticID

string

None.

ComplexityID

string

None.

QualityPerformanceID

string

None.

AdditionalStatusID

string

None.

IssueBookID

string

None.

IssueYear

integer

None.

IssueNumber

integer

None.

ReceiptBookID

string

None.

ReceiptYear

integer

None.

ReceiptNumber

integer

None.

InvoiceBookID

string

None.

InvoiceYear

integer

None.

InvoiceNumber

integer

None.

ProformaInvoiceBookID

string

None.

ProformaInvoiceYear

integer

None.

ProformaInvoiceNumber

integer

None.

ProformaInvoice

boolean

None.

CustomerOrderLNo

integer

None.

ComponentWarehouseID

string

None.

ProductWarehouseID

string

None.

Notes

string

None.

StartText

string

None.

EndText

string

None.

ProjectERID

string

None.

ContractValue

decimal number

None.

WorkOrderStartDate

date

None.

DeliveryAddress

string

None.

LocationID

string

None.

ProjectWorkOrderAdvancedProperties

ProjectWorkOrderAdvancedProperties

None.

Request Formats

application/xml, text/xml

Sample:
<ProjectWorkOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WorkOrderYear>1</WorkOrderYear>
  <WorkOrderBook>sample string 2</WorkOrderBook>
  <WorkOrderNumber>3</WorkOrderNumber>
  <MaterialBookkeepingAnalyticsChange>true</MaterialBookkeepingAnalyticsChange>
  <WorkOrderStatus>sample string 4</WorkOrderStatus>
  <EndDate>2024-11-21T15:33:00.0652629+01:00</EndDate>
  <LaunchDate>2024-11-21T15:33:00.066273+01:00</LaunchDate>
  <ClosedDate>2024-11-21T15:33:00.066273+01:00</ClosedDate>
  <CommercialClosedDate>2024-11-21T15:33:00.066273+01:00</CommercialClosedDate>
  <Document>sample string 5</Document>
  <CustomerID>sample string 6</CustomerID>
  <CustomerTitle1>sample string 7</CustomerTitle1>
  <CustomerTitle2>sample string 8</CustomerTitle2>
  <CustomerTitle3>sample string 9</CustomerTitle3>
  <CustomerCity>sample string 10</CustomerCity>
  <CustomerAddress>sample string 11</CustomerAddress>
  <CustomerHouseNo>sample string 12</CustomerHouseNo>
  <CustomerPostalCode>sample string 13</CustomerPostalCode>
  <CustomerCountry>sample string 14</CustomerCountry>
  <CustomerTaxNumber>sample string 15</CustomerTaxNumber>
  <CustContactID>sample string 16</CustContactID>
  <CustContactIDNo>1</CustContactIDNo>
  <CurrencyID>sample string 17</CurrencyID>
  <ExchangeRateDate>2024-11-21T15:33:00.066273+01:00</ExchangeRateDate>
  <AccountingBookGroupID>sample string 18</AccountingBookGroupID>
  <VatRateID>sample string 19</VatRateID>
  <VATCalculated>sample string 20</VATCalculated>
  <VATInvoiceType>sample string 21</VATInvoiceType>
  <PriceListID>sample string 22</PriceListID>
  <RabatePercentage>1</RabatePercentage>
  <MaterialDiscountPercentage>1</MaterialDiscountPercentage>
  <WorkDiscountPercentage>1</WorkDiscountPercentage>
  <MachineWorkDiscountPercentage>1</MachineWorkDiscountPercentage>
  <ServicesDiscountPercentage>1</ServicesDiscountPercentage>
  <ExpirationDays>1</ExpirationDays>
  <ProductID>sample string 23</ProductID>
  <WorkOrderQty>1</WorkOrderQty>
  <WorkOrderFabrQty>1</WorkOrderFabrQty>
  <CostCenterID>sample string 24</CostCenterID>
  <CostUnitID>sample string 25</CostUnitID>
  <ClerkID>sample string 26</ClerkID>
  <AnalyticID>sample string 27</AnalyticID>
  <ComplexityID>sample string 28</ComplexityID>
  <QualityPerformanceID>sample string 29</QualityPerformanceID>
  <AdditionalStatusID>sample string 30</AdditionalStatusID>
  <IssueBookID>sample string 31</IssueBookID>
  <IssueYear>1</IssueYear>
  <IssueNumber>1</IssueNumber>
  <ReceiptBookID>sample string 32</ReceiptBookID>
  <ReceiptYear>1</ReceiptYear>
  <ReceiptNumber>1</ReceiptNumber>
  <InvoiceBookID>sample string 33</InvoiceBookID>
  <InvoiceYear>1</InvoiceYear>
  <InvoiceNumber>1</InvoiceNumber>
  <ProformaInvoiceBookID>sample string 34</ProformaInvoiceBookID>
  <ProformaInvoiceYear>1</ProformaInvoiceYear>
  <ProformaInvoiceNumber>1</ProformaInvoiceNumber>
  <ProformaInvoice>true</ProformaInvoice>
  <CustomerOrderLNo>1</CustomerOrderLNo>
  <ComponentWarehouseID>sample string 35</ComponentWarehouseID>
  <ProductWarehouseID>sample string 36</ProductWarehouseID>
  <Notes>sample string 37</Notes>
  <StartText>sample string 38</StartText>
  <EndText>sample string 39</EndText>
  <ProjectERID>sample string 40</ProjectERID>
  <ContractValue>1</ContractValue>
  <WorkOrderStartDate>2024-11-21T15:33:00.0672708+01:00</WorkOrderStartDate>
  <DeliveryAddress>sample string 41</DeliveryAddress>
  <LocationID>sample string 42</LocationID>
  <ProjectWorkOrderAdvancedProperties>
    <ProjectWorkOrderAdvancedProperty>
      <AdvancedPropertyID>sample string 1</AdvancedPropertyID>
      <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue>
    </ProjectWorkOrderAdvancedProperty>
    <ProjectWorkOrderAdvancedProperty>
      <AdvancedPropertyID>sample string 1</AdvancedPropertyID>
      <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue>
    </ProjectWorkOrderAdvancedProperty>
  </ProjectWorkOrderAdvancedProperties>
</ProjectWorkOrder>

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>