GET api/schedule/Oncallnow?APIKey={APIKey}&GroupID={GroupID}

List on-call members for group(s)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
APIKey

string

Required

GroupID

Optional, if supplied, return list just for the group

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GroupScheduleViewModel
NameDescriptionTypeAdditional information
GroupID

integer

None.

GroupName

string

None.

OncallMembers

Collection of OncallMember

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GroupID": 1,
    "GroupName": "sample string 2",
    "OncallMembers": [
      {
        "GroupName": "sample string 1",
        "UserID": 2,
        "LoginID": "sample string 3",
        "Fullname": "sample string 4",
        "roleType": "sample string 5",
        "TimeRange": "sample string 6",
        "ScheduleID": 1,
        "ScheduleName": "sample string 7",
        "OfficialEmail": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "Color": "sample string 11",
        "GroupMemberRoleTypeID": 12
      },
      {
        "GroupName": "sample string 1",
        "UserID": 2,
        "LoginID": "sample string 3",
        "Fullname": "sample string 4",
        "roleType": "sample string 5",
        "TimeRange": "sample string 6",
        "ScheduleID": 1,
        "ScheduleName": "sample string 7",
        "OfficialEmail": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "Color": "sample string 11",
        "GroupMemberRoleTypeID": 12
      }
    ]
  },
  {
    "GroupID": 1,
    "GroupName": "sample string 2",
    "OncallMembers": [
      {
        "GroupName": "sample string 1",
        "UserID": 2,
        "LoginID": "sample string 3",
        "Fullname": "sample string 4",
        "roleType": "sample string 5",
        "TimeRange": "sample string 6",
        "ScheduleID": 1,
        "ScheduleName": "sample string 7",
        "OfficialEmail": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "Color": "sample string 11",
        "GroupMemberRoleTypeID": 12
      },
      {
        "GroupName": "sample string 1",
        "UserID": 2,
        "LoginID": "sample string 3",
        "Fullname": "sample string 4",
        "roleType": "sample string 5",
        "TimeRange": "sample string 6",
        "ScheduleID": 1,
        "ScheduleName": "sample string 7",
        "OfficialEmail": "sample string 8",
        "StartTime": "sample string 9",
        "EndTime": "sample string 10",
        "Color": "sample string 11",
        "GroupMemberRoleTypeID": 12
      }
    ]
  }
]