POST Api/NoticeDetails/GetNoticeDetailsByStudent

Request Information

URI Parameters

None.

Body Parameters

NoticeDetails
NameDescriptionTypeAdditional information
sessionId

string

None.

courseId

string

None.

semesterid

string

None.

visibleFrom

string

None.

visibleTo

string

None.

locationId

string

None.

eventDate

string

None.

eventTimeFrom

string

None.

eventTimeTo

string

None.

noticeTypeId

string

None.

noticeHeading

string

None.

noticeFile

string

None.

isPublic

string

None.

isEvent

string

None.

note

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:
{
  "sessionId": "sample string 1",
  "courseId": "sample string 2",
  "semesterid": "sample string 3",
  "visibleFrom": "sample string 4",
  "visibleTo": "sample string 5",
  "locationId": "sample string 6",
  "eventDate": "sample string 7",
  "eventTimeFrom": "sample string 8",
  "eventTimeTo": "sample string 9",
  "noticeTypeId": "sample string 10",
  "noticeHeading": "sample string 11",
  "noticeFile": "sample string 12",
  "isPublic": "sample string 13",
  "isEvent": "sample string 14",
  "note": "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:
<NoticeDetails 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>
  <courseId>sample string 2</courseId>
  <eventDate>sample string 7</eventDate>
  <eventTimeFrom>sample string 8</eventTimeFrom>
  <eventTimeTo>sample string 9</eventTimeTo>
  <isEvent>sample string 14</isEvent>
  <isPublic>sample string 13</isPublic>
  <locationId>sample string 6</locationId>
  <note>sample string 15</note>
  <noticeFile>sample string 12</noticeFile>
  <noticeHeading>sample string 11</noticeHeading>
  <noticeTypeId>sample string 10</noticeTypeId>
  <semesterid>sample string 3</semesterid>
  <sessionId>sample string 1</sessionId>
  <visibleFrom>sample string 4</visibleFrom>
  <visibleTo>sample string 5</visibleTo>
</NoticeDetails>

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

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.