POST api/Purchase/UpdatePurchaseAuctionVehicle
Update Auction Vehicle Purchase
Request Information
URI Parameters
None.
Body Parameters
UpdatePurchaseAuctionVehicleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseVehicleID | integer |
None. |
|
| MakeID | integer |
None. |
|
| ModelID | integer |
None. |
|
| SeriesID | integer |
None. |
|
| YearPL | integer |
None. |
|
| BodyTypePL | integer |
None. |
|
| BidAmount | decimal number |
None. |
|
| Notes | string |
None. |
|
| PurchaseSourceTypePL | integer |
None. |
|
| PurchaseStatusPL | integer |
None. |
|
| AuctionHouseID | integer |
None. |
|
| TransportCost | decimal number |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| WinLossReview | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PurchaseVehicleID": 1,
"MakeID": 2,
"ModelID": 3,
"SeriesID": 4,
"YearPL": 5,
"BodyTypePL": 6,
"BidAmount": 7.0,
"Notes": "sample string 8",
"PurchaseSourceTypePL": 9,
"PurchaseStatusPL": 10,
"AuctionHouseID": 11,
"TransportCost": 12.0,
"CreatedBy": 13,
"CreatedDate": "2020-02-27T04:50:37.8110551+11:00",
"ModifiedBy": 15,
"ModifiedDate": "2020-02-27T04:50:37.8110551+11:00",
"WinLossReview": 17
}
application/xml, text/xml
Sample:
<UpdatePurchaseAuctionVehicleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models"> <AuctionHouseID>11</AuctionHouseID> <BidAmount>7</BidAmount> <BodyTypePL>6</BodyTypePL> <CreatedBy>13</CreatedBy> <CreatedDate>2020-02-27T04:50:37.8110551+11:00</CreatedDate> <MakeID>2</MakeID> <ModelID>3</ModelID> <ModifiedBy>15</ModifiedBy> <ModifiedDate>2020-02-27T04:50:37.8110551+11:00</ModifiedDate> <Notes>sample string 8</Notes> <PurchaseSourceTypePL>9</PurchaseSourceTypePL> <PurchaseStatusPL>10</PurchaseStatusPL> <PurchaseVehicleID>1</PurchaseVehicleID> <SeriesID>4</SeriesID> <TransportCost>12</TransportCost> <WinLossReview>17</WinLossReview> <YearPL>5</YearPL> </UpdatePurchaseAuctionVehicleModel>
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.