POST api/Car

Request Information

URI Parameters

None.

Body Parameters

CarAddLoadImage
NameDescriptionTypeAdditional information
base64string

string

None.

extension

string

None.

photo_type

integer

None.

carID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "base64string": "sample string 1",
  "extension": "sample string 2",
  "photo_type": 3,
  "carID": 4
}

application/xml, text/xml

Sample:
<CarController.CarAddLoadImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers">
  <base64string>sample string 1</base64string>
  <carID>4</carID>
  <extension>sample string 2</extension>
  <photo_type>3</photo_type>
</CarController.CarAddLoadImage>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>