POST api/Mobile/AddDriverLog

“AddDriverLog”的文档。

Request Information

Parameters

NameDescriptionAdditional information
formdata
“formdata”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Type": 64,
  "Mileage": 2,
  "AddressId": 3,
  "AddressName": "sample string 4",
  "Imgs": "sample string 5",
  "Remark": "sample string 6",
  "GeoData": "sample string 7",
  "ClientId": 64
}

application/xml, text/xml

Sample:
<DriversLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YII.ZXY.Model.Mobile.Form">
  <AddressId>3</AddressId>
  <AddressName>sample string 4</AddressName>
  <ClientId>64</ClientId>
  <GeoData>sample string 7</GeoData>
  <Imgs>sample string 5</Imgs>
  <Mileage>2</Mileage>
  <Remark>sample string 6</Remark>
  <Type>64</Type>
</DriversLog>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DriversLog'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Data": {},
  "Sound": 2,
  "Code": 3,
  "Msg": "sample string 4"
}