POST api/token/UpdateWeight

Request Information

URI Parameters

None.

Body Parameters

TokenWeightModel
NameDescriptionTypeAdditional information
TokenNumber

string

None.

VerifiedVehicleNumber

string

None.

GrossWeight

decimal number

None.

TareWeight

decimal number

None.

NetWeight

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "TokenNumber": "sample string 1",
  "VerifiedVehicleNumber": "sample string 2",
  "GrossWeight": 3.0,
  "TareWeight": 4.0,
  "NetWeight": 5.0
}

application/xml, text/xml

Sample:
<TokenWeightModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API">
  <GrossWeight>3</GrossWeight>
  <NetWeight>5</NetWeight>
  <TareWeight>4</TareWeight>
  <TokenNumber>sample string 1</TokenNumber>
  <VerifiedVehicleNumber>sample string 2</VerifiedVehicleNumber>
</TokenWeightModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.