PUT v1/dealer/{dealerId}/testdriverewards/settings

Sets the Test Drive Rewards settings. Sets the Enabled property and the Gift Card Amount for a dealer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dealerId

The company identifier.

string

Required

Body Parameters

The input.

TestDriveRewardsSettingsInput
NameDescriptionTypeAdditional information
Enabled

Gets or sets a value indicating whether this is enabled.

boolean

None.

Amount

Gets or sets the amount.

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "enabled": true,
  "amount": 2.0
}

application/xml, text/xml

Sample:
<TestDriveRewardsSettingsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trader.DealerServices.Api.Models.TestDriveRewards">
  <Amount>2</Amount>
  <Enabled>true</Enabled>
</TestDriveRewardsSettingsInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Task<IHttpActionResult>.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.