POST General/getmodels
Get changed Model 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": "1c2e48ad-1a28-476a-ab5e-d7d70afdc92e" }
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">1c2e48ad-1a28-476a-ab5e-d7d70afdc92e</token> <versionID>1</versionID> </GetVersionedRequest>
Response Information
Resource Description
ModelsListName | Description | Type | Additional information |
---|---|---|---|
Models | Collection of Model |
None. |
|
code |
API result code |
integer |
None. |
error |
API error message |
string |
None. |
VersionID | integer |
None. |
|
ExpirationInDays | integer |
None. |
|
APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "VersionID": 1, "ExpirationInDays": 2, "APIVersion": 3, "Models": [ { "ModelID": 1, "YearID": 2, "MakeID": 3, "ModelName": "sample string 4", "Kind": "sample string 5" }, { "ModelID": 1, "YearID": 2, "MakeID": 3, "ModelName": "sample string 4", "Kind": "sample string 5" } ], "code": 200, "error": "sample string 1" }
application/xml, text/xml
Sample:
<ModelsList 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> <Models> <Model> <Kind>sample string 5</Kind> <MakeID>3</MakeID> <ModelID>1</ModelID> <ModelName>sample string 4</ModelName> <YearID>2</YearID> </Model> <Model> <Kind>sample string 5</Kind> <MakeID>3</MakeID> <ModelID>1</ModelID> <ModelName>sample string 4</ModelName> <YearID>2</YearID> </Model> </Models> </ModelsList>