POST api/Syndication/RegisterSyndicationAccount

Add or update a syndication dealer account. Authorization required.

Request Information

URI Parameters

None.

Body Parameters

RequestRegisterSyndicationAccount
NameDescriptionTypeAdditional information
DealerId

Salesforce DealerID

string

None.

Email

User supplied contact email

string

None.

Name

User supplied contact name

string

None.

Domain

Domain of site syndication will be implemented on

string

None.

TermsAccepted

Indicates if dealer has accepted the termis and conditions

boolean

None.

AcceptanceUser

Salesforce context user logged in at time of acceptance

string

None.

AcceptanceTerms

Snapshot of the terms the user accepted

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DealerId": "sample string 1",
  "Email": "sample string 2",
  "Name": "sample string 3",
  "Domain": "sample string 4",
  "TermsAccepted": true,
  "AcceptanceUser": "sample string 6",
  "AcceptanceTerms": "sample string 7"
}

application/xml, text/xml

Sample:
<RequestRegisterSyndicationAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/data.hearthnhome.Models.Syndication.Request">
  <AcceptanceTerms>sample string 7</AcceptanceTerms>
  <AcceptanceUser>sample string 6</AcceptanceUser>
  <DealerId>sample string 1</DealerId>
  <Domain>sample string 4</Domain>
  <Email>sample string 2</Email>
  <Name>sample string 3</Name>
  <TermsAccepted>true</TermsAccepted>
</RequestRegisterSyndicationAccount>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestRegisterSyndicationAccount'.

Response Information

Resource Description

ResponseRegisterSyndicationAccount
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseRegisterSyndicationAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/data.hearthnhome.Models.Syndication.Response">
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseRegisterSyndicationAccount>