POST api/Timber/UpdateTimberSizeCosts

Request Information

URI Parameters

None.

Body Parameters

Collection of TimberSizeUpdateViewModel
NameDescriptionTypeAdditional information
TimberId

globally unique identifier

None.

TimberSizeId

integer

None.

ColumnName

string

None.

NewValue

string

None.

OldValue

string

None.

CostMethod

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "timberId": "25529559-3ec3-41b5-88df-fe1f8f3ecdcf",
    "timberSizeId": 2,
    "columnName": "sample string 3",
    "newValue": "sample string 4",
    "oldValue": "sample string 5",
    "costMethod": 6
  },
  {
    "timberId": "25529559-3ec3-41b5-88df-fe1f8f3ecdcf",
    "timberSizeId": 2,
    "columnName": "sample string 3",
    "newValue": "sample string 4",
    "oldValue": "sample string 5",
    "costMethod": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfTimberSizeUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <TimberSizeUpdateViewModel>
    <ColumnName>sample string 3</ColumnName>
    <CostMethod>6</CostMethod>
    <NewValue>sample string 4</NewValue>
    <OldValue>sample string 5</OldValue>
    <TimberId>25529559-3ec3-41b5-88df-fe1f8f3ecdcf</TimberId>
    <TimberSizeId>2</TimberSizeId>
  </TimberSizeUpdateViewModel>
  <TimberSizeUpdateViewModel>
    <ColumnName>sample string 3</ColumnName>
    <CostMethod>6</CostMethod>
    <NewValue>sample string 4</NewValue>
    <OldValue>sample string 5</OldValue>
    <TimberId>25529559-3ec3-41b5-88df-fe1f8f3ecdcf</TimberId>
    <TimberSizeId>2</TimberSizeId>
  </TimberSizeUpdateViewModel>
</ArrayOfTimberSizeUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.