POST General/getservice

Get changed Service data.

Request Information

URI Parameters

None.

Body Parameters

GetVersionedRequest
NameDescriptionTypeAdditional information
versionID

Version ID

integer

Required

token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "versionID": 1,
  "token": "1fa13220-ac96-4830-a3df-43f3cb64db3b"
}

application/xml, text/xml

Sample:
<GetVersionedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.General">
  <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">1fa13220-ac96-4830-a3df-43f3cb64db3b</token>
  <versionID>1</versionID>
</GetVersionedRequest>

Response Information

Resource Description

ServiceList
NameDescriptionTypeAdditional information
code

API result code

integer

None.

error

API error message

string

None.

ServiceApptAlerts

Collection of ServiceApptAlert

None.

VersionID

integer

None.

ExpirationInDays

integer

None.

APIVersion

API Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ServiceApptAlerts": [
    {
      "ApptDateTime": "2024-11-20T11:12:33.1985965-08:00",
      "EntityID": "2e9c42e4-ed4b-4551-ba1d-fa2cd031622d",
      "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-11-20T11:12:33.1985965-08:00",
      "EntityID": "2e9c42e4-ed4b-4551-ba1d-fa2cd031622d",
      "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"
}

application/xml, text/xml

Sample:
<ServiceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="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>
  <ExpirationInDays>2</ExpirationInDays>
  <VersionID>1</VersionID>
  <ServiceApptAlerts>
    <ServiceApptAlert>
      <Kind>sample string 2</Kind>
      <EntityID>2e9c42e4-ed4b-4551-ba1d-fa2cd031622d</EntityID>
      <FullName>sample string 1</FullName>
      <IsAlert>true</IsAlert>
      <IsContractEnd>true</IsContractEnd>
      <IsCreditConvert>true</IsCreditConvert>
      <IsEngagedAlert>true</IsEngagedAlert>
      <IsFlexAlert>true</IsFlexAlert>
      <IsInMarketAlert>true</IsInMarketAlert>
      <IsMileageAlert>true</IsMileageAlert>
      <IsServiceAlert>true</IsServiceAlert>
      <IsServiceApptAlert>true</IsServiceApptAlert>
      <IsWarrantyAlert>true</IsWarrantyAlert>
      <TrimID>1</TrimID>
      <ApptDateTime>2024-11-20T11:12:33.1985965-08:00</ApptDateTime>
    </ServiceApptAlert>
    <ServiceApptAlert>
      <Kind>sample string 2</Kind>
      <EntityID>2e9c42e4-ed4b-4551-ba1d-fa2cd031622d</EntityID>
      <FullName>sample string 1</FullName>
      <IsAlert>true</IsAlert>
      <IsContractEnd>true</IsContractEnd>
      <IsCreditConvert>true</IsCreditConvert>
      <IsEngagedAlert>true</IsEngagedAlert>
      <IsFlexAlert>true</IsFlexAlert>
      <IsInMarketAlert>true</IsInMarketAlert>
      <IsMileageAlert>true</IsMileageAlert>
      <IsServiceAlert>true</IsServiceAlert>
      <IsServiceApptAlert>true</IsServiceApptAlert>
      <IsWarrantyAlert>true</IsWarrantyAlert>
      <TrimID>1</TrimID>
      <ApptDateTime>2024-11-20T11:12:33.1985965-08:00</ApptDateTime>
    </ServiceApptAlert>
  </ServiceApptAlerts>
</ServiceList>