POST Vehicle/UpdateCharger/{id}

Update general charger information.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

ChargerID

string

Required

Body Parameters

Charger
NameDescriptionTypeAdditional information
ChargerID

integer

None.

ChargerName

string

None.

ChargerNotes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ChargerID": 1,
  "ChargerName": "sample string 2",
  "ChargerNotes": "sample string 3"
}

application/xml, text/xml

Sample:
<Charger xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <ChargerID>1</ChargerID>
  <ChargerName>sample string 2</ChargerName>
  <ChargerNotes>sample string 3</ChargerNotes>
</Charger>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.