POST api/Sync/UploadFilePti

Request Information

URI Parameters

None.

Body Parameters

PtiObj
NameDescriptionTypeAdditional information
LicencePlate

string

None.

IdleEngineSpeedRpm

integer

None.

IdleContentCoVol

decimal number

None.

ElevatedContentCoVol

decimal number

None.

ElevatedEngineSpeedRpm

integer

None.

ElevatedEngineSpeedRpm2

integer

None.

ElevatedEngineSpeedRpm3

integer

None.

lambda1

decimal number

None.

ExhaustTestHighTurnoverCoefficient

decimal number

None.

ExhaustTestHighTurnoverCoefficient2

decimal number

None.

ExhaustTestHighTurnoverCoefficient3

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "LicencePlate": "sample string 1",
  "IdleEngineSpeedRpm": 1,
  "IdleContentCoVol": 1.0,
  "ElevatedContentCoVol": 1.0,
  "ElevatedEngineSpeedRpm": 1,
  "ElevatedEngineSpeedRpm2": 1,
  "ElevatedEngineSpeedRpm3": 1,
  "lambda1": 1.1,
  "ExhaustTestHighTurnoverCoefficient": 1.1,
  "ExhaustTestHighTurnoverCoefficient2": 1.1,
  "ExhaustTestHighTurnoverCoefficient3": 1.1
}

application/xml, text/xml

Sample:
<PtiObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTIService.WebApi.Models">
  <ElevatedContentCoVol>1</ElevatedContentCoVol>
  <ElevatedEngineSpeedRpm>1</ElevatedEngineSpeedRpm>
  <ElevatedEngineSpeedRpm2>1</ElevatedEngineSpeedRpm2>
  <ElevatedEngineSpeedRpm3>1</ElevatedEngineSpeedRpm3>
  <ExhaustTestHighTurnoverCoefficient>1.1</ExhaustTestHighTurnoverCoefficient>
  <ExhaustTestHighTurnoverCoefficient2>1.1</ExhaustTestHighTurnoverCoefficient2>
  <ExhaustTestHighTurnoverCoefficient3>1.1</ExhaustTestHighTurnoverCoefficient3>
  <IdleContentCoVol>1</IdleContentCoVol>
  <IdleEngineSpeedRpm>1</IdleEngineSpeedRpm>
  <LicencePlate>sample string 1</LicencePlate>
  <lambda1>1.1</lambda1>
</PtiObj>

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

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.