POST Api/LeadGen

Request Information

URI Parameters

None.

Body Parameters

LeadGenerate
NameDescriptionTypeAdditional information
CardName

string

None.

CardType

string

None.

GroupCode

string

None.

EmailAddress

string

None.

Cellular

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardName": "sample string 1",
  "CardType": "sample string 2",
  "GroupCode": "sample string 3",
  "EmailAddress": "sample string 4",
  "Cellular": "sample string 5"
}

application/xml, text/xml

Sample:
<LeadGenerate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Duramix_WebService.Models">
  <CardName>sample string 1</CardName>
  <CardType>sample string 2</CardType>
  <Cellular>sample string 5</Cellular>
  <EmailAddress>sample string 4</EmailAddress>
  <GroupCode>sample string 3</GroupCode>
</LeadGenerate>

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

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.