POST api/TaxPrice/GetTaxPriceByVehicleInfo

Request Information

URI Parameters

None.

Body Parameters

TaxPriceDTO
NameDescriptionTypeAdditional information
id

integer

None.

price

string

None.

vehicleWeightCategoryId

integer

None.

monthValue

integer

None.

loggingKind

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "price": "sample string 2",
  "vehicleWeightCategoryId": 3,
  "monthValue": 4,
  "loggingKind": true
}

application/xml, text/xml

Sample:
<TaxPriceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
  <id>1</id>
  <loggingKind>true</loggingKind>
  <monthValue>4</monthValue>
  <price>sample string 2</price>
  <vehicleWeightCategoryId>3</vehicleWeightCategoryId>
</TaxPriceDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TaxPriceDTO'.

Response Information

Resource Description

TaxPriceDTO
NameDescriptionTypeAdditional information
id

integer

None.

price

string

None.

vehicleWeightCategoryId

integer

None.

monthValue

integer

None.

loggingKind

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "price": "sample string 2",
  "vehicleWeightCategoryId": 3,
  "monthValue": 4,
  "loggingKind": true
}

application/xml, text/xml

Sample:
<TaxPriceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
  <id>1</id>
  <loggingKind>true</loggingKind>
  <monthValue>4</monthValue>
  <price>sample string 2</price>
  <vehicleWeightCategoryId>3</vehicleWeightCategoryId>
</TaxPriceDTO>