GET api/ng/zmmtg/gettrainerprogramgroups?ProgramID={ProgramID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProgramID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProgramGroup
NameDescriptionTypeAdditional information
ProgramGroupID

integer

None.

ProgramGroupTypeID

integer

None.

ProgramID

integer

None.

GroupName

string

None.

GroupDescription

string

None.

GroupSchedule

string

None.

TrainerID

string

None.

TrainerFullName

string

None.

ProgramUserID

string

None.

UserTimezoneOffset

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProgramGroupID": 1,
    "ProgramGroupTypeID": 2,
    "ProgramID": 3,
    "GroupName": "sample string 4",
    "GroupDescription": "sample string 5",
    "GroupSchedule": "sample string 6",
    "TrainerID": "sample string 7",
    "TrainerFullName": "sample string 8",
    "ProgramUserID": "sample string 9",
    "UserTimezoneOffset": 10.1
  },
  {
    "ProgramGroupID": 1,
    "ProgramGroupTypeID": 2,
    "ProgramID": 3,
    "GroupName": "sample string 4",
    "GroupDescription": "sample string 5",
    "GroupSchedule": "sample string 6",
    "TrainerID": "sample string 7",
    "TrainerFullName": "sample string 8",
    "ProgramUserID": "sample string 9",
    "UserTimezoneOffset": 10.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <ProgramGroup>
    <GroupDescription>sample string 5</GroupDescription>
    <GroupName>sample string 4</GroupName>
    <GroupSchedule>sample string 6</GroupSchedule>
    <ProgramGroupID>1</ProgramGroupID>
    <ProgramGroupTypeID>2</ProgramGroupTypeID>
    <ProgramID>3</ProgramID>
    <ProgramUserID>sample string 9</ProgramUserID>
    <TrainerFullName>sample string 8</TrainerFullName>
    <TrainerID>sample string 7</TrainerID>
    <UserTimezoneOffset>10.1</UserTimezoneOffset>
  </ProgramGroup>
  <ProgramGroup>
    <GroupDescription>sample string 5</GroupDescription>
    <GroupName>sample string 4</GroupName>
    <GroupSchedule>sample string 6</GroupSchedule>
    <ProgramGroupID>1</ProgramGroupID>
    <ProgramGroupTypeID>2</ProgramGroupTypeID>
    <ProgramID>3</ProgramID>
    <ProgramUserID>sample string 9</ProgramUserID>
    <TrainerFullName>sample string 8</TrainerFullName>
    <TrainerID>sample string 7</TrainerID>
    <UserTimezoneOffset>10.1</UserTimezoneOffset>
  </ProgramGroup>
</ArrayOfProgramGroup>