POST General/getservice
Get changed Service data.
Request Information
URI Parameters
None.
Body Parameters
GetVersionedRequestName | Description | Type | Additional information |
---|---|---|---|
versionID |
Version ID |
integer |
Required |
token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "versionID": 1, "token": "93eac46e-c8bb-4591-83fb-8e12d42c046a" }
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">93eac46e-c8bb-4591-83fb-8e12d42c046a</token> <versionID>1</versionID> </GetVersionedRequest>
Response Information
Resource Description
ServiceListName | Description | Type | Additional 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-10-03T12:14:21.8865688-07:00", "EntityID": "bc5e0549-cb69-4427-ba65-abdfa7a97387", "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-10-03T12:14:21.8865688-07:00", "EntityID": "bc5e0549-cb69-4427-ba65-abdfa7a97387", "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>bc5e0549-cb69-4427-ba65-abdfa7a97387</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-10-03T12:14:21.8865688-07:00</ApptDateTime> </ServiceApptAlert> <ServiceApptAlert> <Kind>sample string 2</Kind> <EntityID>bc5e0549-cb69-4427-ba65-abdfa7a97387</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-10-03T12:14:21.8865688-07:00</ApptDateTime> </ServiceApptAlert> </ServiceApptAlerts> </ServiceList>