PUT v1/dealer/{dealerId}/dealerevent/{eventId}
Sets the Dealer Event details (Update Existing Event)
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
dealerId |
The company identifier. |
string |
Required |
eventId |
The event identifier. |
string |
Required |
Body Parameters
The dealer event model.
DealerEventModelName | Description | Type | Additional information |
---|---|---|---|
DealerId |
Dealer Event Dealer Id |
string |
None. |
EventId |
Dealer Event Event Id |
string |
None. |
Title |
Dealer Event Title |
string |
None. |
EventStartDate |
Dealer Event Event Start Date |
date |
None. |
EventEndDate |
Dealer Event Event End Date |
date |
None. |
ImageUrl |
Dealer Event Image for event |
string |
None. |
AppliesTo |
Dealer Event Applies to which inventory |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "dealerId": "sample string 1", "eventId": "sample string 2", "title": "sample string 3", "eventStartDate": "2025-01-10T13:44:03.4905108+00:00", "eventEndDate": "2025-01-10T13:44:03.4905108+00:00", "imageUrl": "sample string 6", "appliesTo": "sample string 7" }
application/xml, text/xml
Sample:
<DealerEventModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trader.DealerServices.Api.Models.DealerEvents"> <AppliesTo>sample string 7</AppliesTo> <DealerId>sample string 1</DealerId> <EventEndDate>2025-01-10T13:44:03.4905108+00:00</EventEndDate> <EventId>sample string 2</EventId> <EventStartDate>2025-01-10T13:44:03.4905108+00:00</EventStartDate> <ImageUrl>sample string 6</ImageUrl> <Title>sample string 3</Title> </DealerEventModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Task<IHttpActionResult>.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.