POST api/vehicletype

Request Information

URI Parameters

None.

Body Parameters

vehicletype
NameDescriptionTypeAdditional information
id

integer

None.

vehicletypename

string

None.

createdon

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "vehicletypename": "sample string 2",
  "createdon": "2022-10-04T21:03:04.9046431+05:30"
}

application/xml, text/xml

Sample:
<vehicletype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-04T21:03:04.9046431+05:30</createdon>
  <id>1</id>
  <vehicletypename>sample string 2</vehicletypename>
</vehicletype>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

vehicletype
NameDescriptionTypeAdditional information
id

integer

None.

vehicletypename

string

None.

createdon

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "vehicletypename": "sample string 2",
  "createdon": "2022-10-04T21:03:04.9202682+05:30"
}

application/xml, text/xml

Sample:
<vehicletype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WBBedAvailibility">
  <createdon>2022-10-04T21:03:04.9202682+05:30</createdon>
  <id>1</id>
  <vehicletypename>sample string 2</vehicletypename>
</vehicletype>