POST api/CarBrand/CarSeriesList

The list of cars, according to the brand, the car department under the brand

Request Information

Body Parameters

CarSeriesModel
NameDescriptionTypeAdditional information
BrandId

brand 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:
{
  "BrandId": 1,
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

Sample:
<CarSeriesModel 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>
  <BrandId>1</BrandId>
</CarSeriesModel>

Response Information

Resource Description

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

CarSeriesResult
NameDescriptionTypeAdditional information
Items

CarBrandInfo information collection

Collection of CarSeriesInfo

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "BrandCode": "sample string 1",
      "BrandId": 2,
      "Created": "sample string 3",
      "Deleted": true,
      "Description": "sample string 5",
      "SerId": 6,
      "SeriesName": "sample string 7",
      "SeriesEN_Name": "sample string 8",
      "SortOrder": 9
    },
    {
      "BrandCode": "sample string 1",
      "BrandId": 2,
      "Created": "sample string 3",
      "Deleted": true,
      "Description": "sample string 5",
      "SerId": 6,
      "SeriesName": "sample string 7",
      "SeriesEN_Name": "sample string 8",
      "SortOrder": 9
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<CarSeriesResult 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:CarSeriesInfo>
      <d2p1:BrandCode>sample string 1</d2p1:BrandCode>
      <d2p1:BrandId>2</d2p1:BrandId>
      <d2p1:Created>sample string 3</d2p1:Created>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:SerId>6</d2p1:SerId>
      <d2p1:SeriesEN_Name>sample string 8</d2p1:SeriesEN_Name>
      <d2p1:SeriesName>sample string 7</d2p1:SeriesName>
      <d2p1:SortOrder>9</d2p1:SortOrder>
    </d2p1:CarSeriesInfo>
    <d2p1:CarSeriesInfo>
      <d2p1:BrandCode>sample string 1</d2p1:BrandCode>
      <d2p1:BrandId>2</d2p1:BrandId>
      <d2p1:Created>sample string 3</d2p1:Created>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:SerId>6</d2p1:SerId>
      <d2p1:SeriesEN_Name>sample string 8</d2p1:SeriesEN_Name>
      <d2p1:SeriesName>sample string 7</d2p1:SeriesName>
      <d2p1:SortOrder>9</d2p1:SortOrder>
    </d2p1:CarSeriesInfo>
  </Items>
</CarSeriesResult>