POST api/CUSLead

Request Information

URI Parameters

None.

Body Parameters

Lead
NameDescriptionTypeAdditional information
GatewayID

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

Email

string

None.

State

string

None.

Zip

string

None.

Phone

string

None.

DoNotLiveInUs

string

None.

ReferallSource

string

None.

DoYouLiveInTheUS

string

None.

SourceCode

string

None.

ProgramType

string

None.

ProgramID

string

None.

LeadVendorID

string

None.

GoogleID

string

None.

CloudAmpData

string

None.

QCFFormCheck

string

None.

DeliveryDate

date

None.

DeliveryStatus

string

None.

DeliveryResponse

string

None.

DeliveryCRMID

string

None.

RawData

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

EntryTerm

string

None.

EnterCCUAs

string

None.

LMSID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GatewayID": "sample string 1",
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "State": "sample string 6",
  "Zip": "sample string 7",
  "Phone": "sample string 8",
  "DoNotLiveInUs": "sample string 9",
  "ReferallSource": "sample string 10",
  "DoYouLiveInTheUS": "sample string 11",
  "SourceCode": "sample string 12",
  "ProgramType": "sample string 13",
  "ProgramID": "sample string 14",
  "LeadVendorID": "sample string 15",
  "GoogleID": "sample string 16",
  "CloudAmpData": "sample string 17",
  "QCFFormCheck": "sample string 18",
  "DeliveryDate": "2024-11-25T15:50:56.302089-07:00",
  "DeliveryStatus": "sample string 20",
  "DeliveryResponse": "sample string 21",
  "DeliveryCRMID": "sample string 22",
  "RawData": "sample string 23",
  "Address1": "sample string 24",
  "Address2": "sample string 25",
  "City": "sample string 26",
  "EntryTerm": "sample string 27",
  "EnterCCUAs": "sample string 28",
  "LMSID": "sample string 29"
}

application/xml, text/xml

Sample:
<Lead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCU.MIS.CRMLead">
  <Address1>sample string 24</Address1>
  <Address2>sample string 25</Address2>
  <City>sample string 26</City>
  <CloudAmpData>sample string 17</CloudAmpData>
  <DeliveryCRMID>sample string 22</DeliveryCRMID>
  <DeliveryDate>2024-11-25T15:50:56.302089-07:00</DeliveryDate>
  <DeliveryResponse>sample string 21</DeliveryResponse>
  <DeliveryStatus>sample string 20</DeliveryStatus>
  <DoNotLiveInUs>sample string 9</DoNotLiveInUs>
  <DoYouLiveInTheUS>sample string 11</DoYouLiveInTheUS>
  <Email>sample string 5</Email>
  <EnterCCUAs>sample string 28</EnterCCUAs>
  <EntryTerm>sample string 27</EntryTerm>
  <FirstName>sample string 2</FirstName>
  <GatewayID>sample string 1</GatewayID>
  <GoogleID>sample string 16</GoogleID>
  <LMSID>sample string 29</LMSID>
  <LastName>sample string 4</LastName>
  <LeadVendorID>sample string 15</LeadVendorID>
  <MiddleName>sample string 3</MiddleName>
  <Phone>sample string 8</Phone>
  <ProgramID>sample string 14</ProgramID>
  <ProgramType>sample string 13</ProgramType>
  <QCFFormCheck>sample string 18</QCFFormCheck>
  <RawData>sample string 23</RawData>
  <ReferallSource>sample string 10</ReferallSource>
  <SourceCode>sample string 12</SourceCode>
  <State>sample string 6</State>
  <Zip>sample string 7</Zip>
</Lead>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.