POST Api/subjectCreditHour/GetSubjectList

Request Information

URI Parameters

None.

Body Parameters

subjectCreditHour
NameDescriptionTypeAdditional information
subjectId

integer

None.

courseId

integer

None.

batchId

integer

None.

sessionId

integer

None.

semesterId

integer

None.

subjectType

integer

None.

subjectCode

string

None.

dtcreditHour

string

None.

studentId

integer

None.

totalCreditPoint

integer

None.

SGPA

decimal number

None.

examType

integer

None.

creditEarn

decimal number

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:
{
  "subjectId": 1,
  "courseId": 2,
  "batchId": 3,
  "sessionId": 4,
  "semesterId": 5,
  "subjectType": 6,
  "subjectCode": "sample string 7",
  "dtcreditHour": "sample string 8",
  "studentId": 9,
  "totalCreditPoint": 10,
  "sgpa": 11.1,
  "examType": 12,
  "creditEarn": 13.0,
  "opCode": 14,
  "isException": true,
  "exceptionMessage": "sample string 16",
  "ds": null,
  "id": "sample string 17",
  "strId": "sample string 18",
  "userId": 19,
  "status": 20,
  "message": "sample string 21",
  "pageSize": "sample string 22",
  "pageIndex": "sample string 23",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<subjectCreditHour 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 23</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 22</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 16</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 17</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 21</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">14</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">20</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 18</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">19</userId>
  <SGPA>11.1</SGPA>
  <batchId>3</batchId>
  <courseId>2</courseId>
  <creditEarn>13</creditEarn>
  <dtcreditHour>sample string 8</dtcreditHour>
  <examType>12</examType>
  <semesterId>5</semesterId>
  <sessionId>4</sessionId>
  <studentId>9</studentId>
  <subjectCode>sample string 7</subjectCode>
  <subjectId>1</subjectId>
  <subjectType>6</subjectType>
  <totalCreditPoint>10</totalCreditPoint>
</subjectCreditHour>

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

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.