GET api/mto/chapters
Gets all the chapters
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ChapterModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ChapterId | integer |
Required |
|
| ChapterName | string |
Required |
|
| Questions | Collection of QuestionModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ChapterId": 1,
"ChapterName": "sample string 2",
"Questions": [
{
"QuestionId": 1,
"QuestionName": "sample string 2",
"QuestionKind": {
"QuestionkindId": 1,
"QuestionKindName": "sample string 2"
}
},
{
"QuestionId": 1,
"QuestionName": "sample string 2",
"QuestionKind": {
"QuestionkindId": 1,
"QuestionKindName": "sample string 2"
}
}
]
},
{
"ChapterId": 1,
"ChapterName": "sample string 2",
"Questions": [
{
"QuestionId": 1,
"QuestionName": "sample string 2",
"QuestionKind": {
"QuestionkindId": 1,
"QuestionKindName": "sample string 2"
}
},
{
"QuestionId": 1,
"QuestionName": "sample string 2",
"QuestionKind": {
"QuestionkindId": 1,
"QuestionKindName": "sample string 2"
}
}
]
}
]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.