POST Api/ReferralFactoryLead

Request Information

URI Parameters

None.

Body Parameters

ParamReferalFactoryLead
NameDescriptionTypeAdditional information
referrer_id

string

None.

referrer_code

string

None.

referrer_first_name

string

None.

referrer_email

string

None.

id

string

None.

code

string

None.

first_name

string

None.

email

string

None.

url

string

None.

source

string

None.

date

string

None.

referrals_count

string

None.

campaign_id

string

None.

last_name

string

None.

phone_number

string

None.

post_code

string

None.

postcode

string

None.

what_would_you_like_to_compare

string

None.

Request Formats

application/json, text/json

Sample:
{
  "referrer_id": "sample string 1",
  "referrer_code": "sample string 2",
  "referrer_first_name": "sample string 3",
  "referrer_email": "sample string 4",
  "id": "sample string 5",
  "code": "sample string 6",
  "first_name": "sample string 7",
  "email": "sample string 8",
  "url": "sample string 9",
  "source": "sample string 10",
  "date": "sample string 11",
  "referrals_count": "sample string 12",
  "campaign_id": "sample string 13",
  "last_name": "sample string 14",
  "phone_number": "sample string 15",
  "post_code": "sample string 16",
  "postcode": "sample string 17",
  "what_would_you_like_to_compare": "sample string 18"
}

application/xml, text/xml

Sample:
<ParamReferalFactoryLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoSwitch.CustomerTools.Models.Master.Parameters">
  <campaign_id>sample string 13</campaign_id>
  <code>sample string 6</code>
  <date>sample string 11</date>
  <email>sample string 8</email>
  <first_name>sample string 7</first_name>
  <id>sample string 5</id>
  <last_name>sample string 14</last_name>
  <phone_number>sample string 15</phone_number>
  <post_code>sample string 16</post_code>
  <postcode>sample string 17</postcode>
  <referrals_count>sample string 12</referrals_count>
  <referrer_code>sample string 2</referrer_code>
  <referrer_email>sample string 4</referrer_email>
  <referrer_first_name>sample string 3</referrer_first_name>
  <referrer_id>sample string 1</referrer_id>
  <source>sample string 10</source>
  <url>sample string 9</url>
  <what_would_you_like_to_compare>sample string 18</what_would_you_like_to_compare>
</ParamReferalFactoryLead>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.