PUT api/VehicleTypes/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
VehicleTypeDtoName | Description | Type | Additional 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": "2024-11-05T22:14:29.2257946+00:00", "updated": "2024-11-05T22:14:29.2257946+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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.