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