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": "cf0b361c-7a8e-4026-a5ab-597276c15829"
}

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>cf0b361c-7a8e-4026-a5ab-597276c15829</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-07-15T23:24:20.7712763-07:00",
        "Notes": "sample string 2",
        "EntityID": "5f87c111-db44-462b-b9c0-6d0ae8b3eac0",
        "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-07-15T23:24:20.7712763-07:00",
        "Notes": "sample string 2",
        "EntityID": "5f87c111-db44-462b-b9c0-6d0ae8b3eac0",
        "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-07-15T23:24:20.7722716-07:00",
        "EntityID": "00435a94-4b53-48f9-ae40-41822264b71f",
        "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-07-15T23:24:20.7722716-07:00",
        "EntityID": "00435a94-4b53-48f9-ae40-41822264b71f",
        "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>5f87c111-db44-462b-b9c0-6d0ae8b3eac0</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-07-15T23:24:20.7712763-07:00</d2p1:DueDate>
        <d2p1:Notes>sample string 2</d2p1:Notes>
      </d2p1:Activity>
      <d2p1:Activity>
        <d2p1:Kind>sample string 4</d2p1:Kind>
        <d2p1:EntityID>5f87c111-db44-462b-b9c0-6d0ae8b3eac0</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-07-15T23:24:20.7712763-07: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>00435a94-4b53-48f9-ae40-41822264b71f</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-07-15T23:24:20.7722716-07:00</d2p1:ApptDateTime>
      </d2p1:ServiceApptAlert>
      <d2p1:ServiceApptAlert>
        <d2p1:Kind>sample string 2</d2p1:Kind>
        <d2p1:EntityID>00435a94-4b53-48f9-ae40-41822264b71f</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-07-15T23:24:20.7722716-07: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>