POST api/Vehicle/SaveVehicleSubType
Request Information
URI Parameters
None.
Body Parameters
VehicleSubTypeModal| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleSubTypeId | integer |
None. |
|
| VehicleTypeId | integer |
None. |
|
| SubTypeName | string |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleSubTypeId": 1,
"VehicleTypeId": 2,
"SubTypeName": "sample string 3",
"Amount": 1.0
}
application/xml, text/xml
Sample:
<VehicleSubTypeModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnionOwnersBackend.Models"> <Amount>1</Amount> <SubTypeName>sample string 3</SubTypeName> <VehicleSubTypeId>1</VehicleSubTypeId> <VehicleTypeId>2</VehicleTypeId> </VehicleSubTypeModal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />