POST v1/dealer/{dealerId}/fees/newinventory
Sets fees settings for current dealer new car inventory
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dealerId | string |
Required |
Body Parameters
DealerFeesName | Description | Type | Additional information |
---|---|---|---|
StandardFees | StandardFees |
None. |
|
AdditionalFees | Collection of AdditionalFee |
None. |
Request Formats
application/json, text/json
Sample:
{ "standardFees": { "addFreight": true, "addPdi": true, "addTires": true, "addAC": true, "addOmvic": true }, "additionalFees": [ { "id": 1, "lease": true, "cash": true, "finance": true, "addToPrice": true, "feeName": "sample string 5", "feeNameFrench": "sample string 6", "amount": 1.0 }, { "id": 1, "lease": true, "cash": true, "finance": true, "addToPrice": true, "feeName": "sample string 5", "feeNameFrench": "sample string 6", "amount": 1.0 } ] }
application/xml, text/xml
Sample:
<DealerFees xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trader.DealerServices.Core.Models.DealerFees"> <AdditionalFees xmlns:d2p1="http://schemas.datacontract.org/2004/07/Trader.DealerServices.Core.Models.DealerApi.DealerFees"> <d2p1:AdditionalFee> <d2p1:AddToPrice>true</d2p1:AddToPrice> <d2p1:Amount>1</d2p1:Amount> <d2p1:Cash>true</d2p1:Cash> <d2p1:FeeName>sample string 5</d2p1:FeeName> <d2p1:FeeNameFrench>sample string 6</d2p1:FeeNameFrench> <d2p1:Finance>true</d2p1:Finance> <d2p1:Id>1</d2p1:Id> <d2p1:Lease>true</d2p1:Lease> </d2p1:AdditionalFee> <d2p1:AdditionalFee> <d2p1:AddToPrice>true</d2p1:AddToPrice> <d2p1:Amount>1</d2p1:Amount> <d2p1:Cash>true</d2p1:Cash> <d2p1:FeeName>sample string 5</d2p1:FeeName> <d2p1:FeeNameFrench>sample string 6</d2p1:FeeNameFrench> <d2p1:Finance>true</d2p1:Finance> <d2p1:Id>1</d2p1:Id> <d2p1:Lease>true</d2p1:Lease> </d2p1:AdditionalFee> </AdditionalFees> <StandardFees> <AddAC>true</AddAC> <AddFreight>true</AddFreight> <AddOmvic>true</AddOmvic> <AddPdi>true</AddPdi> <AddTires>true</AddTires> </StandardFees> </DealerFees>
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.