POST api/Weigh/UpdateVehicleImage

Request Information

URI Parameters

None.

Body Parameters

VehicleImage
NameDescriptionTypeAdditional information
userID

string

None.

apiKey

string

None.

trip_id

string

None.

imageReference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": "sample string 1",
  "apiKey": "sample string 2",
  "trip_id": "sample string 3",
  "imageReference": "sample string 4"
}

application/xml, text/xml

Sample:
<WeighController.VehicleImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cenmark.WebApi.Controllers">
  <apiKey>sample string 2</apiKey>
  <imageReference>sample string 4</imageReference>
  <trip_id>sample string 3</trip_id>
  <userID>sample string 1</userID>
</WeighController.VehicleImage>

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

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>