POST api/VehiclePurchaseStock/Create
Request Information
URI Parameters
None.
Body Parameters
VehiclePurchaseCreateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| RegistrationNo | string |
None. |
|
| Year | integer |
None. |
|
| Make | string |
None. |
|
| Seller | string |
None. |
|
| PurchasePrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"RegistrationNo": "sample string 1",
"Year": 2,
"Make": "sample string 3",
"Seller": "sample string 4",
"PurchasePrice": 5.0
}
application/xml, text/xml
Sample:
<VehiclePurchaseCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.Models"> <Make>sample string 3</Make> <PurchasePrice>5</PurchasePrice> <RegistrationNo>sample string 1</RegistrationNo> <Seller>sample string 4</Seller> <Year>2</Year> </VehiclePurchaseCreateRequest>
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.