POST v1/updDeviceFuelNorm

Метод редагування норми пального авто.

Request Information

URI Parameters

None.

Body Parameters

DeviceFuelNormUpd
NameDescriptionTypeAdditional information
id

ID норми

integer

None.

deviceID

ID пристрою

integer

None.

type

Тип норми пального

DeviceFuelNormType

None.

value

Значення витрити пального, л

decimal number

None.

speedFrom

Значення швидкість 'від' (для типу витрат по швидкості) км./год.

integer

None.

speedTo

Значення швидкість 'до' (для типу витрат по швидкості) км./год.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "deviceID": 2,
  "type": 0,
  "value": 3.1,
  "speedFrom": 1,
  "speedTo": 1
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.