POST api/TruckRegister/UpdateHandheld

Request Information

URI Parameters

None.

Body Parameters

UpdatemhhdModel
NameDescriptionTypeAdditional information
companyid

string

None.

hhid

string

None.

groupid

string

None.

shortname

string

None.

tag

string

None.

speedlimitid

string

None.

btname

string

None.

fuelcost

decimal number

None.

fixedcost

decimal number

None.

timecost

decimal number

None.

endpoint

string

None.

Request Formats

application/json, text/json

Sample:
{
  "companyid": "sample string 1",
  "hhid": "sample string 2",
  "groupid": "sample string 3",
  "shortname": "sample string 4",
  "tag": "sample string 5",
  "speedlimitid": "sample string 6",
  "btname": "sample string 7",
  "fuelcost": 1.1,
  "fixedcost": 1.1,
  "timecost": 1.1,
  "endpoint": "sample string 8"
}

application/xml, text/xml

Sample:
<TruckRegisterController.UpdatemhhdModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Controllers">
  <btname>sample string 7</btname>
  <companyid>sample string 1</companyid>
  <endpoint>sample string 8</endpoint>
  <fixedcost>1.1</fixedcost>
  <fuelcost>1.1</fuelcost>
  <groupid>sample string 3</groupid>
  <hhid>sample string 2</hhid>
  <shortname>sample string 4</shortname>
  <speedlimitid>sample string 6</speedlimitid>
  <tag>sample string 5</tag>
  <timecost>1.1</timecost>
</TruckRegisterController.UpdatemhhdModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultWithModel
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

refcode

string

None.

total

integer

None.

datas

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "refcode": "sample string 3",
  "total": 4,
  "datas": {}
}

application/xml, text/xml

Sample:
<ResultWithModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models">
  <datas />
  <message>sample string 2</message>
  <refcode>sample string 3</refcode>
  <success>true</success>
  <total>4</total>
</ResultWithModel>