POST Api/ResultDetails/InsertResultDetails

Request Information

URI Parameters

None.

Body Parameters

ResultDetails
NameDescriptionTypeAdditional information
courseId

string

None.

sessionId

string

None.

semesterId

string

None.

examType

string

None.

examMonthYear

string

None.

noticeNo

string

None.

resultDeclarationDate

string

None.

remark

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:
{
  "courseId": "sample string 1",
  "sessionId": "sample string 2",
  "semesterId": "sample string 3",
  "examType": "sample string 4",
  "examMonthYear": "sample string 5",
  "noticeNo": "sample string 6",
  "resultDeclarationDate": "sample string 7",
  "remark": "sample string 8",
  "opCode": 9,
  "isException": true,
  "exceptionMessage": "sample string 11",
  "ds": null,
  "id": "sample string 12",
  "strId": "sample string 13",
  "userId": 14,
  "status": 15,
  "message": "sample string 16",
  "pageSize": "sample string 17",
  "pageIndex": "sample string 18",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<ResultDetails 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 18</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 17</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 11</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 12</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 16</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">9</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">15</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 13</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">14</userId>
  <courseId>sample string 1</courseId>
  <examMonthYear>sample string 5</examMonthYear>
  <examType>sample string 4</examType>
  <noticeNo>sample string 6</noticeNo>
  <remark>sample string 8</remark>
  <resultDeclarationDate>sample string 7</resultDeclarationDate>
  <semesterId>sample string 3</semesterId>
  <sessionId>sample string 2</sessionId>
</ResultDetails>

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

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.