POST api/exhaust/UpdateExhaust

Request Information

URI Parameters

None.

Body Parameters

EmissionResult
NameDescriptionTypeAdditional information
FuelType

string

None.

Lambda

decimal number

None.

ExhaustTestNormalResult

decimal number

None.

ExhaustTestNormalNumber

integer

None.

ExhaustTestHighTurnover

decimal number

None.

ExhaustTestHighTurnoverNumber

integer

None.

ExhaustTestHigTurnoverCoefficient

decimal number

None.

ExhaustTestHighTurnoverNumber2

integer

None.

ExhaustTestHigTurnoverCoefficient2

decimal number

None.

ExhaustTestHighTurnoverNumber3

integer

None.

ExhaustTestHigTurnoverCoefficient3

decimal number

None.

PlateNum

string

None.

VendorName

string

None.

VendorId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FuelType": "sample string 1",
  "Lambda": 1.1,
  "ExhaustTestNormalResult": 1.0,
  "ExhaustTestNormalNumber": 1,
  "ExhaustTestHighTurnover": 1.0,
  "ExhaustTestHighTurnoverNumber": 1,
  "ExhaustTestHigTurnoverCoefficient": 1.0,
  "ExhaustTestHighTurnoverNumber2": 1,
  "ExhaustTestHigTurnoverCoefficient2": 1.0,
  "ExhaustTestHighTurnoverNumber3": 1,
  "ExhaustTestHigTurnoverCoefficient3": 1.0,
  "PlateNum": "sample string 2",
  "VendorName": "sample string 3",
  "VendorId": "sample string 4"
}

application/xml, text/xml

Sample:
<EmissionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.Common.Machines.Models">
  <PlateNum>sample string 2</PlateNum>
  <VendorId>sample string 4</VendorId>
  <VendorName>sample string 3</VendorName>
  <ExhaustTestHigTurnoverCoefficient>1</ExhaustTestHigTurnoverCoefficient>
  <ExhaustTestHigTurnoverCoefficient2>1</ExhaustTestHigTurnoverCoefficient2>
  <ExhaustTestHigTurnoverCoefficient3>1</ExhaustTestHigTurnoverCoefficient3>
  <ExhaustTestHighTurnover>1</ExhaustTestHighTurnover>
  <ExhaustTestHighTurnoverNumber>1</ExhaustTestHighTurnoverNumber>
  <ExhaustTestHighTurnoverNumber2>1</ExhaustTestHighTurnoverNumber2>
  <ExhaustTestHighTurnoverNumber3>1</ExhaustTestHighTurnoverNumber3>
  <ExhaustTestNormalNumber>1</ExhaustTestNormalNumber>
  <ExhaustTestNormalResult>1</ExhaustTestNormalResult>
  <FuelType>sample string 1</FuelType>
  <Lambda>1.1</Lambda>
</EmissionResult>

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 'EmissionResult'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.