POST api/school/calendar/save-event

Request Information

URI Parameters

None.

Body Parameters

SchoolCalendarEventDto
NameDescriptionTypeAdditional information
id

integer

None.

School_Id

integer

None.

title

string

None.

eventDate

string

None.

time

string

None.

description

string

None.

location

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "School_Id": 1,
  "title": "sample string 2",
  "eventDate": "sample string 3",
  "time": "sample string 4",
  "description": "sample string 5",
  "location": "sample string 6"
}

application/xml, text/xml

Sample:
<SchoolCalendarEventDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoapToRestAPI.Controllers">
  <School_Id>1</School_Id>
  <description>sample string 5</description>
  <eventDate>sample string 3</eventDate>
  <id>1</id>
  <location>sample string 6</location>
  <time>sample string 4</time>
  <title>sample string 2</title>
</SchoolCalendarEventDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.