PUT api/Taxis/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Taxi
NameDescriptionTypeAdditional information
id

integer

None.

VehicleName

string

None.

OwnerId

string

None.

TaxiTypeId

string

None.

RegNo

string

None.

DriverId

integer

None.

Make

integer

None.

Model

integer

None.

Colour

string

None.

Image

string

None.

VINNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "VehicleName": "sample string 2",
  "OwnerId": "sample string 3",
  "TaxiTypeId": "sample string 4",
  "RegNo": "sample string 5",
  "DriverId": 1,
  "Make": 1,
  "Model": 1,
  "Colour": "sample string 6",
  "Image": "sample string 7",
  "VINNo": "sample string 8"
}

application/xml, text/xml

Sample:
<Taxi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaITBackend.Models">
  <Colour>sample string 6</Colour>
  <DriverId>1</DriverId>
  <Image>sample string 7</Image>
  <Make>1</Make>
  <Model>1</Model>
  <OwnerId>sample string 3</OwnerId>
  <RegNo>sample string 5</RegNo>
  <TaxiTypeId>sample string 4</TaxiTypeId>
  <VINNo>sample string 8</VINNo>
  <VehicleName>sample string 2</VehicleName>
  <id>1</id>
</Taxi>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.