POST api/CarMaintain/MaintainTypeList

Maintenance item list

Request Information

Body Parameters

Obtain the maintenance item record

BaseModel
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:
<BaseModel 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>
</BaseModel>

Response Information

Resource Description

State valus is:
0. Indicates success
100. says no data

MaintainTypeListResult
NameDescriptionTypeAdditional information
Items

Group information collection

Collection of MaintainTypeInfo

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "CN_Name": "sample string 1",
      "EN_Name": "sample string 2",
      "Id": 3
    },
    {
      "CN_Name": "sample string 1",
      "EN_Name": "sample string 2",
      "Id": 3
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<MaintainTypeListResult 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:MaintainTypeInfo>
      <d2p1:CN_Name>sample string 1</d2p1:CN_Name>
      <d2p1:EN_Name>sample string 2</d2p1:EN_Name>
      <d2p1:Id>3</d2p1:Id>
    </d2p1:MaintainTypeInfo>
    <d2p1:MaintainTypeInfo>
      <d2p1:CN_Name>sample string 1</d2p1:CN_Name>
      <d2p1:EN_Name>sample string 2</d2p1:EN_Name>
      <d2p1:Id>3</d2p1:Id>
    </d2p1:MaintainTypeInfo>
  </Items>
</MaintainTypeListResult>