GET api/Units/GroupCurrentPosition?groupId={groupId}&Take={Take}&Skip={Skip}

Return all units from specified group, including unit current position if available

Request Information

URI Parameters

NameDescriptionTypeAdditional information
groupId

integer32

Required

Take

(optional) Results to take. Default is 10000

integer32

Null values possible.

Range: inclusive between 1 and 2147483647

Skip

(optional) Results to skip. Default is 0.

integer32

Null values possible.

Range: inclusive between 0 and 2147483647

Body Parameters

None.

Response Information

Resource Description

Return all units from specified group, including unit current position if available

Collection of CurrentLocationModel
NameDescriptionTypeAdditional information
Unit

Unit

UnitModel

None.

CurrentPosition

CurrentPosition

PositionModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Unit": {
      "SerialNumber": "sample string 1",
      "UnitName": "sample string 2",
      "IntervalSeconds": 1,
      "IntervalReportDisableAvailable": true,
      "UnitConfiguredIntervalSeconds": 1,
      "FixedReportHoursMaxCount": 4,
      "FixedReportTime1Hour": 1,
      "FixedReportTime1DayOfWeek": 1,
      "FixedReportTime2Hour": 1,
      "FixedReportTime2DayOfWeek": 1,
      "FixedReportTime3Hour": 1,
      "FixedReportTime3DayOfWeek": 1,
      "FixedReportTime4Hour": 1,
      "FixedReportTime4DayOfWeek": 1,
      "FixedReportTime5Hour": 1,
      "FixedReportTime5DayOfWeek": 1,
      "FixedReportTime6Hour": 1,
      "FixedReportTime6DayOfWeek": 1,
      "FixedReportTime7Hour": 1,
      "FixedReportTime7DayOfWeek": 1,
      "FixedReportTime8Hour": 1,
      "FixedReportTime8DayOfWeek": 1,
      "FixedReportTime9Hour": 1,
      "FixedReportTime9DayOfWeek": 1,
      "FixedReportTime10Hour": 1,
      "FixedReportTime10DayOfWeek": 1,
      "RFIDBeaconOn": true,
      "RFIDPowerLevel": 1,
      "TXValue": 1,
      "RXValue": 1,
      "UnitPhoneNumber": "sample string 5",
      "ServerURL": "sample string 6",
      "ServerPort": 1,
      "UserGroupId": 1,
      "UserGroupName": "sample string 7",
      "MotionSensorAvailable": true,
      "MotionTriggerEnabled": true,
      "MotionIntervalReportDisableAvailable": true,
      "MotionTrigger": 0,
      "MotionIntervalSeconds": 1,
      "ShockSensorAvailable": true,
      "ShockTriggerEnabled": true,
      "ShockTrigger": 0,
      "ShockTriggerLevel": 1,
      "LightSensorAvailable": true,
      "LightTriggerEnabled": true,
      "LightTrigger": 0,
      "LightTriggerLevel": 1,
      "TiltSensorAvailable": true,
      "TiltTriggerEnabled": true,
      "TiltTrigger": 0,
      "TiltAngle": 1,
      "RotationAvailable": true,
      "RotationTrigger": 0,
      "RotationStartAngle": 1,
      "RotationStopAngle": 1,
      "RotationStopTimeSeconds": 1,
      "TemperatureRangeTriggerAvailable": true,
      "OutsideTemperatureRangeTrigger": 0,
      "TemperatureRangeLowValue": 1,
      "TemperatureRangeHighValue": 1,
      "PressureRangeTriggerAvailable": true,
      "OutsidePressureRangeTrigger": 0,
      "PressureRangeLowValue": 1,
      "PressureRangeHighValue": 1,
      "HumidityRangeTriggerAvailable": true,
      "OutsideHumidityRangeTrigger": 0,
      "HumidityRangeLowValue": 1,
      "HumidityRangeHighValue": 1,
      "DeviceLoggingEnabled": true,
      "GPSAvailable": true,
      "GPSEnabled": true,
      "SkipGPSIfNoMotion": true,
      "EnableTriangulation": true,
      "ConfigurationPending": true,
      "SMSPowerSave": true,
      "UnitTypeId": 1,
      "UnitTypeName": "sample string 18",
      "ReferenceId": "sample string 19",
      "DailyScheduleAvailable": true,
      "DailySchedule": {
        "SerialNumber": "sample string 1",
        "Enabled": true,
        "WakeupTrigger": true,
        "MotionTrigger": true,
        "ShockTrigger": true,
        "TiltTrigger": true,
        "LightTrigger": true,
        "InsideIntervals": true,
        "Days": [
          {
            "DayNumber": 1,
            "StartMinute": 2,
            "EndMinute": 3
          },
          {
            "DayNumber": 1,
            "StartMinute": 2,
            "EndMinute": 3
          }
        ]
      },
      "Closed": true,
      "RequestedClosed": true,
      "Suspended": true,
      "FirmwareVersion": 23.1,
      "DeliveryDate": "2024-11-21T10:11:26.6667258+00:00",
      "BatteryInstalledDate": "2024-11-21T10:11:26.6667258+00:00",
      "RFIDBeaconOnSeconds": 24,
      "UtilizationMode": 25,
      "ReplacedBySerialnumber": "sample string 26",
      "ReplacingSerialnumber": "sample string 27",
      "FlightMode": {
        "SerialNumber": "sample string 1",
        "Enabled": true,
        "StartTime": "2024-11-21T10:11:26.6667258+00:00",
        "EndTime": "2024-11-21T10:11:26.6667258+00:00",
        "Status": 0,
        "ActiveHoursLeft": null,
        "StatusText": "Disabled"
      },
      "NextServiceKm": 1,
      "NextServiceHours": 1,
      "TripCounterOffsetKm": 1,
      "TripCounterOffsetHours": 1,
      "LogDataEnabled": true,
      "LogDataIntervalSeconds": 1,
      "GPSOnLogData": true,
      "ItemDescription": "sample string 28",
      "UnitNotes": "sample string 29",
      "ActivationDate": "2024-11-21T10:11:26.6667258+00:00",
      "CurrentSubscription": "sample string 30",
      "CurrentSubscriptionStartDate": "2024-11-21T10:11:26.6667258+00:00",
      "CurrentSubscriptionEndDate": "2024-11-21T10:11:26.6667258+00:00",
      "TAASCommitmentStartDate": "2024-11-21T10:11:26.6667258+00:00",
      "TAASCommitmentEndDate": "2024-11-21T10:11:26.6667258+00:00",
      "NextInspectionDate": "2024-11-21T10:11:26.6667258+00:00",
      "LastCommunicationDate": "2024-11-21T10:11:26.6667258+00:00",
      "RATStrategyModeId": 1,
      "RATStrategySettings": [
        1,
        2
      ],
      "UnitId": 32,
      "GuardLockSite": null,
      "BLEInterval": 33,
      "IsNoCommunication": true,
      "IODataSupported": true,
      "RFIDBeaconAvailable": true,
      "BLEAvailable": true,
      "IOSettings": {
        "DigitalInput1Trigger": true,
        "DigitalInput2Trigger": true,
        "DigitalInput3Trigger": true,
        "AnalogInput1Trigger": true,
        "AnalogInput2Trigger": true,
        "DigitalOutput1Trigger": true,
        "DigitalOutput2Trigger": true,
        "DigitalOutput3Trigger": true,
        "DigitalOutput1": true,
        "DigitalOutput2": true,
        "DigitalOutput3": true
      },
      "ProductTypeName": "sample string 38",
      "PressureSensorAvailable": true,
      "HumiditySensorAvailable": true,
      "DistanceFilterAvailable": true,
      "DistanceTrigger": true,
      "DistanceMeter": 1,
      "PublicLink": "sample string 43",
      "PublicLinkDetails": {
        "SerialNumber": "sample string 1",
        "PublishFromDate": "2024-11-21T10:11:26.6667258+00:00",
        "GrantedAccess": 0,
        "PublishedUrl": "sample string 3"
      },
      "MessageCount": 1,
      "ComAttempts": 1,
      "TagReaderAvailable": true,
      "CanBatteryReset": true,
      "CanChangeBattery": true,
      "SIAEnabled": true
    },
    "CurrentPosition": {
      "Id": 1,
      "SerialNumber": "sample string 2",
      "ReferenceId": "sample string 3",
      "Timestamp": "2024-11-21T10:11:26.6667258+00:00",
      "Latitude": 5.1,
      "Longitude": 6.1,
      "Accuracy": 7,
      "Speed": 1.0,
      "Altitude": 1.0,
      "Heading": 1.0,
      "Trigger": 0,
      "PositionType": 0,
      "GSMNetwork": "sample string 8",
      "ServingCell": {
        "MobileCountryCode": 2,
        "MobileNetworkCode": 3,
        "LocationAreaCode": 4,
        "CellId": 5,
        "Signal": 6,
        "CellType": "sample string 7",
        "TimeAdvance": 1
      },
      "NeighbourCells": [
        {
          "MobileCountryCode": 2,
          "MobileNetworkCode": 3,
          "LocationAreaCode": 4,
          "CellId": 5,
          "Signal": 6,
          "CellType": "sample string 7",
          "TimeAdvance": 1
        },
        {
          "MobileCountryCode": 2,
          "MobileNetworkCode": 3,
          "LocationAreaCode": 4,
          "CellId": 5,
          "Signal": 6,
          "CellType": "sample string 7",
          "TimeAdvance": 1
        }
      ],
      "Location": null,
      "MessageId": 9,
      "ServerDate": "2024-11-21T10:11:26.6667258+00:00",
      "IsLog": true,
      "IsSMS": true
    }
  },
  {
    "Unit": {
      "SerialNumber": "sample string 1",
      "UnitName": "sample string 2",
      "IntervalSeconds": 1,
      "IntervalReportDisableAvailable": true,
      "UnitConfiguredIntervalSeconds": 1,
      "FixedReportHoursMaxCount": 4,
      "FixedReportTime1Hour": 1,
      "FixedReportTime1DayOfWeek": 1,
      "FixedReportTime2Hour": 1,
      "FixedReportTime2DayOfWeek": 1,
      "FixedReportTime3Hour": 1,
      "FixedReportTime3DayOfWeek": 1,
      "FixedReportTime4Hour": 1,
      "FixedReportTime4DayOfWeek": 1,
      "FixedReportTime5Hour": 1,
      "FixedReportTime5DayOfWeek": 1,
      "FixedReportTime6Hour": 1,
      "FixedReportTime6DayOfWeek": 1,
      "FixedReportTime7Hour": 1,
      "FixedReportTime7DayOfWeek": 1,
      "FixedReportTime8Hour": 1,
      "FixedReportTime8DayOfWeek": 1,
      "FixedReportTime9Hour": 1,
      "FixedReportTime9DayOfWeek": 1,
      "FixedReportTime10Hour": 1,
      "FixedReportTime10DayOfWeek": 1,
      "RFIDBeaconOn": true,
      "RFIDPowerLevel": 1,
      "TXValue": 1,
      "RXValue": 1,
      "UnitPhoneNumber": "sample string 5",
      "ServerURL": "sample string 6",
      "ServerPort": 1,
      "UserGroupId": 1,
      "UserGroupName": "sample string 7",
      "MotionSensorAvailable": true,
      "MotionTriggerEnabled": true,
      "MotionIntervalReportDisableAvailable": true,
      "MotionTrigger": 0,
      "MotionIntervalSeconds": 1,
      "ShockSensorAvailable": true,
      "ShockTriggerEnabled": true,
      "ShockTrigger": 0,
      "ShockTriggerLevel": 1,
      "LightSensorAvailable": true,
      "LightTriggerEnabled": true,
      "LightTrigger": 0,
      "LightTriggerLevel": 1,
      "TiltSensorAvailable": true,
      "TiltTriggerEnabled": true,
      "TiltTrigger": 0,
      "TiltAngle": 1,
      "RotationAvailable": true,
      "RotationTrigger": 0,
      "RotationStartAngle": 1,
      "RotationStopAngle": 1,
      "RotationStopTimeSeconds": 1,
      "TemperatureRangeTriggerAvailable": true,
      "OutsideTemperatureRangeTrigger": 0,
      "TemperatureRangeLowValue": 1,
      "TemperatureRangeHighValue": 1,
      "PressureRangeTriggerAvailable": true,
      "OutsidePressureRangeTrigger": 0,
      "PressureRangeLowValue": 1,
      "PressureRangeHighValue": 1,
      "HumidityRangeTriggerAvailable": true,
      "OutsideHumidityRangeTrigger": 0,
      "HumidityRangeLowValue": 1,
      "HumidityRangeHighValue": 1,
      "DeviceLoggingEnabled": true,
      "GPSAvailable": true,
      "GPSEnabled": true,
      "SkipGPSIfNoMotion": true,
      "EnableTriangulation": true,
      "ConfigurationPending": true,
      "SMSPowerSave": true,
      "UnitTypeId": 1,
      "UnitTypeName": "sample string 18",
      "ReferenceId": "sample string 19",
      "DailyScheduleAvailable": true,
      "DailySchedule": {
        "SerialNumber": "sample string 1",
        "Enabled": true,
        "WakeupTrigger": true,
        "MotionTrigger": true,
        "ShockTrigger": true,
        "TiltTrigger": true,
        "LightTrigger": true,
        "InsideIntervals": true,
        "Days": [
          {
            "DayNumber": 1,
            "StartMinute": 2,
            "EndMinute": 3
          },
          {
            "DayNumber": 1,
            "StartMinute": 2,
            "EndMinute": 3
          }
        ]
      },
      "Closed": true,
      "RequestedClosed": true,
      "Suspended": true,
      "FirmwareVersion": 23.1,
      "DeliveryDate": "2024-11-21T10:11:26.6667258+00:00",
      "BatteryInstalledDate": "2024-11-21T10:11:26.6667258+00:00",
      "RFIDBeaconOnSeconds": 24,
      "UtilizationMode": 25,
      "ReplacedBySerialnumber": "sample string 26",
      "ReplacingSerialnumber": "sample string 27",
      "FlightMode": {
        "SerialNumber": "sample string 1",
        "Enabled": true,
        "StartTime": "2024-11-21T10:11:26.6667258+00:00",
        "EndTime": "2024-11-21T10:11:26.6667258+00:00",
        "Status": 0,
        "ActiveHoursLeft": null,
        "StatusText": "Disabled"
      },
      "NextServiceKm": 1,
      "NextServiceHours": 1,
      "TripCounterOffsetKm": 1,
      "TripCounterOffsetHours": 1,
      "LogDataEnabled": true,
      "LogDataIntervalSeconds": 1,
      "GPSOnLogData": true,
      "ItemDescription": "sample string 28",
      "UnitNotes": "sample string 29",
      "ActivationDate": "2024-11-21T10:11:26.6667258+00:00",
      "CurrentSubscription": "sample string 30",
      "CurrentSubscriptionStartDate": "2024-11-21T10:11:26.6667258+00:00",
      "CurrentSubscriptionEndDate": "2024-11-21T10:11:26.6667258+00:00",
      "TAASCommitmentStartDate": "2024-11-21T10:11:26.6667258+00:00",
      "TAASCommitmentEndDate": "2024-11-21T10:11:26.6667258+00:00",
      "NextInspectionDate": "2024-11-21T10:11:26.6667258+00:00",
      "LastCommunicationDate": "2024-11-21T10:11:26.6667258+00:00",
      "RATStrategyModeId": 1,
      "RATStrategySettings": [
        1,
        2
      ],
      "UnitId": 32,
      "GuardLockSite": null,
      "BLEInterval": 33,
      "IsNoCommunication": true,
      "IODataSupported": true,
      "RFIDBeaconAvailable": true,
      "BLEAvailable": true,
      "IOSettings": {
        "DigitalInput1Trigger": true,
        "DigitalInput2Trigger": true,
        "DigitalInput3Trigger": true,
        "AnalogInput1Trigger": true,
        "AnalogInput2Trigger": true,
        "DigitalOutput1Trigger": true,
        "DigitalOutput2Trigger": true,
        "DigitalOutput3Trigger": true,
        "DigitalOutput1": true,
        "DigitalOutput2": true,
        "DigitalOutput3": true
      },
      "ProductTypeName": "sample string 38",
      "PressureSensorAvailable": true,
      "HumiditySensorAvailable": true,
      "DistanceFilterAvailable": true,
      "DistanceTrigger": true,
      "DistanceMeter": 1,
      "PublicLink": "sample string 43",
      "PublicLinkDetails": {
        "SerialNumber": "sample string 1",
        "PublishFromDate": "2024-11-21T10:11:26.6667258+00:00",
        "GrantedAccess": 0,
        "PublishedUrl": "sample string 3"
      },
      "MessageCount": 1,
      "ComAttempts": 1,
      "TagReaderAvailable": true,
      "CanBatteryReset": true,
      "CanChangeBattery": true,
      "SIAEnabled": true
    },
    "CurrentPosition": {
      "Id": 1,
      "SerialNumber": "sample string 2",
      "ReferenceId": "sample string 3",
      "Timestamp": "2024-11-21T10:11:26.6667258+00:00",
      "Latitude": 5.1,
      "Longitude": 6.1,
      "Accuracy": 7,
      "Speed": 1.0,
      "Altitude": 1.0,
      "Heading": 1.0,
      "Trigger": 0,
      "PositionType": 0,
      "GSMNetwork": "sample string 8",
      "ServingCell": {
        "MobileCountryCode": 2,
        "MobileNetworkCode": 3,
        "LocationAreaCode": 4,
        "CellId": 5,
        "Signal": 6,
        "CellType": "sample string 7",
        "TimeAdvance": 1
      },
      "NeighbourCells": [
        {
          "MobileCountryCode": 2,
          "MobileNetworkCode": 3,
          "LocationAreaCode": 4,
          "CellId": 5,
          "Signal": 6,
          "CellType": "sample string 7",
          "TimeAdvance": 1
        },
        {
          "MobileCountryCode": 2,
          "MobileNetworkCode": 3,
          "LocationAreaCode": 4,
          "CellId": 5,
          "Signal": 6,
          "CellType": "sample string 7",
          "TimeAdvance": 1
        }
      ],
      "Location": null,
      "MessageId": 9,
      "ServerDate": "2024-11-21T10:11:26.6667258+00:00",
      "IsLog": true,
      "IsSMS": true
    }
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.