POST api/RokSzkolny
Request Information
URI Parameters
None.
Body Parameters
AddRokSzkolnyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Nazwa | string |
None. |
|
| SemestrIOd | date |
None. |
|
| SemestrIDo | date |
None. |
|
| SemestrIIOd | date |
None. |
|
| SemestrIIDo | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"nazwa": "sample string 1",
"semestrIOd": "2026-04-24T13:45:39.7100155+02:00",
"semestrIDo": "2026-04-24T13:45:39.7100155+02:00",
"semestrIIOd": "2026-04-24T13:45:39.7100155+02:00",
"semestrIIDo": "2026-04-24T13:45:39.7100155+02:00"
}
application/xml, text/xml
Sample:
<AddRokSzkolnyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsparcieUczniaAPI.Models"> <Id>1</Id> <Nazwa>sample string 1</Nazwa> <SemestrIDo>2026-04-24T13:45:39.7100155+02:00</SemestrIDo> <SemestrIIDo>2026-04-24T13:45:39.7100155+02:00</SemestrIIDo> <SemestrIIOd>2026-04-24T13:45:39.7100155+02:00</SemestrIIOd> <SemestrIOd>2026-04-24T13:45:39.7100155+02:00</SemestrIOd> </AddRokSzkolnyModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.