GET api/PartsPrice/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

PartsPriceViewModel
NameDescriptionTypeAdditional information
DefaultPartsPriceViewModel

DefaultPartsPriceViewModel

None.

CategoryOption

integer

None.

CategoryId

integer

None.

PostedFileName

string

None.

Message

string

None.

Success

boolean

None.

TimberColumnsCheckBox

CheckBoxDto

None.

AllCategoriesRadioButton

RadioButtonDto

None.

CurrentCategoryRadioButton

RadioButtonDto

None.

SellPrice1Label

LabelDto

None.

SellPrice2Label

LabelDto

None.

SellPriceBLabel

LabelDto

None.

ColumnSellTextBox

TextBoxDto

None.

IgnoreZeroCheckBox

CheckBoxDto

None.

BuyPriceText

TextBoxDto

None.

Sell1PriceText

TextBoxDto

None.

Sell2PriceText

TextBoxDto

None.

BuyPriceLabel

LabelDto

None.

DoneFlagColumnLabel

LabelDto

None.

ColumnNotFoundText

TextBoxDto

None.

Response Formats

application/json, text/json

Sample:
{
  "timberColumnsCheckBox": {
    "checked": true,
    "visible": true,
    "enabled": true,
    "caption": "sample string 4"
  },
  "allCategoriesRadioButton": {
    "value": true,
    "visible": true,
    "enabled": true
  },
  "currentCategoryRadioButton": {
    "value": true,
    "visible": true,
    "enabled": true
  },
  "sellPrice1Label": {
    "caption": "sample string 1",
    "visible": true,
    "enabled": true
  },
  "sellPrice2Label": {
    "caption": "sample string 1",
    "visible": true,
    "enabled": true
  },
  "sellPriceBLabel": {
    "caption": "sample string 1",
    "visible": true,
    "enabled": true
  },
  "columnSellTextBox": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "ignoreZeroCheckBox": {
    "checked": true,
    "visible": true,
    "enabled": true,
    "caption": "sample string 4"
  },
  "buyPriceText": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "sell1PriceText": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "sell2PriceText": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "buyPriceLabel": {
    "caption": "sample string 1",
    "visible": true,
    "enabled": true
  },
  "doneFlagColumnLabel": {
    "caption": "sample string 1",
    "visible": true,
    "enabled": true
  },
  "columnNotFoundText": {
    "text": "sample string 1",
    "visible": true,
    "enabled": true,
    "maxLength": 4,
    "backColor": "sample string 5",
    "locked": true
  },
  "defaultPartsPriceViewModel": {
    "ignoreZero": true,
    "caption": "sample string 2",
    "timberColumns": true,
    "columnPartId": "sample string 4",
    "columnBuy": "sample string 5",
    "columnSell": "sample string 6",
    "columnNotFound": "sample string 7"
  },
  "categoryOption": 1,
  "categoryId": 2,
  "postedFileName": "sample string 3",
  "message": "sample string 4",
  "success": true
}

application/xml, text/xml

Sample:
<PartsPriceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.ViewModels">
  <AllCategoriesRadioButton xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Value>true</d2p1:Value>
    <d2p1:Visible>true</d2p1:Visible>
  </AllCategoriesRadioButton>
  <BuyPriceLabel xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 1</d2p1:Caption>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </BuyPriceLabel>
  <BuyPriceText xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </BuyPriceText>
  <CategoryId>2</CategoryId>
  <CategoryOption>1</CategoryOption>
  <ColumnNotFoundText xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </ColumnNotFoundText>
  <ColumnSellTextBox xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </ColumnSellTextBox>
  <CurrentCategoryRadioButton xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Value>true</d2p1:Value>
    <d2p1:Visible>true</d2p1:Visible>
  </CurrentCategoryRadioButton>
  <DefaultPartsPriceViewModel>
    <Caption>sample string 2</Caption>
    <ColumnBuy>sample string 5</ColumnBuy>
    <ColumnNotFound>sample string 7</ColumnNotFound>
    <ColumnPartId>sample string 4</ColumnPartId>
    <ColumnSell>sample string 6</ColumnSell>
    <IgnoreZero>true</IgnoreZero>
    <TimberColumns>true</TimberColumns>
  </DefaultPartsPriceViewModel>
  <DoneFlagColumnLabel xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 1</d2p1:Caption>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </DoneFlagColumnLabel>
  <IgnoreZeroCheckBox xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 4</d2p1:Caption>
    <d2p1:Checked>true</d2p1:Checked>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </IgnoreZeroCheckBox>
  <Message>sample string 4</Message>
  <PostedFileName>sample string 3</PostedFileName>
  <Sell1PriceText xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </Sell1PriceText>
  <Sell2PriceText xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:BackColor>sample string 5</d2p1:BackColor>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Locked>true</d2p1:Locked>
    <d2p1:MaxLength>4</d2p1:MaxLength>
    <d2p1:Text>sample string 1</d2p1:Text>
    <d2p1:Visible>true</d2p1:Visible>
  </Sell2PriceText>
  <SellPrice1Label xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 1</d2p1:Caption>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </SellPrice1Label>
  <SellPrice2Label xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 1</d2p1:Caption>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </SellPrice2Label>
  <SellPriceBLabel xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 1</d2p1:Caption>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </SellPriceBLabel>
  <Success>true</Success>
  <TimberColumnsCheckBox xmlns:d2p1="http://schemas.datacontract.org/2004/07/StairBiz.Contracts.Dto.Controls">
    <d2p1:Caption>sample string 4</d2p1:Caption>
    <d2p1:Checked>true</d2p1:Checked>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:Visible>true</d2p1:Visible>
  </TimberColumnsCheckBox>
</PartsPriceViewModel>