POST api/admin/getprogrammodulelist

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

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 'Int32[]'.

Response Information

Resource Description

Collection of ProgramModuleList
NameDescriptionTypeAdditional information
TaskID

integer

None.

ProgramTaskID

integer

None.

Sequence

integer

None.

ModuleNumber

string

None.

ModuleName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TaskID": 1,
    "ProgramTaskID": 1,
    "Sequence": 1,
    "ModuleNumber": "sample string 2",
    "ModuleName": "sample string 3"
  },
  {
    "TaskID": 1,
    "ProgramTaskID": 1,
    "Sequence": 1,
    "ModuleNumber": "sample string 2",
    "ModuleName": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramModuleList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <ProgramModuleList>
    <ModuleName>sample string 3</ModuleName>
    <ModuleNumber>sample string 2</ModuleNumber>
    <ProgramTaskID>1</ProgramTaskID>
    <Sequence>1</Sequence>
    <TaskID>1</TaskID>
  </ProgramModuleList>
  <ProgramModuleList>
    <ModuleName>sample string 3</ModuleName>
    <ModuleNumber>sample string 2</ModuleNumber>
    <ProgramTaskID>1</ProgramTaskID>
    <Sequence>1</Sequence>
    <TaskID>1</TaskID>
  </ProgramModuleList>
</ArrayOfProgramModuleList>