GET api/GetProgramSubProgramList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SouthTerminalProgramSubProgramData
NameDescriptionTypeAdditional information
ProgramID

integer

None.

ProgramName

string

None.

SubProgramName

string

None.

SubProgData

Collection of SouthTerminalSubProgramData

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProgramID": 1,
    "ProgramName": "sample string 1",
    "SubProgramName": "sample string 2",
    "SubProgData": [
      {
        "ProgramID": 1,
        "SubProgramID": 1,
        "ProgramName": "sample string 2",
        "SubProgramName": "sample string 3"
      },
      {
        "ProgramID": 1,
        "SubProgramID": 1,
        "ProgramName": "sample string 2",
        "SubProgramName": "sample string 3"
      }
    ]
  },
  {
    "ProgramID": 1,
    "ProgramName": "sample string 1",
    "SubProgramName": "sample string 2",
    "SubProgData": [
      {
        "ProgramID": 1,
        "SubProgramID": 1,
        "ProgramName": "sample string 2",
        "SubProgramName": "sample string 3"
      },
      {
        "ProgramID": 1,
        "SubProgramID": 1,
        "ProgramName": "sample string 2",
        "SubProgramName": "sample string 3"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSouthTerminalProgramSubProgramData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Goaa.iPro.Data.Admin.CustomClasses">
  <SouthTerminalProgramSubProgramData>
    <ProgramID>1</ProgramID>
    <ProgramName>sample string 1</ProgramName>
    <SubProgData>
      <SouthTerminalSubProgramData>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <SubProgramID>1</SubProgramID>
        <SubProgramName>sample string 3</SubProgramName>
      </SouthTerminalSubProgramData>
      <SouthTerminalSubProgramData>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <SubProgramID>1</SubProgramID>
        <SubProgramName>sample string 3</SubProgramName>
      </SouthTerminalSubProgramData>
    </SubProgData>
    <SubProgramName>sample string 2</SubProgramName>
  </SouthTerminalProgramSubProgramData>
  <SouthTerminalProgramSubProgramData>
    <ProgramID>1</ProgramID>
    <ProgramName>sample string 1</ProgramName>
    <SubProgData>
      <SouthTerminalSubProgramData>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <SubProgramID>1</SubProgramID>
        <SubProgramName>sample string 3</SubProgramName>
      </SouthTerminalSubProgramData>
      <SouthTerminalSubProgramData>
        <ProgramID>1</ProgramID>
        <ProgramName>sample string 2</ProgramName>
        <SubProgramID>1</SubProgramID>
        <SubProgramName>sample string 3</SubProgramName>
      </SouthTerminalSubProgramData>
    </SubProgData>
    <SubProgramName>sample string 2</SubProgramName>
  </SouthTerminalProgramSubProgramData>
</ArrayOfSouthTerminalProgramSubProgramData>