POST Account/SetActiveCar

Request Information

URI Parameters

None.

Body Parameters

AccountCarCRUD
NameDescriptionTypeAdditional information
CarID

integer

None.

Car

string

None.

User

string

None.

BrandID

integer

None.

ModelID

integer

None.

Plate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CarID": 1,
  "Car": "sample string 2",
  "User": "sample string 3",
  "BrandID": 4,
  "ModelID": 5,
  "Plate": "sample string 6"
}

application/xml, text/xml

Sample:
<AccountCarCRUD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <BrandID>4</BrandID>
  <Car>sample string 2</Car>
  <CarID>1</CarID>
  <ModelID>5</ModelID>
  <Plate>sample string 6</Plate>
  <User>sample string 3</User>
</AccountCarCRUD>

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

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Success

boolean

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ResponseCode": "sample string 2"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models">
  <ResponseCode>sample string 2</ResponseCode>
  <Success>true</Success>
</Response>