POST api/vehiclecreation
Request Information
URI Parameters
None.
Body Parameters
VehicleCreationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | integer |
None. |
|
| DealershipID | integer |
None. |
|
| Make | string |
None. |
|
| Model | string |
None. |
|
| YearOfManufacture | integer |
None. |
|
| VehicleRegistration | string |
None. |
|
| Colour | string |
None. |
|
| Value | decimal number |
None. |
|
| FuelType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": 1,
"DealershipID": 2,
"Make": "sample string 3",
"Model": "sample string 4",
"YearOfManufacture": 5,
"VehicleRegistration": "sample string 6",
"Colour": "sample string 7",
"Value": 8.0,
"FuelType": "sample string 9"
}
application/xml, text/xml
Sample:
<VehicleCreationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fintrak.Process.Vehicles.Models"> <ClientID>1</ClientID> <Colour>sample string 7</Colour> <DealershipID>2</DealershipID> <FuelType>sample string 9</FuelType> <Make>sample string 3</Make> <Model>sample string 4</Model> <Value>8</Value> <VehicleRegistration>sample string 6</VehicleRegistration> <YearOfManufacture>5</YearOfManufacture> </VehicleCreationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.