GET ContentsAPI/GetContentsByContentID?pkcontentid={pkcontentid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pkcontentid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ContentsName | Description | Type | Additional information |
---|---|---|---|
ContentID | integer |
None. |
|
TheContent | string |
None. |
|
ContentArea | string |
None. |
|
TheModule | string |
None. |
|
SaveAs | string |
None. |
|
SelectedSectionArray | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContentID": 1, "TheContent": "sample string 2", "ContentArea": "sample string 3", "TheModule": "sample string 4", "SaveAs": "sample string 5", "SelectedSectionArray": [ "sample string 1", "sample string 2" ] }, { "ContentID": 1, "TheContent": "sample string 2", "ContentArea": "sample string 3", "TheModule": "sample string 4", "SaveAs": "sample string 5", "SelectedSectionArray": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
Sample:
<ArrayOfContents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models"> <Contents> <ContentArea>sample string 3</ContentArea> <ContentID>1</ContentID> <SaveAs>sample string 5</SaveAs> <SelectedSectionArray xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </SelectedSectionArray> <TheContent>sample string 2</TheContent> <TheModule>sample string 4</TheModule> </Contents> <Contents> <ContentArea>sample string 3</ContentArea> <ContentID>1</ContentID> <SaveAs>sample string 5</SaveAs> <SelectedSectionArray xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </SelectedSectionArray> <TheContent>sample string 2</TheContent> <TheModule>sample string 4</TheModule> </Contents> </ArrayOfContents>