POST eCommerce/lead

Create eCommerce Lead record

Request Information

URI Parameters

None.

Body Parameters

eCommerceLeadDTO
NameDescriptionTypeAdditional information
GClid

string

None.

FBClids

string

None.

MSClids

string

None.

GAClientID

string

None.

LeadDateTime

date

None.

NearestLocation

string

None.

zipcode

integer

None.

FortellisDealGuid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "GClid": "sample string 1",
  "FBClids": "sample string 2",
  "MSClids": "sample string 3",
  "GAClientID": "sample string 4",
  "LeadDateTime": "2024-10-31T09:58:40.3896584-04:00",
  "NearestLocation": "sample string 6",
  "zipcode": 7,
  "FortellisDealGuid": "4eb44765-76ef-4b25-8e3a-d239c1f02e0a"
}

application/xml, text/xml

Sample:
<eCommerceLeadDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonic.External.API.Models.eCommerce">
  <FBClids>sample string 2</FBClids>
  <FortellisDealGuid>4eb44765-76ef-4b25-8e3a-d239c1f02e0a</FortellisDealGuid>
  <GAClientID>sample string 4</GAClientID>
  <GClid>sample string 1</GClid>
  <LeadDateTime>2024-10-31T09:58:40.3896584-04:00</LeadDateTime>
  <MSClids>sample string 3</MSClids>
  <NearestLocation>sample string 6</NearestLocation>
  <zipcode>7</zipcode>
</eCommerceLeadDTO>

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 'eCommerceLeadDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.