POST ContentsAPI/UpdateContent
Request Information
URI Parameters
None.
Body Parameters
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. |
Request 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" ] }
application/xml, text/xml
Sample:
<Contents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models"> <ContentArea>sample string 3</ContentArea> <ContentID>1</ContentID> <SaveAs>sample string 5</SaveAs> <SelectedSectionArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </SelectedSectionArray> <TheContent>sample string 2</TheContent> <TheModule>sample string 4</TheModule> </Contents>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>