POST api/Inventory/SaveVehicleFinance?VehicleID={VehicleID}
Add/Update vehicle finance.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleID | integer |
Required |
Body Parameters
VehicleFinance| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleID | integer |
None. |
|
| APR | decimal number |
None. |
|
| NoOfPayments | integer |
None. |
|
| Frequency | PaymentFrequencyEnum |
None. |
|
| DownPaymentPercentage | decimal number |
None. |
|
| DownPayment | decimal number |
None. |
|
| PaymentAmount | decimal number |
None. |
|
| TaxPercentage | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"VehicleID": 1,
"APR": 2.0,
"NoOfPayments": 3,
"Frequency": 1,
"DownPaymentPercentage": 4.0,
"DownPayment": 5.0,
"PaymentAmount": 6.0,
"TaxPercentage": 7.0,
"TaxAmount": 8.0
}
application/xml, text/xml
Sample:
<VehicleFinance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model"> <APR>2</APR> <DownPayment>5</DownPayment> <DownPaymentPercentage>4</DownPaymentPercentage> <Frequency>Monthly</Frequency> <NoOfPayments>3</NoOfPayments> <PaymentAmount>6</PaymentAmount> <TaxAmount>8</TaxAmount> <TaxPercentage>7</TaxPercentage> <VehicleID>1</VehicleID> </VehicleFinance>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.