POST api/CarCheck/SaveCarCheck

Add manual audit information interface

Request Information

Body Parameters

add annual audit parameter

SaveCarCheckListModel
NameDescriptionTypeAdditional information
Item

Annual audit records

CarCheckListInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "Item": {
    "CheckTime": "sample string 1",
    "Cost": 2.0,
    "Created": "sample string 3",
    "DeviceID": 4,
    "Id": 5
  }
}

application/xml, text/xml

Sample:
<SaveCarCheckListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <Item xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:CheckTime>sample string 1</d2p1:CheckTime>
    <d2p1:Cost>2</d2p1:Cost>
    <d2p1:Created>sample string 3</d2p1:Created>
    <d2p1:DeviceID>4</d2p1:DeviceID>
    <d2p1:Id>5</d2p1:Id>
  </Item>
</SaveCarCheckListModel>

Response Information

Resource Description

State value is:
0. Indicates success
4000. Says failure

CarCheckResult
NameDescriptionTypeAdditional information
Message

string

None.

State

status code

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>