POST api/VehicleTypeApi

Request Information

URI Parameters

None.

Body Parameters

VehicleTypeViewModel
NameDescriptionTypeAdditional information
VehicleTypeId

integer

None.

VehicleType

string

Required

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

SaaSid

string

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleTypeId": 1,
  "VehicleType": "sample string 2",
  "CreatedBy": "sample string 3",
  "CreatedDate": "2026-07-18T00:59:21.030441+05:30",
  "UpdatedBy": "sample string 5",
  "UpdatedDate": "2026-07-18T00:59:21.030441+05:30",
  "SaaSid": "sample string 7",
  "Status": 8
}

application/xml, text/xml

Sample:
<VehicleTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSPRO.BusinessModel">
  <CreatedBy>sample string 3</CreatedBy>
  <CreatedDate>2026-07-18T00:59:21.030441+05:30</CreatedDate>
  <SaaSid>sample string 7</SaaSid>
  <Status>8</Status>
  <UpdatedBy>sample string 5</UpdatedBy>
  <UpdatedDate>2026-07-18T00:59:21.030441+05:30</UpdatedDate>
  <VehicleType>sample string 2</VehicleType>
  <VehicleTypeId>1</VehicleTypeId>
</VehicleTypeViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>