GET api/Group/GetAllFunctions?groupID={groupID}&date={date}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupID

integer

Required

date

date

Required

Body Parameters

None.

Response Information

Resource Description

Group
NameDescriptionTypeAdditional information
GroupID

integer

Required

Code

string

Required

Label

string

Required

TimeCalculation

time interval

Required

SchedulerDays

Dictionary of date [key] and Day [value]

None.

ServiceFuntions

Collection of ServiceFunction

None.

Response Formats

application/json, text/json

Sample:
{
  "GroupID": 1,
  "Code": "sample string 2",
  "Label": "sample string 3",
  "TimeCalculation": "00:00:00.1234567",
  "SchedulerDays": {
    "$id": "2",
    "2025-05-27T22:10:51.0597656+02:00": {
      "$id": "3",
      "Hour0": true,
      "Hour1": true,
      "Hour2": true,
      "Hour3": true,
      "Hour4": true,
      "Hour5": true,
      "Hour6": true,
      "Hour7": true,
      "Hour8": true,
      "Hour9": true,
      "Hour10": true,
      "Hour11": true,
      "Hour12": true,
      "Hour13": true,
      "Hour14": true,
      "Hour15": true,
      "Hour16": true,
      "Hour17": true,
      "Hour18": true,
      "Hour19": true,
      "Hour20": true,
      "Hour21": true,
      "Hour22": true,
      "Hour23": true
    }
  },
  "ServiceFuntions": [
    {
      "$id": "4",
      "ServiceFunctionID": 1,
      "Label": "sample string 2",
      "NumberNeeded": 3,
      "NoOccupancy": "sample string 4",
      "OccupancyDays": {
        "$id": "5",
        "2025-05-27T22:10:51.0597656+02:00": {
          "$ref": "3"
        }
      },
      "DayTotals": {
        "$id": "6",
        "2025-05-27T22:10:51.0597656+02:00": {
          "$id": "7",
          "Hour0": 1,
          "Hour1": 2,
          "Hour2": 3,
          "Hour3": 4,
          "Hour4": 5,
          "Hour5": 6,
          "Hour6": 7,
          "Hour7": 8,
          "Hour8": 9,
          "Hour9": 10,
          "Hour10": 11,
          "Hour11": 12,
          "Hour12": 13,
          "Hour13": 14,
          "Hour14": 15,
          "Hour15": 16,
          "Hour16": 17,
          "Hour17": 18,
          "Hour18": 19,
          "Hour19": 20,
          "Hour20": 21,
          "Hour21": 22,
          "Hour22": 23,
          "Hour23": 24
        }
      },
      "Users": [
        {
          "$id": "8",
          "UserID": 1,
          "HomeNodeID": 2,
          "FullName": "sample string 3",
          "LangID": 4,
          "NotAvailable": true,
          "NotAvailableTimestamp": "2025-05-27T22:10:51.0597656+02:00",
          "NotAvailalbeScheduled": true,
          "NoOccupancy": true,
          "Homescreen": "sample string 9",
          "AppNotifications": 64,
          "MaxVersionAllowed": 11,
          "SoundAlarm": "sample string 12",
          "SoundInfo": "sample string 13",
          "SoundUnderstaffing": "sample string 14",
          "SoundOccupancy": "sample string 15",
          "SoundProposal": "sample string 16",
          "CriticalAlertsAlarm": true,
          "CriticalAlertsInfo": true,
          "CriticalAlertsUnderstaffing": true,
          "CriticalAlertsOccupancy": true,
          "CriticalAlertsProposal": true,
          "Geofence": {
            "$id": "9",
            "Selectable": true,
            "Address": "sample string 2",
            "Latitude": 1.1,
            "Longitude": 1.1,
            "Distance": 1
          },
          "SchedulerDays": {
            "$id": "10",
            "2025-05-27T22:10:51.0597656+02:00": {
              "$ref": "3"
            }
          },
          "ConsignmentAppointments": [
            {
              "$id": "11",
              "ServiceFunctionID": 1,
              "Start": "2025-05-27T22:10:51.0597656+02:00",
              "Stop": "2025-05-27T22:10:51.0597656+02:00"
            },
            {
              "$ref": "11"
            }
          ]
        },
        {
          "$ref": "8"
        }
      ]
    },
    {
      "$ref": "4"
    }
  ]
}