POST Vehicle/UpdateChargerCostRate/{id}

Update charger cost rate

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ChargerID

string

Required

Body Parameters

ChargerChargeCost
NameDescriptionTypeAdditional information
ChargerID

integer

None.

BaseRate

decimal number

None.

Denomination

string

None.

DenominationSymbol

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ChargerID": 1,
  "BaseRate": 2.1,
  "Denomination": "sample string 3",
  "DenominationSymbol": "sample string 4"
}

application/xml, text/xml

Sample:
<ChargerChargeCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <BaseRate>2.1</BaseRate>
  <ChargerID>1</ChargerID>
  <Denomination>sample string 3</Denomination>
  <DenominationSymbol>sample string 4</DenominationSymbol>
</ChargerChargeCost>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.