GET api/SocialDriver/Service

Get all services you have permission to view

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A collection of ServiceResponses

Collection of ServiceResponse
NameDescriptionTypeAdditional information
Id

The id of the service

unsigned integer

None.

Name

The name of the service

string

None.

IMEI

The imei of the service or null if one is not present

string

None.

ImageURL

A url pointing to the service image

string

None.

Location

The services location if one is available

ServiceLocation

None.

RecoveryProvider

Details of a recovery provider for a service or null if there isn't one

RecoveryProvider

None.

Recovering

True if the service is being recovered by a recovery provider

boolean

None.

DeviceType

The device type

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "IMEI": "sample string 3",
    "ImageURL": "sample string 4",
    "Location": {
      "Latitude": 1.1,
      "Longitude": 1.1,
      "UpdateTime": "2025-04-27T15:40:33.1584024+00:00",
      "Street": "sample string 2",
      "Town": "sample string 3",
      "Country": "sample string 4",
      "Postcode": "sample string 5",
      "BatteryVoltage": 6.1,
      "BatteryStatus": 0,
      "BatteryStatusV2": 0,
      "LocationAccuracy": 7
    },
    "RecoveryProvider": {
      "Name": "sample string 1",
      "PhoneNumber": "sample string 2"
    },
    "Recovering": true,
    "DeviceType": 6
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "IMEI": "sample string 3",
    "ImageURL": "sample string 4",
    "Location": {
      "Latitude": 1.1,
      "Longitude": 1.1,
      "UpdateTime": "2025-04-27T15:40:33.1584024+00:00",
      "Street": "sample string 2",
      "Town": "sample string 3",
      "Country": "sample string 4",
      "Postcode": "sample string 5",
      "BatteryVoltage": 6.1,
      "BatteryStatus": 0,
      "BatteryStatusV2": 0,
      "LocationAccuracy": 7
    },
    "RecoveryProvider": {
      "Name": "sample string 1",
      "PhoneNumber": "sample string 2"
    },
    "Recovering": true,
    "DeviceType": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceResponse>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <IMEI>sample string 3</IMEI>
    <ImageURL>sample string 4</ImageURL>
    <Location>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <UpdateTime>2025-04-27T15:40:33.1584024+00:00</UpdateTime>
      <Street>sample string 2</Street>
      <Town>sample string 3</Town>
      <Country>sample string 4</Country>
      <Postcode>sample string 5</Postcode>
      <BatteryVoltage>6.1</BatteryVoltage>
      <BatteryStatus>Full</BatteryStatus>
      <BatteryStatusV2>Full</BatteryStatusV2>
      <LocationAccuracy>7</LocationAccuracy>
    </Location>
    <RecoveryProvider>
      <Name>sample string 1</Name>
      <PhoneNumber>sample string 2</PhoneNumber>
    </RecoveryProvider>
    <Recovering>true</Recovering>
    <DeviceType>6</DeviceType>
  </ServiceResponse>
  <ServiceResponse>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <IMEI>sample string 3</IMEI>
    <ImageURL>sample string 4</ImageURL>
    <Location>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <UpdateTime>2025-04-27T15:40:33.1584024+00:00</UpdateTime>
      <Street>sample string 2</Street>
      <Town>sample string 3</Town>
      <Country>sample string 4</Country>
      <Postcode>sample string 5</Postcode>
      <BatteryVoltage>6.1</BatteryVoltage>
      <BatteryStatus>Full</BatteryStatus>
      <BatteryStatusV2>Full</BatteryStatusV2>
      <LocationAccuracy>7</LocationAccuracy>
    </Location>
    <RecoveryProvider>
      <Name>sample string 1</Name>
      <PhoneNumber>sample string 2</PhoneNumber>
    </RecoveryProvider>
    <Recovering>true</Recovering>
    <DeviceType>6</DeviceType>
  </ServiceResponse>
</ArrayOfServiceResponse>