GET ops/orgs/{id}/trucks
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Vehicle| Name | Description | Type | Additional information |
|---|---|---|---|
| Capactity | integer |
None. |
|
| Description | string |
None. |
|
| GVM | integer |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| RegNo | string |
None. |
|
| Tare | integer |
None. |
|
| VIN | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"capactity": 1,
"description": "sample string 2",
"gvm": 3,
"id": 4,
"name": "sample string 5",
"regNo": "sample string 6",
"tare": 7,
"vin": "sample string 8"
},
{
"capactity": 1,
"description": "sample string 2",
"gvm": 3,
"id": 4,
"name": "sample string 5",
"regNo": "sample string 6",
"tare": 7,
"vin": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfVehicle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Logistics">
<Vehicle>
<Capactity>1</Capactity>
<Description>sample string 2</Description>
<GVM>3</GVM>
<Id>4</Id>
<Name>sample string 5</Name>
<RegNo>sample string 6</RegNo>
<Tare>7</Tare>
<VIN>sample string 8</VIN>
</Vehicle>
<Vehicle>
<Capactity>1</Capactity>
<Description>sample string 2</Description>
<GVM>3</GVM>
<Id>4</Id>
<Name>sample string 5</Name>
<RegNo>sample string 6</RegNo>
<Tare>7</Tare>
<VIN>sample string 8</VIN>
</Vehicle>
</ArrayOfVehicle>