POST api/BVGDumpingPoint/AddWeighBridgeData
Request Information
URI Parameters
None.
Body Parameters
BVGDumpingPointModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | integer |
None. |
|
| UserId | integer |
None. |
|
| RoleId | integer |
None. |
|
| VehicleId | integer |
None. |
|
| Id | integer |
None. |
|
| AccId | integer |
None. |
|
| TokenImg | string |
None. |
|
| Image | string |
None. |
|
| WeightAcceptStatus | string |
None. |
|
| Reason | string |
None. |
|
| ActualWeight | decimal number |
None. |
|
| SlipNo | string |
None. |
|
| DumpingId | integer |
None. |
|
| TransferStationId | integer |
None. |
|
| TransferStationClearStatus | string |
None. |
|
| StartOdo | decimal number |
None. |
|
| EndOdo | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": 1,
"UserId": 2,
"RoleId": 3,
"VehicleId": 4,
"Id": 5,
"AccId": 6,
"TokenImg": "sample string 7",
"Image": "sample string 8",
"WeightAcceptStatus": "sample string 9",
"Reason": "sample string 10",
"ActualWeight": 11.1,
"SlipNo": "sample string 12",
"DumpingId": 13,
"TransferStationId": 14,
"TransferStationClearStatus": "sample string 15",
"StartOdo": 16.1,
"EndOdo": 17.1
}
application/xml, text/xml
Sample:
<BVGDumpingPointModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SWMAPIs.Models"> <AccId>6</AccId> <ActualWeight>11.1</ActualWeight> <DumpingId>13</DumpingId> <EndOdo>17.1</EndOdo> <Id>5</Id> <Image>sample string 8</Image> <Mode>1</Mode> <Reason>sample string 10</Reason> <RoleId>3</RoleId> <SlipNo>sample string 12</SlipNo> <StartOdo>16.1</StartOdo> <TokenImg>sample string 7</TokenImg> <TransferStationClearStatus>sample string 15</TransferStationClearStatus> <TransferStationId>14</TransferStationId> <UserId>2</UserId> <VehicleId>4</VehicleId> <WeightAcceptStatus>sample string 9</WeightAcceptStatus> </BVGDumpingPointModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |