PUT api/SalesOrder?orderNo={orderNo}
Endpoint for updating orderhead for a given order
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderNo | integer |
Required |
Body Parameters
PutSaleOrderDto| Name | Description | Type | Additional information |
|---|---|---|---|
| FactoringNo | string |
None. |
|
| CustomerOrSupplierOrderNo | string |
None. |
|
| RequisitionNo | string |
None. |
|
| Official | integer |
None. |
|
| WarehouseNo | integer |
None. |
|
| OrgUnit1No | integer |
None. |
|
| DeliveryMethod | integer |
None. |
|
| RequiredDeliveryDate | date |
None. |
|
| OrderNo | integer |
None. |
|
| CustomerNo | integer |
None. |
|
| CustomerName | string |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| PostCode | string |
None. |
|
| PostArea | string |
None. |
|
| CountryNo | integer |
None. |
|
| OrderDate | date |
None. |
|
| InvoiceCustomerNo | integer |
None. |
|
| EmployeeNo | integer |
None. |
|
| SellerOrBuyer | integer |
None. |
|
| OurReference | string |
None. |
|
| YourReference | string |
None. |
|
| Group1 | integer |
None. |
|
| Group2 | integer |
None. |
|
| Group3 | integer |
None. |
|
| Group4 | integer |
None. |
|
| Group5 | integer |
None. |
|
| Group6 | integer |
None. |
|
| Group7 | integer |
None. |
|
| Group8 | integer |
None. |
|
| Group9 | integer |
None. |
|
| Group10 | integer |
None. |
|
| Group11 | integer |
None. |
|
| Group12 | integer |
None. |
|
| Information1 | string |
None. |
|
| Information2 | string |
None. |
|
| Information3 | string |
None. |
|
| Information4 | string |
None. |
|
| Information5 | string |
None. |
|
| Information6 | string |
None. |
|
| Information7 | string |
None. |
|
| Information8 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FactoringNo": "sample string 1",
"CustomerOrSupplierOrderNo": "sample string 2",
"RequisitionNo": "sample string 3",
"Official": 4,
"WarehouseNo": 5,
"OrgUnit1No": 6,
"DeliveryMethod": 7,
"RequiredDeliveryDate": "2025-12-13 07:54",
"OrderNo": 9,
"CustomerNo": 10,
"CustomerName": "sample string 11",
"AddressLine1": "sample string 12",
"AddressLine2": "sample string 13",
"PostCode": "sample string 14",
"PostArea": "sample string 15",
"CountryNo": 16,
"OrderDate": "2025-12-13 07:54",
"InvoiceCustomerNo": 18,
"EmployeeNo": 19,
"SellerOrBuyer": 20,
"OurReference": "sample string 21",
"YourReference": "sample string 22",
"Group1": 23,
"Group2": 24,
"Group3": 25,
"Group4": 26,
"Group5": 27,
"Group6": 28,
"Group7": 29,
"Group8": 30,
"Group9": 31,
"Group10": 32,
"Group11": 33,
"Group12": 34,
"Information1": "sample string 35",
"Information2": "sample string 36",
"Information3": "sample string 37",
"Information4": "sample string 38",
"Information5": "sample string 39",
"Information6": "sample string 40",
"Information7": "sample string 41",
"Information8": "sample string 42"
}
application/xml, text/xml
Sample:
<PutSaleOrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Put"> <AddressLine1>sample string 12</AddressLine1> <AddressLine2>sample string 13</AddressLine2> <CountryNo>16</CountryNo> <CustomerName>sample string 11</CustomerName> <CustomerNo>10</CustomerNo> <CustomerOrSupplierOrderNo>sample string 2</CustomerOrSupplierOrderNo> <DeliveryMethod>7</DeliveryMethod> <EmployeeNo>19</EmployeeNo> <FactoringNo>sample string 1</FactoringNo> <Group1>23</Group1> <Group10>32</Group10> <Group11>33</Group11> <Group12>34</Group12> <Group2>24</Group2> <Group3>25</Group3> <Group4>26</Group4> <Group5>27</Group5> <Group6>28</Group6> <Group7>29</Group7> <Group8>30</Group8> <Group9>31</Group9> <Information1>sample string 35</Information1> <Information2>sample string 36</Information2> <Information3>sample string 37</Information3> <Information4>sample string 38</Information4> <Information5>sample string 39</Information5> <Information6>sample string 40</Information6> <Information7>sample string 41</Information7> <Information8>sample string 42</Information8> <InvoiceCustomerNo>18</InvoiceCustomerNo> <Official>4</Official> <OrderDate>2025-12-13T07:54:35.8985616+01:00</OrderDate> <OrderNo>9</OrderNo> <OrgUnit1No>6</OrgUnit1No> <OurReference>sample string 21</OurReference> <PostArea>sample string 15</PostArea> <PostCode>sample string 14</PostCode> <RequiredDeliveryDate>2025-12-13T07:54:35.8985616+01:00</RequiredDeliveryDate> <RequisitionNo>sample string 3</RequisitionNo> <SellerOrBuyer>20</SellerOrBuyer> <WarehouseNo>5</WarehouseNo> <YourReference>sample string 22</YourReference> </PutSaleOrderDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |