POST api/CarCheck/CarCheckSetting
年审设置接口
Request Information
Body Parameters
年审设置参数
CarCheckModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Item |
年审参数项 |
CarCheckInfo |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Item": {
"DeviceID": 1,
"Expired": "sample string 2",
"Id": 3,
"Updated": "sample string 4"
},
"Token": "sample string 1",
"Language": "sample string 2",
"AppId": "sample string 3"
}
application/xml, text/xml
Sample:
<CarCheckModel 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>
<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>
</CarCheckModel>
Response Information
Resource Description
State 值为:
0. 表示成功
4000. 表示失败
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"State": 2
}
application/xml, text/xml
Sample:
<CarCheckResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel"> <State>2</State> <Message>sample string 1</Message> </CarCheckResult>