POST api/vehicletype
Request Information
URI Parameters
None.
Body Parameters
vehicletypeName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
vehicletypename | string |
None. |
|
createdon | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "vehicletypename": "sample string 2", "createdon": "2024-04-24T08:45:19.7993881+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>2024-04-24T08:45:19.7993881+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
vehicletypeName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
vehicletypename | string |
None. |
|
createdon | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "vehicletypename": "sample string 2", "createdon": "2024-04-24T08:45:19.7993881+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>2024-04-24T08:45:19.7993881+05:30</createdon> <id>1</id> <vehicletypename>sample string 2</vehicletypename> </vehicletype>