POST api/discipline/save-child

Request Information

URI Parameters

None.

Body Parameters

DisciplineChildSaveRequest
NameDescriptionTypeAdditional information
ChildId

integer

None.

FromTime

date

None.

ToTime

date

None.

NoOfLectures

integer

None.

TimeSlot

integer

None.

NoOfRecess

integer

None.

RecessTimings

string

None.

RecessTiming

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ChildId": 1,
  "FromTime": "2026-05-20T03:42:25.242649+05:30",
  "ToTime": "2026-05-20T03:42:25.2436483+05:30",
  "NoOfLectures": 4,
  "TimeSlot": 5,
  "NoOfRecess": 6,
  "RecessTimings": "sample string 7",
  "RecessTiming": "sample string 8"
}

application/xml, text/xml

Sample:
<DisciplineChildSaveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoapToRestAPI.Controllers">
  <ChildId>1</ChildId>
  <FromTime>2026-05-20T03:42:25.242649+05:30</FromTime>
  <NoOfLectures>4</NoOfLectures>
  <NoOfRecess>6</NoOfRecess>
  <RecessTiming>sample string 8</RecessTiming>
  <RecessTimings>sample string 7</RecessTimings>
  <TimeSlot>5</TimeSlot>
  <ToTime>2026-05-20T03:42:25.2436483+05:30</ToTime>
</DisciplineChildSaveRequest>

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.