POST Api/ExaminationForm/InsertExaminationForm

Request Information

URI Parameters

None.

Body Parameters

ExaminationForm
NameDescriptionTypeAdditional information
enrollmentNo

string

None.

allotedRollNo

integer

None.

examType

string

None.

nameOfExamination

string

None.

passingYear

integer

None.

board

string

None.

rollNumber

string

None.

marksObtained

string

None.

maximumMarks

string

None.

houseNo

string

None.

street

string

None.

postOffice

string

None.

district

string

None.

state

string

None.

subject

string

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

id

string

None.

strId

string

None.

userId

integer

None.

status

integer

None.

message

string

None.

PageSize

string

None.

PageIndex

string

None.

responseValue

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "enrollmentNo": "sample string 1",
  "allotedRollNo": 2,
  "examType": "sample string 3",
  "nameOfExamination": "sample string 4",
  "passingYear": 5,
  "board": "sample string 6",
  "rollNumber": "sample string 7",
  "marksObtained": "sample string 8",
  "maximumMarks": "sample string 9",
  "houseNo": "sample string 10",
  "street": "sample string 11",
  "postOffice": "sample string 12",
  "district": "sample string 13",
  "state": "sample string 14",
  "subject": "sample string 15",
  "opCode": 16,
  "isException": true,
  "exceptionMessage": "sample string 18",
  "ds": null,
  "id": "sample string 19",
  "strId": "sample string 20",
  "userId": 21,
  "status": 22,
  "message": "sample string 23",
  "pageSize": "sample string 24",
  "pageIndex": "sample string 25",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<ExaminationForm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSWebAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 25</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 24</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 18</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 19</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 23</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">16</opCode>
  <responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
    <xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
      <xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" maxOccurs="unbounded" />
        </xs:complexType>
      </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
  </responseValue>
  <status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">22</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 20</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">21</userId>
  <allotedRollNo>2</allotedRollNo>
  <board>sample string 6</board>
  <district>sample string 13</district>
  <enrollmentNo>sample string 1</enrollmentNo>
  <examType>sample string 3</examType>
  <houseNo>sample string 10</houseNo>
  <marksObtained>sample string 8</marksObtained>
  <maximumMarks>sample string 9</maximumMarks>
  <nameOfExamination>sample string 4</nameOfExamination>
  <passingYear>5</passingYear>
  <postOffice>sample string 12</postOffice>
  <rollNumber>sample string 7</rollNumber>
  <state>sample string 14</state>
  <street>sample string 11</street>
  <subject>sample string 15</subject>
</ExaminationForm>

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

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.