POST api/VehicleTypes
Request Information
URI Parameters
None.
Body Parameters
VehicleTypeDto| Name | 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": "2025-11-18T07:34:05.9176434+00:00",
"updated": "2025-11-18T07:34:05.9176434+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.