POST api/CarBrand/CarBrandList

vehicle brand list

Request Information

Body Parameters

vehicle brand list parameter

CarBrandListModel
NameDescriptionTypeAdditional information
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:
{
  "Token": "sample string 1",
  "Language": "sample string 2",
  "AppId": "sample string 3"
}

application/xml, text/xml

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

Response Information

Resource Description

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

CarBrandListResult
NameDescriptionTypeAdditional information
Items

CarBrandInfo collection of information

Collection of CarBrandInfo

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "BrandId": 1,
      "Brand": "sample string 2",
      "EN_Name": "sample string 3",
      "BrandValue": 4,
      "Logo": "sample string 5",
      "Description": "sample string 6",
      "SortId": 7,
      "Created": "sample string 8",
      "Deleted": true
    },
    {
      "BrandId": 1,
      "Brand": "sample string 2",
      "EN_Name": "sample string 3",
      "BrandValue": 4,
      "Logo": "sample string 5",
      "Description": "sample string 6",
      "SortId": 7,
      "Created": "sample string 8",
      "Deleted": true
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<CarBrandListResult 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:CarBrandInfo>
      <d2p1:Brand>sample string 2</d2p1:Brand>
      <d2p1:BrandId>1</d2p1:BrandId>
      <d2p1:BrandValue>4</d2p1:BrandValue>
      <d2p1:Created>sample string 8</d2p1:Created>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:EN_Name>sample string 3</d2p1:EN_Name>
      <d2p1:Logo>sample string 5</d2p1:Logo>
      <d2p1:SortId>7</d2p1:SortId>
    </d2p1:CarBrandInfo>
    <d2p1:CarBrandInfo>
      <d2p1:Brand>sample string 2</d2p1:Brand>
      <d2p1:BrandId>1</d2p1:BrandId>
      <d2p1:BrandValue>4</d2p1:BrandValue>
      <d2p1:Created>sample string 8</d2p1:Created>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:EN_Name>sample string 3</d2p1:EN_Name>
      <d2p1:Logo>sample string 5</d2p1:Logo>
      <d2p1:SortId>7</d2p1:SortId>
    </d2p1:CarBrandInfo>
  </Items>
</CarBrandListResult>