GET api/GetEventDetails?SchoolId={SchoolId}&RoleId={RoleId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolId | integer |
Required |
|
| RoleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Event| Name | Description | Type | Additional information |
|---|---|---|---|
| EventID | integer |
None. |
|
| EventName | string |
None. |
|
| EventDescription | string |
None. |
|
| Event_Start | date |
None. |
|
| Event_End | date |
None. |
|
| EventLocation | string |
None. |
|
| EventType | string |
None. |
|
| ImageFileSize | string |
None. |
|
| ImagePath | string |
None. |
|
| EventImageName | string |
None. |
|
| VideoName | string |
None. |
|
| VideoPath | string |
None. |
|
| SchoolId | integer |
None. |
|
| UserId | integer |
None. |
|
| EntryRoleID | integer |
None. |
|
| EntryBy | integer |
None. |
|
| ModifyRoleId | integer |
None. |
|
| ModifyBy | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"eventID": 1,
"eventName": "sample string 2",
"eventDescription": "sample string 3",
"event_Start": "2025-11-18T05:03:15.344778-08:00",
"event_End": "2025-11-18T05:03:15.344778-08:00",
"eventLocation": "sample string 6",
"eventType": "sample string 7",
"imageFileSize": "sample string 8",
"imagePath": "sample string 9",
"eventImageName": "sample string 10",
"videoName": "sample string 11",
"videoPath": "sample string 12",
"schoolId": 13,
"userId": 14,
"entryRoleID": 15,
"entryBy": 16,
"modifyRoleId": 1,
"modifyBy": 1
},
{
"eventID": 1,
"eventName": "sample string 2",
"eventDescription": "sample string 3",
"event_Start": "2025-11-18T05:03:15.344778-08:00",
"event_End": "2025-11-18T05:03:15.344778-08:00",
"eventLocation": "sample string 6",
"eventType": "sample string 7",
"imageFileSize": "sample string 8",
"imagePath": "sample string 9",
"eventImageName": "sample string 10",
"videoName": "sample string 11",
"videoPath": "sample string 12",
"schoolId": 13,
"userId": 14,
"entryRoleID": 15,
"entryBy": 16,
"modifyRoleId": 1,
"modifyBy": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolMaster_API.Models">
<Event>
<EntryBy>16</EntryBy>
<EntryRoleID>15</EntryRoleID>
<EventDescription>sample string 3</EventDescription>
<EventID>1</EventID>
<EventImageName>sample string 10</EventImageName>
<EventLocation>sample string 6</EventLocation>
<EventName>sample string 2</EventName>
<EventType>sample string 7</EventType>
<Event_End>2025-11-18T05:03:15.344778-08:00</Event_End>
<Event_Start>2025-11-18T05:03:15.344778-08:00</Event_Start>
<ImageFileSize>sample string 8</ImageFileSize>
<ImagePath>sample string 9</ImagePath>
<ModifyBy>1</ModifyBy>
<ModifyRoleId>1</ModifyRoleId>
<SchoolId>13</SchoolId>
<UserId>14</UserId>
<VideoName>sample string 11</VideoName>
<VideoPath>sample string 12</VideoPath>
</Event>
<Event>
<EntryBy>16</EntryBy>
<EntryRoleID>15</EntryRoleID>
<EventDescription>sample string 3</EventDescription>
<EventID>1</EventID>
<EventImageName>sample string 10</EventImageName>
<EventLocation>sample string 6</EventLocation>
<EventName>sample string 2</EventName>
<EventType>sample string 7</EventType>
<Event_End>2025-11-18T05:03:15.344778-08:00</Event_End>
<Event_Start>2025-11-18T05:03:15.344778-08:00</Event_Start>
<ImageFileSize>sample string 8</ImageFileSize>
<ImagePath>sample string 9</ImagePath>
<ModifyBy>1</ModifyBy>
<ModifyRoleId>1</ModifyRoleId>
<SchoolId>13</SchoolId>
<UserId>14</UserId>
<VideoName>sample string 11</VideoName>
<VideoPath>sample string 12</VideoPath>
</Event>
</ArrayOfEvent>