POST api/ProjectWorkOrder/AddProjectWorkOrder
Request Information
URI Parameters
None.
Body Parameters
ProjectWorkOrderHeaderName | Description | Type | Additional information |
---|---|---|---|
WorkOrderYear | integer |
None. |
|
WorkOrderBook | string |
None. |
|
WorkOrderNumber | integer |
None. |
|
WorkOrderStatus | string |
None. |
|
WorkOrderDate | date |
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. |
|
InsUpdDate | date |
None. |
|
ProjectWorkOrderHeaderAdvancedProperties | ProjectWorkOrderHeaderAdvancedProperties |
None. |
Request Formats
application/xml, text/xml
Sample:
<ProjectWorkOrderHeader 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> <WorkOrderStatus>sample string 2</WorkOrderStatus> <WorkOrderDate>2024-11-23T04:05:27.4527287+01:00</WorkOrderDate> <EndDate>2024-11-23T04:05:27.4527287+01:00</EndDate> <LaunchDate>2024-11-23T04:05:27.4527287+01:00</LaunchDate> <ClosedDate>2024-11-23T04:05:27.4527287+01:00</ClosedDate> <CommercialClosedDate>2024-11-23T04:05:27.4527287+01:00</CommercialClosedDate> <Document>sample string 3</Document> <CustomerID>sample string 4</CustomerID> <CustomerTitle1>sample string 5</CustomerTitle1> <CustomerTitle2>sample string 6</CustomerTitle2> <CustomerTitle3>sample string 7</CustomerTitle3> <CustomerCity>sample string 8</CustomerCity> <CustomerAddress>sample string 9</CustomerAddress> <CustomerHouseNo>sample string 10</CustomerHouseNo> <CustomerPostalCode>sample string 11</CustomerPostalCode> <CustomerCountry>sample string 12</CustomerCountry> <CustomerTaxNumber>sample string 13</CustomerTaxNumber> <CustContactID>sample string 14</CustContactID> <CustContactIDNo>1</CustContactIDNo> <CurrencyID>sample string 15</CurrencyID> <ExchangeRateDate>2024-11-23T04:05:27.4527287+01:00</ExchangeRateDate> <AccountingBookGroupID>sample string 16</AccountingBookGroupID> <VatRateID>sample string 17</VatRateID> <VATCalculated>sample string 18</VATCalculated> <VATInvoiceType>sample string 19</VATInvoiceType> <PriceListID>sample string 20</PriceListID> <RabatePercentage>1</RabatePercentage> <MaterialDiscountPercentage>1</MaterialDiscountPercentage> <WorkDiscountPercentage>1</WorkDiscountPercentage> <MachineWorkDiscountPercentage>1</MachineWorkDiscountPercentage> <ServicesDiscountPercentage>1</ServicesDiscountPercentage> <ExpirationDays>1</ExpirationDays> <ProductID>sample string 21</ProductID> <WorkOrderQty>1</WorkOrderQty> <WorkOrderFabrQty>1</WorkOrderFabrQty> <CostCenterID>sample string 22</CostCenterID> <CostUnitID>sample string 23</CostUnitID> <ClerkID>sample string 24</ClerkID> <AnalyticID>sample string 25</AnalyticID> <ComplexityID>sample string 26</ComplexityID> <QualityPerformanceID>sample string 27</QualityPerformanceID> <AdditionalStatusID>sample string 28</AdditionalStatusID> <IssueBookID>sample string 29</IssueBookID> <IssueYear>1</IssueYear> <IssueNumber>1</IssueNumber> <ReceiptBookID>sample string 30</ReceiptBookID> <ReceiptYear>1</ReceiptYear> <ReceiptNumber>1</ReceiptNumber> <InvoiceBookID>sample string 31</InvoiceBookID> <InvoiceYear>1</InvoiceYear> <InvoiceNumber>1</InvoiceNumber> <ProformaInvoiceBookID>sample string 32</ProformaInvoiceBookID> <ProformaInvoiceYear>1</ProformaInvoiceYear> <ProformaInvoiceNumber>1</ProformaInvoiceNumber> <ProformaInvoice>true</ProformaInvoice> <CustomerOrderLNo>1</CustomerOrderLNo> <ComponentWarehouseID>sample string 33</ComponentWarehouseID> <ProductWarehouseID>sample string 34</ProductWarehouseID> <Notes>sample string 35</Notes> <StartText>sample string 36</StartText> <EndText>sample string 37</EndText> <ProjectERID>sample string 38</ProjectERID> <ContractValue>1</ContractValue> <WorkOrderStartDate>2024-11-23T04:05:27.4527287+01:00</WorkOrderStartDate> <DeliveryAddress>sample string 39</DeliveryAddress> <LocationID>sample string 40</LocationID> <InsUpdDate>2024-11-23T04:05:27.4527287+01:00</InsUpdDate> <ProjectWorkOrderHeaderAdvancedProperties> <ProjectWorkOrderHeaderAdvancedProperty> <AdvancedPropertyID>sample string 1</AdvancedPropertyID> <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue> </ProjectWorkOrderHeaderAdvancedProperty> <ProjectWorkOrderHeaderAdvancedProperty> <AdvancedPropertyID>sample string 1</AdvancedPropertyID> <AdvancedPropertyValue>sample string 2</AdvancedPropertyValue> </ProjectWorkOrderHeaderAdvancedProperty> </ProjectWorkOrderHeaderAdvancedProperties> </ProjectWorkOrderHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional 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>