POST api/admin/year_semester/v1/active

Request Information

URI Parameters

None.

Body Parameters

YearSemester
NameDescriptionTypeAdditional information
id

integer

None.

active

boolean

None.

year

integer

None.

semester

integer

None.

name

string

None.

batches

string

None.

start_date

date

None.

end_date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "active": true,
  "year": 3,
  "semester": 4,
  "name": "sample string 5",
  "batches": "sample string 6",
  "start_date": "2025-12-06T04:36:17.0754699+00:00",
  "end_date": "2025-12-06T04:36:17.0754699+00:00"
}

application/xml, text/xml

Sample:
<YearSemester xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stocks.Models">
  <active>true</active>
  <batches>sample string 6</batches>
  <end_date>2025-12-06T04:36:17.0754699+00:00</end_date>
  <id>1</id>
  <name>sample string 5</name>
  <semester>4</semester>
  <start_date>2025-12-06T04:36:17.0754699+00:00</start_date>
  <year>3</year>
</YearSemester>

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.