POST api/Timber/DeleteTimber
Request Information
URI Parameters
None.
Body Parameters
TimberUpdateViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TimberId | globally unique identifier |
None. |
|
| ColumnName | string |
None. |
|
| NewValue | string |
None. |
|
| OldValue | string |
None. |
|
| AdditionalValue | string |
None. |
|
| DeleteCosts | boolean |
None. |
|
| GetCubicAllCosts | boolean |
None. |
|
| DeleteAll | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"timberId": "b9935fcd-39b5-4faa-85fe-e2efe8152012",
"columnName": "sample string 2",
"newValue": "sample string 3",
"oldValue": "sample string 4",
"additionalValue": "sample string 5",
"deleteCosts": true,
"getCubicAllCosts": true,
"deleteAll": true
}
application/xml, text/xml
Sample:
<TimberUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels"> <AdditionalValue>sample string 5</AdditionalValue> <ColumnName>sample string 2</ColumnName> <DeleteAll>true</DeleteAll> <DeleteCosts>true</DeleteCosts> <GetCubicAllCosts>true</GetCubicAllCosts> <NewValue>sample string 3</NewValue> <OldValue>sample string 4</OldValue> <TimberId>b9935fcd-39b5-4faa-85fe-e2efe8152012</TimberId> </TimberUpdateViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.