POST api/classAllocation/allocate
Request Information
URI Parameters
None.
Body Parameters
ClassAllocationName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
School | string |
Required |
|
Class | string |
Required |
|
Session | string |
Required |
|
Term | string |
Required |
|
RegNumber | string |
Required |
|
StudentName | string |
Required |
|
RoleName | string |
Required |
|
SubjectsInClass | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "School": "sample string 2", "Class": "sample string 3", "Session": "sample string 4", "Term": "sample string 5", "RegNumber": "sample string 6", "StudentName": "sample string 7", "RoleName": "sample string 8", "SubjectsInClass": "sample string 9" }
application/xml, text/xml
Sample:
<ClassAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.Entities"> <Class>sample string 3</Class> <Id>1</Id> <RegNumber>sample string 6</RegNumber> <RoleName>sample string 8</RoleName> <School>sample string 2</School> <Session>sample string 4</Session> <StudentName>sample string 7</StudentName> <SubjectsInClass>sample string 9</SubjectsInClass> <Term>sample string 5</Term> </ClassAllocation>
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.