POST api/GetClassbyTeacher
Request Information
URI Parameters
None.
Body Parameters
Jsonparams| Name | Description | Type | Additional information |
|---|---|---|---|
| jsonstring | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"jsonstring": "sample string 1"
}
application/xml, text/xml
Sample:
<Jsonparams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ADMSSCHOOLAPI.Models"> <jsonstring>sample string 1</jsonstring> </Jsonparams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetClassList| Name | Description | Type | Additional information |
|---|---|---|---|
| Class_List | Collection of GetClassOut |
None. |
Response Formats
application/json, text/json
Sample:
{
"Class_List": [
{
"ClassID": "sample string 1",
"ClassName": "sample string 2"
},
{
"ClassID": "sample string 1",
"ClassName": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<GetClassList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ADMSSCHOOLAPI.Models">
<Class_List>
<GetClassOut>
<ClassID>sample string 1</ClassID>
<ClassName>sample string 2</ClassName>
</GetClassOut>
<GetClassOut>
<ClassID>sample string 1</ClassID>
<ClassName>sample string 2</ClassName>
</GetClassOut>
</Class_List>
</GetClassList>