GET api/SocialDriver/GetExtendedExternalUser?username={username}&policyNumber={policyNumber}&imei={imei}

Get details of user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

The username being queried, this takes priority over policy number if both are specified

string

Default value is

policyNumber

The policy number being queried

string

Default value is

imei

The imei being queried

string

Default value is

Body Parameters

None.

Response Information

Resource Description

A ViewUserResponse

ViewExtendedUserExternallyResponse
NameDescriptionTypeAdditional information
Username

A persons username

string

None.

Timezone

The user's timezone

string

None.

Culture

The user's culture

string

None.

Firstname

The user's first name

string

None.

Lastname

The user's last name

string

None.

Dob

The user's date of birth

date

None.

Gender

The user's gender

string

None.

Address

The user's address

string

None.

Postcode

The user's postcode

string

None.

UserDistanceUnit

The units the user wants distance in

string

None.

UserSpeedUnit

The units the user wants speed in

string

None.

Title

The user's title

string

None.

MobileNumber

The user's mobile number

string

None.

PolicyNumber

The users policy number

string

None.

UserStatus

The status of the user

UserStatus

None.

Branding

The user's branding

string

None.

ServiceDetails

The services owned by the user

Collection of ExtendedServiceDetailsResponse

None.

UserId

The user id

unsigned integer

None.

MyCarClubBrandingId

The my car club branding id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Timezone": "sample string 2",
  "Culture": "sample string 3",
  "Firstname": "sample string 4",
  "Lastname": "sample string 5",
  "Dob": "2025-04-27T16:04:10.138584+00:00",
  "Gender": "sample string 7",
  "Address": "sample string 8",
  "Postcode": "sample string 9",
  "UserDistanceUnit": "sample string 10",
  "UserSpeedUnit": "sample string 11",
  "Title": "sample string 12",
  "MobileNumber": "sample string 13",
  "PolicyNumber": "sample string 14",
  "UserStatus": 0,
  "Branding": "sample string 15",
  "ServiceDetails": [
    {
      "Id": 1,
      "IMEI": "sample string 2",
      "ServiceRegistration": "sample string 3",
      "RecoveryProviderId": 1,
      "Recovering": true
    },
    {
      "Id": 1,
      "IMEI": "sample string 2",
      "ServiceRegistration": "sample string 3",
      "RecoveryProviderId": 1,
      "Recovering": true
    }
  ],
  "UserId": 16,
  "MyCarClubBrandingId": 17
}

application/xml, text/xml

Sample:
<ViewExtendedUserExternallyResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Username>sample string 1</Username>
  <Timezone>sample string 2</Timezone>
  <Culture>sample string 3</Culture>
  <Firstname>sample string 4</Firstname>
  <Lastname>sample string 5</Lastname>
  <Dob>2025-04-27T16:04:10.138584+00:00</Dob>
  <Gender>sample string 7</Gender>
  <Address>sample string 8</Address>
  <Postcode>sample string 9</Postcode>
  <UserDistanceUnit>sample string 10</UserDistanceUnit>
  <UserSpeedUnit>sample string 11</UserSpeedUnit>
  <Title>sample string 12</Title>
  <MobileNumber>sample string 13</MobileNumber>
  <PolicyNumber>sample string 14</PolicyNumber>
  <UserStatus>Enable</UserStatus>
  <Branding>sample string 15</Branding>
  <ServiceDetails>
    <ExtendedServiceDetailsResponse>
      <Id>1</Id>
      <IMEI>sample string 2</IMEI>
      <ServiceRegistration>sample string 3</ServiceRegistration>
      <RecoveryProviderId>1</RecoveryProviderId>
      <Recovering>true</Recovering>
    </ExtendedServiceDetailsResponse>
    <ExtendedServiceDetailsResponse>
      <Id>1</Id>
      <IMEI>sample string 2</IMEI>
      <ServiceRegistration>sample string 3</ServiceRegistration>
      <RecoveryProviderId>1</RecoveryProviderId>
      <Recovering>true</Recovering>
    </ExtendedServiceDetailsResponse>
  </ServiceDetails>
  <UserId>16</UserId>
  <MyCarClubBrandingId>17</MyCarClubBrandingId>
</ViewExtendedUserExternallyResponse>