POST api/schoolClass/add
Request Information
URI Parameters
None.
Body Parameters
SchoolClassName | Description | Type | Additional information |
---|---|---|---|
ShortName | string |
None. |
|
AdmissionClassPrepender | string |
None. |
|
School | School |
None. |
|
SchoolId | integer |
None. |
|
SchoolCategory | SchoolCategory |
None. |
|
SchoolCategoryId | integer |
None. |
|
Id | integer |
None. |
|
Name | string |
Required Max length: 50 Min length: 2 |
|
DateCreated | date |
None. |
|
DateModified | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ShortName": "sample string 1", "AdmissionClassPrepender": "sample string 2", "School": { "SchoolAbbrevation": "sample string 1", "SchoolAddresss": "sample string 2", "SchoolPhoneNo": "sample string 3", "SchoolEmail": "sample string 4", "SchoolWebsite": "sample string 5", "Facebook": "sample string 6", "Histagram": "sample string 7", "Tweeter": "sample string 8", "WhatappNumber": "sample string 9", "SchoolLogoSrc": "sample string 10", "Aka": "sample string 11", "SchoolMotto": "sample string 12", "Id": 13, "Name": "sample string 14", "DateCreated": "2024-12-23T16:35:04.8337918+01:00", "DateModified": "2024-12-23T16:35:04.8337918+01:00" }, "SchoolId": 3, "SchoolCategory": { "Id": 1, "Name": "sample string 2", "DateCreated": "2024-12-23T16:35:04.8337918+01:00", "DateModified": "2024-12-23T16:35:04.8337918+01:00" }, "SchoolCategoryId": 4, "Id": 5, "Name": "sample string 6", "DateCreated": "2024-12-23T16:35:04.8337918+01:00", "DateModified": "2024-12-23T16:35:04.8337918+01:00" }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.