GET api/OverWeight/CalculateOverWeight?VehicleID={VehicleID}&TowedID={TowedID}
מאפשר לקבל עבור כל רכב משא את המשקל המקסימלי המותר לו לשאת ע"פ תקנות משרד התחבורה כולל משקל מורשה בחומ"ס. ראה דוגמה מלאה לקריאה באגף הדוגמאות.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleID |
מספר המשאית/ גורר/ תומך |
integer |
Required |
| TowedID |
במידה ולא קיים יש להעביר 0. מספר הנגרר/ נתמך |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IShipAgentsContract.Objects.OverWeight| Name | Description | Type | Additional information |
|---|---|---|---|
| TruckTaraWeight | string |
None. |
|
| TruckWeight | string |
None. |
|
| TruckWeightHazard | string |
None. |
|
| TruckHazardLicence | string |
None. |
|
| TrailerTaraWeight | string |
None. |
|
| TrailerWeight | string |
None. |
|
| TrailerWeightHazard | string |
None. |
|
| TrailerHazardLicence | string |
None. |
|
| TotalWeight40Feet | string |
None. |
|
| TotalWeight | string |
None. |
|
| TotalWeightHazard | string |
None. |
|
| TotalHazardLicence | string |
None. |
|
| Comments | Collection of IShipAgentsContract.Objects.OverWeightComments |
None. |
Response Formats
application/json, text/json
Sample:
{
"TruckTaraWeight": "sample string 1",
"TruckWeight": "sample string 2",
"TruckWeightHazard": "sample string 3",
"TruckHazardLicence": "sample string 4",
"TrailerTaraWeight": "sample string 5",
"TrailerWeight": "sample string 6",
"TrailerWeightHazard": "sample string 7",
"TrailerHazardLicence": "sample string 8",
"TotalWeight40Feet": "sample string 9",
"TotalWeight": "sample string 10",
"TotalWeightHazard": "sample string 11",
"TotalHazardLicence": "sample string 12",
"Comments": [
{
"ID": "sample string 1",
"SeverityLevel": "sample string 2",
"Message": "sample string 3"
},
{
"ID": "sample string 1",
"SeverityLevel": "sample string 2",
"Message": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<OverWeight xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TruckTaraWeight>sample string 1</TruckTaraWeight>
<TruckWeight>sample string 2</TruckWeight>
<TruckWeightHazard>sample string 3</TruckWeightHazard>
<TruckHazardLicence>sample string 4</TruckHazardLicence>
<TrailerTaraWeight>sample string 5</TrailerTaraWeight>
<TrailerWeight>sample string 6</TrailerWeight>
<TrailerWeightHazard>sample string 7</TrailerWeightHazard>
<TrailerHazardLicence>sample string 8</TrailerHazardLicence>
<TotalWeight40Feet>sample string 9</TotalWeight40Feet>
<TotalWeight>sample string 10</TotalWeight>
<TotalWeightHazard>sample string 11</TotalWeightHazard>
<TotalHazardLicence>sample string 12</TotalHazardLicence>
<Comments>
<OverWeightComments>
<ID>sample string 1</ID>
<SeverityLevel>sample string 2</SeverityLevel>
<Message>sample string 3</Message>
</OverWeightComments>
<OverWeightComments>
<ID>sample string 1</ID>
<SeverityLevel>sample string 2</SeverityLevel>
<Message>sample string 3</Message>
</OverWeightComments>
</Comments>
</OverWeight>