POST api/Registration/Enquiry/InsertCaptureLead

Request Information

URI Parameters

None.

Body Parameters

LeadDetails
NameDescriptionTypeAdditional information
BranchKey

string

None.

StudentName

string

None.

Mobile

string

None.

WhatsAppNumber

string

None.

Email

string

None.

Remark

string

None.

GradeId

decimal number

None.

FeesPackageId

decimal number

None.

CountryId

decimal number

None.

StateId

decimal number

None.

AreaId

decimal number

None.

IsFollowUp_Required

string

None.

LeadSourceId

decimal number

None.

CastId

decimal number

None.

SubCasteId

decimal number

None.

MediumId

decimal number

None.

LeadStageId

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchKey": "sample string 1",
  "StudentName": "sample string 2",
  "Mobile": "sample string 3",
  "WhatsAppNumber": "sample string 4",
  "Email": "sample string 5",
  "Remark": "sample string 6",
  "GradeId": 1.0,
  "FeesPackageId": 1.0,
  "CountryId": 1.0,
  "StateId": 1.0,
  "AreaId": 1.0,
  "IsFollowUp_Required": "sample string 7",
  "LeadSourceId": 1.0,
  "CastId": 1.0,
  "SubCasteId": 1.0,
  "MediumId": 1.0,
  "LeadStageId": 1.0
}

application/xml, text/xml

Sample:
<LeadDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AreaId>1</AreaId>
  <BranchKey>sample string 1</BranchKey>
  <CastId>1</CastId>
  <CountryId>1</CountryId>
  <Email>sample string 5</Email>
  <FeesPackageId>1</FeesPackageId>
  <GradeId>1</GradeId>
  <IsFollowUp_Required>sample string 7</IsFollowUp_Required>
  <LeadSourceId>1</LeadSourceId>
  <LeadStageId>1</LeadStageId>
  <MediumId>1</MediumId>
  <Mobile>sample string 3</Mobile>
  <Remark>sample string 6</Remark>
  <StateId>1</StateId>
  <StudentName>sample string 2</StudentName>
  <SubCasteId>1</SubCasteId>
  <WhatsAppNumber>sample string 4</WhatsAppNumber>
</LeadDetails>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>