POST api/CarCheck/CarCheckInfo

Vehicle annual audit information

Request Information

Body Parameters

achieve vehicle annual audit records information

CarCheckInfoModel
NameDescriptionTypeAdditional information
DeviceId

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

application/xml, text/xml

Sample:
<CarCheckInfoModel 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>
  <DeviceId>1</DeviceId>
</CarCheckInfoModel>

Response Information

Resource Description

State value is:
0. is success
100. is no record

CarCheckInfoResult
NameDescriptionTypeAdditional information
Item

CarCheckInfo

None.

Message

string

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Item": {
    "DeviceID": 1,
    "Expired": "sample string 2",
    "Id": 3,
    "Updated": "sample string 4"
  },
  "Message": "sample string 1",
  "State": 2
}

application/xml, text/xml

Sample:
<CarCheckInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:DeviceID>1</d2p1:DeviceID>
    <d2p1:Expired>sample string 2</d2p1:Expired>
    <d2p1:Id>3</d2p1:Id>
    <d2p1:Updated>sample string 4</d2p1:Updated>
  </Item>
  <Message>sample string 1</Message>
</CarCheckInfoResult>