POST api/SchoolPortal/schools/{schoolId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
schoolId | string |
None. |
Body Parameters
SchoolDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
Active | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "Active": true }
text/html
Sample:
{"Id":1,"Name":"sample string 2","Active":true}
application/xml, text/xml
Sample:
<SchoolDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.DTOs.SchoolPortal"> <Active>true</Active> <Id>1</Id> <Name>sample string 2</Name> </SchoolDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.