POST v1/dealer/{dealerId}/incentives/inventory
Sets incentive settings for current dealer inventory
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dealerId | string |
Required |
Body Parameters
Collection of DealerIncentivesNewCarInventoryItemSettingsName | Description | Type | Additional information |
---|---|---|---|
IncentivesDisabled | boolean |
None. |
|
AdId | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "incentivesDisabled": true, "adId": "sample string 2" }, { "incentivesDisabled": true, "adId": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfDealerIncentivesNewCarInventoryItemSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trader.DealerServices.Core.Models.DealerApi.DealerIncentives"> <DealerIncentivesNewCarInventoryItemSettings> <AdId>sample string 2</AdId> <IncentivesDisabled>true</IncentivesDisabled> </DealerIncentivesNewCarInventoryItemSettings> <DealerIncentivesNewCarInventoryItemSettings> <AdId>sample string 2</AdId> <IncentivesDisabled>true</IncentivesDisabled> </DealerIncentivesNewCarInventoryItemSettings> </ArrayOfDealerIncentivesNewCarInventoryItemSettings>
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.