POST api/VehiclePurchaseStock/Update

Request Information

URI Parameters

None.

Body Parameters

VehiclePurchaseUpdateRequest
NameDescriptionTypeAdditional information
Id

integer

None.

RegistrationNo

string

None.

Year

integer

None.

Make

string

None.

Seller

string

None.

PurchasePrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RegistrationNo": "sample string 2",
  "Year": 3,
  "Make": "sample string 4",
  "Seller": "sample string 5",
  "PurchasePrice": 6.0
}

application/xml, text/xml

Sample:
<VehiclePurchaseUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebService.Models">
  <Make>sample string 4</Make>
  <PurchasePrice>6</PurchasePrice>
  <RegistrationNo>sample string 2</RegistrationNo>
  <Seller>sample string 5</Seller>
  <Year>3</Year>
  <Id>1</Id>
</VehiclePurchaseUpdateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.