POST api/AddUpdateEnquiry

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objEnquiry
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "MiddleName": "sample string 2",
  "LastName": "sample string 3",
  "Gender": "sample string 4",
  "DOB": "sample string 5",
  "MobileNo": "sample string 6",
  "PhoneNo": "sample string 7",
  "Email": "sample string 8",
  "FatherName": "sample string 9",
  "FatherMobile": "sample string 10",
  "FatherOccupation": "sample string 11",
  "FatherEmail": "sample string 12",
  "Aadhar": "sample string 13",
  "Address": "sample string 14",
  "Landmark": "sample string 15",
  "CountryId": 1,
  "StateId": 1,
  "CityId": 1,
  "City": "sample string 16",
  "Pincode": "sample string 17",
  "Cast": "sample string 18",
  "Medium": "sample string 19",
  "School": "sample string 20",
  "EnrollmentNo": "sample string 21",
  "StudentID": 22,
  "EnquiryID": 23,
  "IsActive": true,
  "Name": "sample string 25",
  "EnquiryNo": "sample string 26",
  "EnquiryDate": "sample string 27",
  "SessionID": 1,
  "CourseID": 28,
  "Course": "sample string 29",
  "LumpsumFees": "sample string 30",
  "InstallmentFees": "sample string 31",
  "StreamID": 32,
  "Stream": "sample string 33",
  "Source": "sample string 34",
  "AssignedTo": "sample string 35",
  "FollowUpDate": "sample string 36",
  "EnquiryDescription": "sample string 37"
}

text/html

Sample:
{"FirstName":"sample string 1","MiddleName":"sample string 2","LastName":"sample string 3","Gender":"sample string 4","DOB":"sample string 5","MobileNo":"sample string 6","PhoneNo":"sample string 7","Email":"sample string 8","FatherName":"sample string 9","FatherMobile":"sample string 10","FatherOccupation":"sample string 11","FatherEmail":"sample string 12","Aadhar":"sample string 13","Address":"sample string 14","Landmark":"sample string 15","CountryId":1,"StateId":1,"CityId":1,"City":"sample string 16","Pincode":"sample string 17","Cast":"sample string 18","Medium":"sample string 19","School":"sample string 20","EnrollmentNo":"sample string 21","StudentID":22,"EnquiryID":23,"IsActive":true,"Name":"sample string 25","EnquiryNo":"sample string 26","EnquiryDate":"sample string 27","SessionID":1,"CourseID":28,"Course":"sample string 29","LumpsumFees":"sample string 30","InstallmentFees":"sample string 31","StreamID":32,"Stream":"sample string 33","Source":"sample string 34","AssignedTo":"sample string 35","FollowUpDate":"sample string 36","EnquiryDescription":"sample string 37"}

application/xml, text/xml

Sample:
<EnquiryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Student">
  <Aadhar>sample string 13</Aadhar>
  <Address>sample string 14</Address>
  <AssignedTo>sample string 35</AssignedTo>
  <Cast>sample string 18</Cast>
  <City>sample string 16</City>
  <CityId>1</CityId>
  <CountryId>1</CountryId>
  <Course>sample string 29</Course>
  <CourseID>28</CourseID>
  <DOB>sample string 5</DOB>
  <Email>sample string 8</Email>
  <EnquiryDate>sample string 27</EnquiryDate>
  <EnquiryDescription>sample string 37</EnquiryDescription>
  <EnquiryID>23</EnquiryID>
  <EnquiryNo>sample string 26</EnquiryNo>
  <EnrollmentNo>sample string 21</EnrollmentNo>
  <FatherEmail>sample string 12</FatherEmail>
  <FatherMobile>sample string 10</FatherMobile>
  <FatherName>sample string 9</FatherName>
  <FatherOccupation>sample string 11</FatherOccupation>
  <FirstName>sample string 1</FirstName>
  <FollowUpDate>sample string 36</FollowUpDate>
  <Gender>sample string 4</Gender>
  <InstallmentFees>sample string 31</InstallmentFees>
  <IsActive>true</IsActive>
  <Landmark>sample string 15</Landmark>
  <LastName>sample string 3</LastName>
  <LumpsumFees>sample string 30</LumpsumFees>
  <Medium>sample string 19</Medium>
  <MiddleName>sample string 2</MiddleName>
  <MobileNo>sample string 6</MobileNo>
  <Name>sample string 25</Name>
  <PhoneNo>sample string 7</PhoneNo>
  <Pincode>sample string 17</Pincode>
  <School>sample string 20</School>
  <SessionID>1</SessionID>
  <Source>sample string 34</Source>
  <StateId>1</StateId>
  <Stream>sample string 33</Stream>
  <StreamID>32</StreamID>
  <StudentID>22</StudentID>
</EnquiryViewModel>

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