PUT api/vehicles/{stockNumber}/advertising
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stockNumber | integer |
Required |
Body Parameters
VehicleAdvertisingSubModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PlaceAd | boolean |
None. |
|
| ReducePrice | string |
None. |
|
| RemoveAd | string |
None. |
|
| EnableReduce | boolean |
None. |
|
| ReduceFrequency | string |
None. |
|
| WebsitePayment | decimal number |
None. |
|
| WebsiteDownPayment | decimal number |
None. |
|
| PaymentFrequency | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PlaceAd": true,
"ReducePrice": "sample string 2",
"RemoveAd": "sample string 3",
"EnableReduce": true,
"ReduceFrequency": "sample string 5",
"WebsitePayment": 6.0,
"WebsiteDownPayment": 7.0,
"PaymentFrequency": "sample string 8"
}
application/xml, text/xml
Sample:
<VehicleAdvertisingSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.SubModels"> <EnableReduce>true</EnableReduce> <PaymentFrequency>sample string 8</PaymentFrequency> <PlaceAd>true</PlaceAd> <ReduceFrequency>sample string 5</ReduceFrequency> <ReducePrice>sample string 2</ReducePrice> <RemoveAd>sample string 3</RemoveAd> <WebsiteDownPayment>7</WebsiteDownPayment> <WebsitePayment>6</WebsitePayment> </VehicleAdvertisingSubModel>
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.