PUT api/vehicles/{stockNumber}/subscription
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockNumber | integer |
Required |
Body Parameters
VehicleDepreciationSubModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BeginningDepreciatedAmount | decimal number |
None. |
|
| DepreciationPercent | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"BeginningDepreciatedAmount": 1.0,
"DepreciationPercent": 2.0
}
application/xml, text/xml
Sample:
<VehicleDepreciationSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <BeginningDepreciatedAmount>1</BeginningDepreciatedAmount> <DepreciationPercent>2</DepreciationPercent> </VehicleDepreciationSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.