GET api/GetEventDetails?Schoolid={Schoolid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Schoolid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Event
NameDescriptionTypeAdditional information
EventID

integer

None.

EventName

string

None.

EventDescription

string

None.

event_start

date

None.

event_end

date

None.

EventLocation

string

None.

EventType

string

None.

ImagePath

string

None.

EventImage

string

None.

VideoLink

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-05-15T13:56:06.702072-07:00",
    "event_end": "2025-05-15T13:56:06.702072-07:00",
    "eventLocation": "sample string 6",
    "eventType": "sample string 7",
    "imagePath": "sample string 8",
    "eventImage": "sample string 9",
    "videoLink": "sample string 10",
    "schoolId": 11,
    "userId": 12,
    "entryRoleID": 13,
    "entryBy": 14,
    "modifyRoleId": 1,
    "modifyBy": 1
  },
  {
    "eventID": 1,
    "eventName": "sample string 2",
    "eventDescription": "sample string 3",
    "event_start": "2025-05-15T13:56:06.702072-07:00",
    "event_end": "2025-05-15T13:56:06.702072-07:00",
    "eventLocation": "sample string 6",
    "eventType": "sample string 7",
    "imagePath": "sample string 8",
    "eventImage": "sample string 9",
    "videoLink": "sample string 10",
    "schoolId": 11,
    "userId": 12,
    "entryRoleID": 13,
    "entryBy": 14,
    "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>14</EntryBy>
    <EntryRoleID>13</EntryRoleID>
    <EventDescription>sample string 3</EventDescription>
    <EventID>1</EventID>
    <EventImage>sample string 9</EventImage>
    <EventLocation>sample string 6</EventLocation>
    <EventName>sample string 2</EventName>
    <EventType>sample string 7</EventType>
    <ImagePath>sample string 8</ImagePath>
    <ModifyBy>1</ModifyBy>
    <ModifyRoleId>1</ModifyRoleId>
    <SchoolId>11</SchoolId>
    <UserId>12</UserId>
    <VideoLink>sample string 10</VideoLink>
    <event_end>2025-05-15T13:56:06.702072-07:00</event_end>
    <event_start>2025-05-15T13:56:06.702072-07:00</event_start>
  </Event>
  <Event>
    <EntryBy>14</EntryBy>
    <EntryRoleID>13</EntryRoleID>
    <EventDescription>sample string 3</EventDescription>
    <EventID>1</EventID>
    <EventImage>sample string 9</EventImage>
    <EventLocation>sample string 6</EventLocation>
    <EventName>sample string 2</EventName>
    <EventType>sample string 7</EventType>
    <ImagePath>sample string 8</ImagePath>
    <ModifyBy>1</ModifyBy>
    <ModifyRoleId>1</ModifyRoleId>
    <SchoolId>11</SchoolId>
    <UserId>12</UserId>
    <VideoLink>sample string 10</VideoLink>
    <event_end>2025-05-15T13:56:06.702072-07:00</event_end>
    <event_start>2025-05-15T13:56:06.702072-07:00</event_start>
  </Event>
</ArrayOfEvent>