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-11-21T04:59:36.2175133-05:00",
  "NearestLocation": "sample string 6",
  "zipcode": 7,
  "FortellisDealGuid": "14f89ef2-7218-47cc-a91d-ea9ed1623afb"
}

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>14f89ef2-7218-47cc-a91d-ea9ed1623afb</FortellisDealGuid>
  <GAClientID>sample string 4</GAClientID>
  <GClid>sample string 1</GClid>
  <LeadDateTime>2024-11-21T04:59:36.2175133-05: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.