PUT api/VehicleTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

VehicleTypeDto
NameDescriptionTypeAdditional information
Id

integer

None.

Created

date

None.

Updated

date

None.

Name

string

Required

Max length: 100

Min length: 1

Description

string

Required

Max length: 200

Min length: 1

Code

string

Required

Max length: 20

Min length: 1

Type

Type

Required

Seats

integer

None.

Wheelcare

boolean

None.

Executive

boolean

None.

Saloon

boolean

None.

Luggage

integer

Range: inclusive between 1 and 100

ImageUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "created": "2018-04-19T17:44:48.989533+00:00",
  "updated": "2018-04-19T17:44:48.989533+00:00",
  "name": "sample string 1",
  "description": "sample string 2",
  "code": "sample string 3",
  "type": "Taxi",
  "seats": 1,
  "wheelcare": true,
  "executive": true,
  "saloon": true,
  "luggage": 1,
  "imageUrl": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.