POST Sync/getlogindata

Get Login Data.

Request Information

URI Parameters

None.

Body Parameters

AuthenticatedRequest
NameDescriptionTypeAdditional information
token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "token": "3cf5189d-f409-4d65-8936-c4f1e206e53d"
}

application/xml, text/xml

Sample:
<AuthenticatedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">
  <token>3cf5189d-f409-4d65-8936-c4f1e206e53d</token>
</AuthenticatedRequest>

Response Information

Resource Description

GetLoginDataResponse
NameDescriptionTypeAdditional information
CountryID

Country ID

integer

None.

UserDealers

UserDealer list

Collection of UserDealer

None.

DealerMakes

Dealer Makes list

Collection of DealerMake

None.

Permissions

Permissions list

Collection of string

None.

Users

User list

UsersList

None.

Activities

Activities list

ActivitiesList

None.

Service

Service list

ServiceList

None.

code

API result code

integer

None.

error

API error message

string

None.

APIVersion

API Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "APIVersion": 1,
  "CountryID": 1,
  "UserDealers": [
    {
      "DealerID": 1,
      "DealerName": "sample string 2"
    },
    {
      "DealerID": 1,
      "DealerName": "sample string 2"
    }
  ],
  "DealerMakes": [
    {
      "DealerID": 1,
      "MakeID": 2,
      "MakeName": "sample string 3"
    },
    {
      "DealerID": 1,
      "MakeID": 2,
      "MakeName": "sample string 3"
    }
  ],
  "Permissions": [
    "sample string 1",
    "sample string 2"
  ],
  "Users": {
    "Users": [
      {
        "UserID": 1,
        "DealerID": 2,
        "FullName": "sample string 3",
        "Enabled": true,
        "Kind": "sample string 5"
      },
      {
        "UserID": 1,
        "DealerID": 2,
        "FullName": "sample string 3",
        "Enabled": true,
        "Kind": "sample string 5"
      }
    ],
    "VersionID": 1,
    "ExpirationInDays": 2,
    "APIVersion": 3,
    "code": 200,
    "error": "sample string 1"
  },
  "Activities": {
    "Activities": [
      {
        "ActivityID": 1,
        "ActivityTypeID": 1,
        "AssignedToUserID": 1,
        "DueDate": "2024-12-08T02:09:53.9334839-08:00",
        "Notes": "sample string 2",
        "EntityID": "ada2d3a5-300b-4869-97d1-b0d340b360d2",
        "FullName": "sample string 3",
        "TrimID": 1,
        "IsAlert": true,
        "IsFlexAlert": true,
        "IsMileageAlert": true,
        "IsWarrantyAlert": true,
        "IsContractEnd": true,
        "IsServiceAlert": true,
        "IsServiceApptAlert": true,
        "IsCreditConvert": true,
        "IsInMarketAlert": true,
        "IsEngagedAlert": true,
        "Kind": "sample string 4"
      },
      {
        "ActivityID": 1,
        "ActivityTypeID": 1,
        "AssignedToUserID": 1,
        "DueDate": "2024-12-08T02:09:53.9334839-08:00",
        "Notes": "sample string 2",
        "EntityID": "ada2d3a5-300b-4869-97d1-b0d340b360d2",
        "FullName": "sample string 3",
        "TrimID": 1,
        "IsAlert": true,
        "IsFlexAlert": true,
        "IsMileageAlert": true,
        "IsWarrantyAlert": true,
        "IsContractEnd": true,
        "IsServiceAlert": true,
        "IsServiceApptAlert": true,
        "IsCreditConvert": true,
        "IsInMarketAlert": true,
        "IsEngagedAlert": true,
        "Kind": "sample string 4"
      }
    ],
    "VersionID": 1,
    "ExpirationInDays": 2,
    "APIVersion": 3,
    "code": 200,
    "error": "sample string 1"
  },
  "Service": {
    "ServiceApptAlerts": [
      {
        "ApptDateTime": "2024-12-08T02:09:53.9334839-08:00",
        "EntityID": "5862058e-c488-4400-b2c9-3d3373a1aa55",
        "FullName": "sample string 1",
        "TrimID": 1,
        "IsAlert": true,
        "IsFlexAlert": true,
        "IsMileageAlert": true,
        "IsWarrantyAlert": true,
        "IsContractEnd": true,
        "IsServiceAlert": true,
        "IsServiceApptAlert": true,
        "IsCreditConvert": true,
        "IsInMarketAlert": true,
        "IsEngagedAlert": true,
        "Kind": "sample string 2"
      },
      {
        "ApptDateTime": "2024-12-08T02:09:53.9334839-08:00",
        "EntityID": "5862058e-c488-4400-b2c9-3d3373a1aa55",
        "FullName": "sample string 1",
        "TrimID": 1,
        "IsAlert": true,
        "IsFlexAlert": true,
        "IsMileageAlert": true,
        "IsWarrantyAlert": true,
        "IsContractEnd": true,
        "IsServiceAlert": true,
        "IsServiceApptAlert": true,
        "IsCreditConvert": true,
        "IsInMarketAlert": true,
        "IsEngagedAlert": true,
        "Kind": "sample string 2"
      }
    ],
    "VersionID": 1,
    "ExpirationInDays": 2,
    "APIVersion": 3,
    "code": 200,
    "error": "sample string 1"
  },
  "code": 200,
  "error": "sample string 2"
}

application/xml, text/xml

Sample:
<GetLoginDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Sync">
  <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">1</APIVersion>
  <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 2</error>
  <Activities xmlns:d2p1="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
    <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">3</APIVersion>
    <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
    <d2p1:ExpirationInDays>2</d2p1:ExpirationInDays>
    <d2p1:VersionID>1</d2p1:VersionID>
    <d2p1:Activities>
      <d2p1:Activity>
        <d2p1:Kind>sample string 4</d2p1:Kind>
        <d2p1:EntityID>ada2d3a5-300b-4869-97d1-b0d340b360d2</d2p1:EntityID>
        <d2p1:FullName>sample string 3</d2p1:FullName>
        <d2p1:IsAlert>true</d2p1:IsAlert>
        <d2p1:IsContractEnd>true</d2p1:IsContractEnd>
        <d2p1:IsCreditConvert>true</d2p1:IsCreditConvert>
        <d2p1:IsEngagedAlert>true</d2p1:IsEngagedAlert>
        <d2p1:IsFlexAlert>true</d2p1:IsFlexAlert>
        <d2p1:IsInMarketAlert>true</d2p1:IsInMarketAlert>
        <d2p1:IsMileageAlert>true</d2p1:IsMileageAlert>
        <d2p1:IsServiceAlert>true</d2p1:IsServiceAlert>
        <d2p1:IsServiceApptAlert>true</d2p1:IsServiceApptAlert>
        <d2p1:IsWarrantyAlert>true</d2p1:IsWarrantyAlert>
        <d2p1:TrimID>1</d2p1:TrimID>
        <d2p1:ActivityID>1</d2p1:ActivityID>
        <d2p1:ActivityTypeID>1</d2p1:ActivityTypeID>
        <d2p1:AssignedToUserID>1</d2p1:AssignedToUserID>
        <d2p1:DueDate>2024-12-08T02:09:53.9334839-08:00</d2p1:DueDate>
        <d2p1:Notes>sample string 2</d2p1:Notes>
      </d2p1:Activity>
      <d2p1:Activity>
        <d2p1:Kind>sample string 4</d2p1:Kind>
        <d2p1:EntityID>ada2d3a5-300b-4869-97d1-b0d340b360d2</d2p1:EntityID>
        <d2p1:FullName>sample string 3</d2p1:FullName>
        <d2p1:IsAlert>true</d2p1:IsAlert>
        <d2p1:IsContractEnd>true</d2p1:IsContractEnd>
        <d2p1:IsCreditConvert>true</d2p1:IsCreditConvert>
        <d2p1:IsEngagedAlert>true</d2p1:IsEngagedAlert>
        <d2p1:IsFlexAlert>true</d2p1:IsFlexAlert>
        <d2p1:IsInMarketAlert>true</d2p1:IsInMarketAlert>
        <d2p1:IsMileageAlert>true</d2p1:IsMileageAlert>
        <d2p1:IsServiceAlert>true</d2p1:IsServiceAlert>
        <d2p1:IsServiceApptAlert>true</d2p1:IsServiceApptAlert>
        <d2p1:IsWarrantyAlert>true</d2p1:IsWarrantyAlert>
        <d2p1:TrimID>1</d2p1:TrimID>
        <d2p1:ActivityID>1</d2p1:ActivityID>
        <d2p1:ActivityTypeID>1</d2p1:ActivityTypeID>
        <d2p1:AssignedToUserID>1</d2p1:AssignedToUserID>
        <d2p1:DueDate>2024-12-08T02:09:53.9334839-08:00</d2p1:DueDate>
        <d2p1:Notes>sample string 2</d2p1:Notes>
      </d2p1:Activity>
    </d2p1:Activities>
  </Activities>
  <CountryID>1</CountryID>
  <DealerMakes xmlns:d2p1="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
    <d2p1:DealerMake>
      <d2p1:DealerID>1</d2p1:DealerID>
      <d2p1:MakeID>2</d2p1:MakeID>
      <d2p1:MakeName>sample string 3</d2p1:MakeName>
    </d2p1:DealerMake>
    <d2p1:DealerMake>
      <d2p1:DealerID>1</d2p1:DealerID>
      <d2p1:MakeID>2</d2p1:MakeID>
      <d2p1:MakeName>sample string 3</d2p1:MakeName>
    </d2p1:DealerMake>
  </DealerMakes>
  <Permissions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Permissions>
  <Service xmlns:d2p1="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
    <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">3</APIVersion>
    <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
    <d2p1:ExpirationInDays>2</d2p1:ExpirationInDays>
    <d2p1:VersionID>1</d2p1:VersionID>
    <d2p1:ServiceApptAlerts>
      <d2p1:ServiceApptAlert>
        <d2p1:Kind>sample string 2</d2p1:Kind>
        <d2p1:EntityID>5862058e-c488-4400-b2c9-3d3373a1aa55</d2p1:EntityID>
        <d2p1:FullName>sample string 1</d2p1:FullName>
        <d2p1:IsAlert>true</d2p1:IsAlert>
        <d2p1:IsContractEnd>true</d2p1:IsContractEnd>
        <d2p1:IsCreditConvert>true</d2p1:IsCreditConvert>
        <d2p1:IsEngagedAlert>true</d2p1:IsEngagedAlert>
        <d2p1:IsFlexAlert>true</d2p1:IsFlexAlert>
        <d2p1:IsInMarketAlert>true</d2p1:IsInMarketAlert>
        <d2p1:IsMileageAlert>true</d2p1:IsMileageAlert>
        <d2p1:IsServiceAlert>true</d2p1:IsServiceAlert>
        <d2p1:IsServiceApptAlert>true</d2p1:IsServiceApptAlert>
        <d2p1:IsWarrantyAlert>true</d2p1:IsWarrantyAlert>
        <d2p1:TrimID>1</d2p1:TrimID>
        <d2p1:ApptDateTime>2024-12-08T02:09:53.9334839-08:00</d2p1:ApptDateTime>
      </d2p1:ServiceApptAlert>
      <d2p1:ServiceApptAlert>
        <d2p1:Kind>sample string 2</d2p1:Kind>
        <d2p1:EntityID>5862058e-c488-4400-b2c9-3d3373a1aa55</d2p1:EntityID>
        <d2p1:FullName>sample string 1</d2p1:FullName>
        <d2p1:IsAlert>true</d2p1:IsAlert>
        <d2p1:IsContractEnd>true</d2p1:IsContractEnd>
        <d2p1:IsCreditConvert>true</d2p1:IsCreditConvert>
        <d2p1:IsEngagedAlert>true</d2p1:IsEngagedAlert>
        <d2p1:IsFlexAlert>true</d2p1:IsFlexAlert>
        <d2p1:IsInMarketAlert>true</d2p1:IsInMarketAlert>
        <d2p1:IsMileageAlert>true</d2p1:IsMileageAlert>
        <d2p1:IsServiceAlert>true</d2p1:IsServiceAlert>
        <d2p1:IsServiceApptAlert>true</d2p1:IsServiceApptAlert>
        <d2p1:IsWarrantyAlert>true</d2p1:IsWarrantyAlert>
        <d2p1:TrimID>1</d2p1:TrimID>
        <d2p1:ApptDateTime>2024-12-08T02:09:53.9334839-08:00</d2p1:ApptDateTime>
      </d2p1:ServiceApptAlert>
    </d2p1:ServiceApptAlerts>
  </Service>
  <UserDealers xmlns:d2p1="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
    <d2p1:UserDealer>
      <d2p1:DealerID>1</d2p1:DealerID>
      <d2p1:DealerName>sample string 2</d2p1:DealerName>
    </d2p1:UserDealer>
    <d2p1:UserDealer>
      <d2p1:DealerID>1</d2p1:DealerID>
      <d2p1:DealerName>sample string 2</d2p1:DealerName>
    </d2p1:UserDealer>
  </UserDealers>
  <Users xmlns:d2p1="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
    <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">3</APIVersion>
    <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
    <d2p1:ExpirationInDays>2</d2p1:ExpirationInDays>
    <d2p1:VersionID>1</d2p1:VersionID>
    <d2p1:Users>
      <d2p1:User>
        <d2p1:Kind>sample string 5</d2p1:Kind>
        <d2p1:DealerID>2</d2p1:DealerID>
        <d2p1:Enabled>true</d2p1:Enabled>
        <d2p1:FullName>sample string 3</d2p1:FullName>
        <d2p1:UserID>1</d2p1:UserID>
      </d2p1:User>
      <d2p1:User>
        <d2p1:Kind>sample string 5</d2p1:Kind>
        <d2p1:DealerID>2</d2p1:DealerID>
        <d2p1:Enabled>true</d2p1:Enabled>
        <d2p1:FullName>sample string 3</d2p1:FullName>
        <d2p1:UserID>1</d2p1:UserID>
      </d2p1:User>
    </d2p1:Users>
  </Users>
</GetLoginDataResponse>