POST api/CarBrand/CarModelsList

Vehicle model list,according vehicle model series obtain

Request Information

Body Parameters

car series parameter

CarModelsModel
NameDescriptionTypeAdditional information
SerId

car series Id

integer

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SerId": 1,
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

Sample:
<CarModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 4</AppId>
  <Language>sample string 3</Language>
  <Token>sample string 2</Token>
  <SerId>1</SerId>
</CarModelsModel>

Response Information

Resource Description

State values is:
0. Indicates success
100. indicates that list does not have data

CarModelsResult
NameDescriptionTypeAdditional information
Items

CarBrandInfo nformation collection

Collection of CarModelsInfo

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "BrandCode": "sample string 1",
      "Created": "sample string 2",
      "Deleted": true,
      "ModelId": 4,
      "ModelName": "sample string 5",
      "ModelEN_Name": "sample string 6",
      "SerID": 7,
      "SortOrder": 8
    },
    {
      "BrandCode": "sample string 1",
      "Created": "sample string 2",
      "Deleted": true,
      "ModelId": 4,
      "ModelName": "sample string 5",
      "ModelEN_Name": "sample string 6",
      "SerID": 7,
      "SortOrder": 8
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<CarModelsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:CarModelsInfo>
      <d2p1:BrandCode>sample string 1</d2p1:BrandCode>
      <d2p1:Created>sample string 2</d2p1:Created>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:ModelEN_Name>sample string 6</d2p1:ModelEN_Name>
      <d2p1:ModelId>4</d2p1:ModelId>
      <d2p1:ModelName>sample string 5</d2p1:ModelName>
      <d2p1:SerID>7</d2p1:SerID>
      <d2p1:SortOrder>8</d2p1:SortOrder>
    </d2p1:CarModelsInfo>
    <d2p1:CarModelsInfo>
      <d2p1:BrandCode>sample string 1</d2p1:BrandCode>
      <d2p1:Created>sample string 2</d2p1:Created>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:ModelEN_Name>sample string 6</d2p1:ModelEN_Name>
      <d2p1:ModelId>4</d2p1:ModelId>
      <d2p1:ModelName>sample string 5</d2p1:ModelName>
      <d2p1:SerID>7</d2p1:SerID>
      <d2p1:SortOrder>8</d2p1:SortOrder>
    </d2p1:CarModelsInfo>
  </Items>
</CarModelsResult>