POST api/Timber/DeleteTimberCostDuplicates

Request Information

URI Parameters

None.

Body Parameters

TimberUpdateViewModel
NameDescriptionTypeAdditional 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": "90307e19-4afc-465b-9084-a13bc6a81b76",
  "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>90307e19-4afc-465b-9084-a13bc6a81b76</TimberId>
</TimberUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.