POST api/admin/saveprogrammodulearticle

Request Information

URI Parameters

None.

Body Parameters

ProgramModuleArticle
NameDescriptionTypeAdditional information
programList

Collection of integer

None.

moduleSequence

integer

None.

pageID

integer

None.

groupID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "programList": [
    1,
    2
  ],
  "moduleSequence": 1,
  "pageID": 2,
  "groupID": 3
}

application/xml, text/xml

Sample:
<ProgramModuleArticle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <groupID>3</groupID>
  <moduleSequence>1</moduleSequence>
  <pageID>2</pageID>
  <programList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </programList>
</ProgramModuleArticle>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProgramModuleArticle'.

Response Information

Resource Description

PostResultModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<PostResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccess>true</IsSuccess>
</PostResultModel>