POST api/WebPortal/Enquiry/insertRecord

Request Information

URI Parameters

None.

Body Parameters

Enquiry
NameDescriptionTypeAdditional information
EnquiryId

decimal number

None.

BranchId

decimal number

None.

EnquiryNo

string

None.

EnquiryDate

date

None.

ParentId

decimal number

None.

StudentName

string

None.

AadhaarNo

string

None.

Gender

string

None.

MaritalStatusId

decimal number

None.

Mobile

string

None.

WhatsAppNumber

string

None.

SMSOPTOUTMobile

integer

None.

DOB

date

None.

CastId

decimal number

None.

ReligionId

decimal number

None.

StudentPhoto

string

None.

BloodGroupId

decimal number

None.

Email

string

None.

UnsubscribeEmail

integer

None.

Address

string

None.

PermanentAddress

string

None.

SecuredMarks

string

None.

ZipCode

string

None.

AreaId

decimal number

None.

StateId

decimal number

None.

CountryId

decimal number

None.

MediumId

decimal number

None.

EducationId

decimal number

None.

FeesPackageId

decimal number

None.

LeadSourceId

decimal number

None.

LeadStageId

decimal number

None.

EmployeeId

decimal number

None.

StreamId

decimal number

None.

CollegeName

string

None.

ClientCategoryId

integer

None.

GSTIN

string

None.

Remark

string

None.

LastRemark

string

None.

BankName

string

None.

BankAccountNumber

string

None.

BankIFSC_Code

string

None.

Next_FollowUp_Date

string

None.

Next_FollowUp_DateTime

string

None.

IsFollowUp_Required

boolean

None.

Password

string

None.

EditReason

string

None.

CreatedBy

decimal number

None.

CreatedDate

date

None.

Status

string

None.

UploadCV

string

None.

SubCasteId

decimal number

None.

PlaceOfBirth

string

None.

SaralNo

string

None.

BranchKey

string

None.

ReferralId

integer

None.

LeadTypeId

decimal number

None.

IsEnquiryGradeExists

decimal number

None.

EnquiryCustomFieldData

Collection of EnquiryCustomFieldValues

None.

EnquiryGrade

Collection of EnquiryGrade

None.

Request Formats

application/json, text/json

Sample:
{
  "EnquiryId": 1.0,
  "BranchId": 2.0,
  "EnquiryNo": "sample string 3",
  "EnquiryDate": "2022-05-19T01:47:53.5061675+05:30",
  "ParentId": 1.0,
  "StudentName": "sample string 4",
  "AadhaarNo": "sample string 5",
  "Gender": "sample string 6",
  "MaritalStatusId": 1.0,
  "Mobile": "sample string 7",
  "WhatsAppNumber": "sample string 8",
  "SMSOPTOUTMobile": 1,
  "DOB": "2022-05-19T01:47:53.5061675+05:30",
  "CastId": 1.0,
  "ReligionId": 1.0,
  "StudentPhoto": "sample string 9",
  "BloodGroupId": 1.0,
  "Email": "sample string 10",
  "UnsubscribeEmail": 1,
  "Address": "sample string 11",
  "PermanentAddress": "sample string 12",
  "SecuredMarks": "sample string 13",
  "ZipCode": "sample string 14",
  "AreaId": 1.0,
  "StateId": 1.0,
  "CountryId": 1.0,
  "MediumId": 1.0,
  "EducationId": 1.0,
  "FeesPackageId": 1.0,
  "LeadSourceId": 1.0,
  "LeadStageId": 1.0,
  "EmployeeId": 1.0,
  "StreamId": 1.0,
  "CollegeName": "sample string 15",
  "ClientCategoryId": 1,
  "GSTIN": "sample string 16",
  "Remark": "sample string 17",
  "LastRemark": "sample string 18",
  "BankName": "sample string 19",
  "BankAccountNumber": "sample string 20",
  "BankIFSC_Code": "sample string 21",
  "Next_FollowUp_Date": "sample string 22",
  "Next_FollowUp_DateTime": "sample string 23",
  "IsFollowUp_Required": true,
  "Password": "sample string 25",
  "EditReason": "sample string 26",
  "CreatedBy": 27.0,
  "CreatedDate": "2022-05-19T01:47:53.5061675+05:30",
  "Status": "sample string 29",
  "UploadCV": "sample string 30",
  "SubCasteId": 1.0,
  "PlaceOfBirth": "sample string 31",
  "SaralNo": "sample string 32",
  "BranchKey": "sample string 33",
  "ReferralId": 1,
  "LeadTypeId": 34.0,
  "IsEnquiryGradeExists": 35.0,
  "EnquiryCustomFieldData": [
    {
      "EnquiryCustomFieldDataId": 1.0,
      "EnquiryCustomFieldId": 2.0,
      "DataValue": "sample string 3"
    },
    {
      "EnquiryCustomFieldDataId": 1.0,
      "EnquiryCustomFieldId": 2.0,
      "DataValue": "sample string 3"
    }
  ],
  "EnquiryGrade": [
    {
      "EnquiryGradeId": 1.0,
      "GradeId": 2.0
    },
    {
      "EnquiryGradeId": 1.0,
      "GradeId": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<Enquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <AadhaarNo>sample string 5</AadhaarNo>
  <Address>sample string 11</Address>
  <AreaId>1</AreaId>
  <BankAccountNumber>sample string 20</BankAccountNumber>
  <BankIFSC_Code>sample string 21</BankIFSC_Code>
  <BankName>sample string 19</BankName>
  <BloodGroupId>1</BloodGroupId>
  <BranchId>2</BranchId>
  <BranchKey>sample string 33</BranchKey>
  <CastId>1</CastId>
  <ClientCategoryId>1</ClientCategoryId>
  <CollegeName>sample string 15</CollegeName>
  <CountryId>1</CountryId>
  <CreatedBy>27</CreatedBy>
  <CreatedDate>2022-05-19T01:47:53.5061675+05:30</CreatedDate>
  <DOB>2022-05-19T01:47:53.5061675+05:30</DOB>
  <EditReason>sample string 26</EditReason>
  <EducationId>1</EducationId>
  <Email>sample string 10</Email>
  <EmployeeId>1</EmployeeId>
  <EnquiryCustomFieldData>
    <EnquiryCustomFieldValues>
      <DataValue>sample string 3</DataValue>
      <EnquiryCustomFieldDataId>1</EnquiryCustomFieldDataId>
      <EnquiryCustomFieldId>2</EnquiryCustomFieldId>
    </EnquiryCustomFieldValues>
    <EnquiryCustomFieldValues>
      <DataValue>sample string 3</DataValue>
      <EnquiryCustomFieldDataId>1</EnquiryCustomFieldDataId>
      <EnquiryCustomFieldId>2</EnquiryCustomFieldId>
    </EnquiryCustomFieldValues>
  </EnquiryCustomFieldData>
  <EnquiryDate>2022-05-19T01:47:53.5061675+05:30</EnquiryDate>
  <EnquiryGrade>
    <EnquiryGrade>
      <EnquiryGradeId>1</EnquiryGradeId>
      <GradeId>2</GradeId>
    </EnquiryGrade>
    <EnquiryGrade>
      <EnquiryGradeId>1</EnquiryGradeId>
      <GradeId>2</GradeId>
    </EnquiryGrade>
  </EnquiryGrade>
  <EnquiryId>1</EnquiryId>
  <EnquiryNo>sample string 3</EnquiryNo>
  <FeesPackageId>1</FeesPackageId>
  <GSTIN>sample string 16</GSTIN>
  <Gender>sample string 6</Gender>
  <IsEnquiryGradeExists>35</IsEnquiryGradeExists>
  <IsFollowUp_Required>true</IsFollowUp_Required>
  <LastRemark>sample string 18</LastRemark>
  <LeadSourceId>1</LeadSourceId>
  <LeadStageId>1</LeadStageId>
  <LeadTypeId>34</LeadTypeId>
  <MaritalStatusId>1</MaritalStatusId>
  <MediumId>1</MediumId>
  <Mobile>sample string 7</Mobile>
  <Next_FollowUp_Date>sample string 22</Next_FollowUp_Date>
  <Next_FollowUp_DateTime>sample string 23</Next_FollowUp_DateTime>
  <ParentId>1</ParentId>
  <Password>sample string 25</Password>
  <PermanentAddress>sample string 12</PermanentAddress>
  <PlaceOfBirth>sample string 31</PlaceOfBirth>
  <ReferralId>1</ReferralId>
  <ReligionId>1</ReligionId>
  <Remark>sample string 17</Remark>
  <SMSOPTOUTMobile>1</SMSOPTOUTMobile>
  <SaralNo>sample string 32</SaralNo>
  <SecuredMarks>sample string 13</SecuredMarks>
  <StateId>1</StateId>
  <Status>sample string 29</Status>
  <StreamId>1</StreamId>
  <StudentName>sample string 4</StudentName>
  <StudentPhoto>sample string 9</StudentPhoto>
  <SubCasteId>1</SubCasteId>
  <UnsubscribeEmail>1</UnsubscribeEmail>
  <UploadCV>sample string 30</UploadCV>
  <WhatsAppNumber>sample string 8</WhatsAppNumber>
  <ZipCode>sample string 14</ZipCode>
</Enquiry>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

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