GET TransportOrderOptimizationRequest/Resources/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&headerId={headerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId | string |
None. |
|
| CompanyId | integer |
None. |
|
| headerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
KendoGridResponseOfTransportOrderOptimizationRequestResourceView| Name | Description | Type | Additional information |
|---|---|---|---|
| total | integer |
None. |
|
| data | Collection of TransportOrderOptimizationRequestResourceView |
None. |
|
| errorCode | integer |
None. |
|
| error | string |
None. |
|
| top | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"total": 1,
"data": [
{
"transporterAsset": {
"garage": {
"location": {
"id": 1,
"location": "sample string 2",
"name": "sample string 3",
"address": "sample string 4",
"locality": "sample string 5",
"postalCode": "sample string 6",
"postalTown": "sample string 7",
"country": "sample string 8",
"longitude": 9.1,
"latitude": 10.1,
"isDeleted": true,
"isGlobal": true
},
"id": 1,
"transporterId": 2,
"locationId": 3,
"name": "sample string 4",
"misc": "sample string 5"
},
"id": 1,
"transporterId": 2,
"plateNumber": "sample string 3",
"loadCapacity": 4.1,
"remark": "sample string 5",
"noOfPallets": 6,
"isDeleted": true,
"highCargo": true,
"adr": true,
"ramp": true,
"van": true,
"trackedVehicleId": 12,
"trackedActivationKey": 13,
"garageId": 14,
"priceListId": 15,
"availableFromInSec": 16,
"availableToInSec": 17,
"iconPath": "sample string 18",
"nfc": "sample string 19",
"avgFuelConsumptionPer100KM": 20.1,
"avgCostsPer100KM": 21.1,
"startLocationId": 22,
"stopLocationId": 23,
"routePostalCodesId": 24,
"routePostalCodes2Id": 25,
"speedFactor": 26.1
},
"fromLocation": {
"id": 1,
"location": "sample string 2",
"name": "sample string 3",
"address": "sample string 4",
"locality": "sample string 5",
"postalCode": "sample string 6",
"postalTown": "sample string 7",
"country": "sample string 8",
"longitude": 9.1,
"latitude": 10.1,
"isDeleted": true,
"isGlobal": true
},
"toLocation": {
"id": 1,
"location": "sample string 2",
"name": "sample string 3",
"address": "sample string 4",
"locality": "sample string 5",
"postalCode": "sample string 6",
"postalTown": "sample string 7",
"country": "sample string 8",
"longitude": 9.1,
"latitude": 10.1,
"isDeleted": true,
"isGlobal": true
},
"id": 1,
"headerId": 2,
"transporterAssetId": 3,
"fromLocationId": 4,
"fromLongitude": 5.1,
"fromLatitude": 6.1,
"toLocationId": 7,
"toLongitude": 8.1,
"toLatitude": 9.1,
"fromTimeInSec": 10,
"toTimeInSec": 11,
"costPerKM": 12.1
},
{
"transporterAsset": {
"garage": {
"location": {
"id": 1,
"location": "sample string 2",
"name": "sample string 3",
"address": "sample string 4",
"locality": "sample string 5",
"postalCode": "sample string 6",
"postalTown": "sample string 7",
"country": "sample string 8",
"longitude": 9.1,
"latitude": 10.1,
"isDeleted": true,
"isGlobal": true
},
"id": 1,
"transporterId": 2,
"locationId": 3,
"name": "sample string 4",
"misc": "sample string 5"
},
"id": 1,
"transporterId": 2,
"plateNumber": "sample string 3",
"loadCapacity": 4.1,
"remark": "sample string 5",
"noOfPallets": 6,
"isDeleted": true,
"highCargo": true,
"adr": true,
"ramp": true,
"van": true,
"trackedVehicleId": 12,
"trackedActivationKey": 13,
"garageId": 14,
"priceListId": 15,
"availableFromInSec": 16,
"availableToInSec": 17,
"iconPath": "sample string 18",
"nfc": "sample string 19",
"avgFuelConsumptionPer100KM": 20.1,
"avgCostsPer100KM": 21.1,
"startLocationId": 22,
"stopLocationId": 23,
"routePostalCodesId": 24,
"routePostalCodes2Id": 25,
"speedFactor": 26.1
},
"fromLocation": {
"id": 1,
"location": "sample string 2",
"name": "sample string 3",
"address": "sample string 4",
"locality": "sample string 5",
"postalCode": "sample string 6",
"postalTown": "sample string 7",
"country": "sample string 8",
"longitude": 9.1,
"latitude": 10.1,
"isDeleted": true,
"isGlobal": true
},
"toLocation": {
"id": 1,
"location": "sample string 2",
"name": "sample string 3",
"address": "sample string 4",
"locality": "sample string 5",
"postalCode": "sample string 6",
"postalTown": "sample string 7",
"country": "sample string 8",
"longitude": 9.1,
"latitude": 10.1,
"isDeleted": true,
"isGlobal": true
},
"id": 1,
"headerId": 2,
"transporterAssetId": 3,
"fromLocationId": 4,
"fromLongitude": 5.1,
"fromLatitude": 6.1,
"toLocationId": 7,
"toLongitude": 8.1,
"toLatitude": 9.1,
"fromTimeInSec": 10,
"toTimeInSec": 11,
"costPerKM": 12.1
}
],
"errorCode": 2,
"error": "sample string 3",
"top": 4
}
text/javascript
Sample:
{"total":1,"data":[{"transporterAsset":{"garage":{"location":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"id":1,"transporterId":2,"locationId":3,"name":"sample string 4","misc":"sample string 5"},"id":1,"transporterId":2,"plateNumber":"sample string 3","loadCapacity":4.1,"remark":"sample string 5","noOfPallets":6,"isDeleted":true,"highCargo":true,"adr":true,"ramp":true,"van":true,"trackedVehicleId":12,"trackedActivationKey":13,"garageId":14,"priceListId":15,"availableFromInSec":16,"availableToInSec":17,"iconPath":"sample string 18","nfc":"sample string 19","avgFuelConsumptionPer100KM":20.1,"avgCostsPer100KM":21.1,"startLocationId":22,"stopLocationId":23,"routePostalCodesId":24,"routePostalCodes2Id":25,"speedFactor":26.1},"fromLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"toLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"id":1,"headerId":2,"transporterAssetId":3,"fromLocationId":4,"fromLongitude":5.1,"fromLatitude":6.1,"toLocationId":7,"toLongitude":8.1,"toLatitude":9.1,"fromTimeInSec":10,"toTimeInSec":11,"costPerKM":12.1},{"transporterAsset":{"garage":{"location":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"id":1,"transporterId":2,"locationId":3,"name":"sample string 4","misc":"sample string 5"},"id":1,"transporterId":2,"plateNumber":"sample string 3","loadCapacity":4.1,"remark":"sample string 5","noOfPallets":6,"isDeleted":true,"highCargo":true,"adr":true,"ramp":true,"van":true,"trackedVehicleId":12,"trackedActivationKey":13,"garageId":14,"priceListId":15,"availableFromInSec":16,"availableToInSec":17,"iconPath":"sample string 18","nfc":"sample string 19","avgFuelConsumptionPer100KM":20.1,"avgCostsPer100KM":21.1,"startLocationId":22,"stopLocationId":23,"routePostalCodesId":24,"routePostalCodes2Id":25,"speedFactor":26.1},"fromLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"toLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"id":1,"headerId":2,"transporterAssetId":3,"fromLocationId":4,"fromLongitude":5.1,"fromLatitude":6.1,"toLocationId":7,"toLongitude":8.1,"toLatitude":9.1,"fromTimeInSec":10,"toTimeInSec":11,"costPerKM":12.1}],"errorCode":2,"error":"sample string 3","top":4}
application/xml, text/xml
Sample:
<KendoGridResponseOfTransportOrderOptimizationRequestResourceViewWu8RQ_P_SR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib">
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSP_Optimization.model">
<d2p1:TransportOrderOptimizationRequestResourceView>
<d2p1:costPerKM>12.1</d2p1:costPerKM>
<d2p1:fromLatitude>6.1</d2p1:fromLatitude>
<d2p1:fromLocationId>4</d2p1:fromLocationId>
<d2p1:fromLongitude>5.1</d2p1:fromLongitude>
<d2p1:fromTimeInSec>10</d2p1:fromTimeInSec>
<d2p1:headerId>2</d2p1:headerId>
<d2p1:id>1</d2p1:id>
<d2p1:toLatitude>9.1</d2p1:toLatitude>
<d2p1:toLocationId>7</d2p1:toLocationId>
<d2p1:toLongitude>8.1</d2p1:toLongitude>
<d2p1:toTimeInSec>11</d2p1:toTimeInSec>
<d2p1:transporterAssetId>3</d2p1:transporterAssetId>
<d2p1:fromLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
<d4p1:address>sample string 4</d4p1:address>
<d4p1:country>sample string 8</d4p1:country>
<d4p1:id>1</d4p1:id>
<d4p1:isDeleted>true</d4p1:isDeleted>
<d4p1:isGlobal>true</d4p1:isGlobal>
<d4p1:latitude>10.1</d4p1:latitude>
<d4p1:locality>sample string 5</d4p1:locality>
<d4p1:location>sample string 2</d4p1:location>
<d4p1:longitude>9.1</d4p1:longitude>
<d4p1:name>sample string 3</d4p1:name>
<d4p1:postalCode>sample string 6</d4p1:postalCode>
<d4p1:postalTown>sample string 7</d4p1:postalTown>
</d2p1:fromLocation>
<d2p1:toLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
<d4p1:address>sample string 4</d4p1:address>
<d4p1:country>sample string 8</d4p1:country>
<d4p1:id>1</d4p1:id>
<d4p1:isDeleted>true</d4p1:isDeleted>
<d4p1:isGlobal>true</d4p1:isGlobal>
<d4p1:latitude>10.1</d4p1:latitude>
<d4p1:locality>sample string 5</d4p1:locality>
<d4p1:location>sample string 2</d4p1:location>
<d4p1:longitude>9.1</d4p1:longitude>
<d4p1:name>sample string 3</d4p1:name>
<d4p1:postalCode>sample string 6</d4p1:postalCode>
<d4p1:postalTown>sample string 7</d4p1:postalTown>
</d2p1:toLocation>
<d2p1:transporterAsset xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Register">
<d4p1:adr>true</d4p1:adr>
<d4p1:availableFromInSec>16</d4p1:availableFromInSec>
<d4p1:availableToInSec>17</d4p1:availableToInSec>
<d4p1:avgCostsPer100KM>21.1</d4p1:avgCostsPer100KM>
<d4p1:avgFuelConsumptionPer100KM>20.1</d4p1:avgFuelConsumptionPer100KM>
<d4p1:garageId>14</d4p1:garageId>
<d4p1:highCargo>true</d4p1:highCargo>
<d4p1:iconPath>sample string 18</d4p1:iconPath>
<d4p1:id>1</d4p1:id>
<d4p1:isDeleted>true</d4p1:isDeleted>
<d4p1:loadCapacity>4.1</d4p1:loadCapacity>
<d4p1:nfc>sample string 19</d4p1:nfc>
<d4p1:noOfPallets>6</d4p1:noOfPallets>
<d4p1:plateNumber>sample string 3</d4p1:plateNumber>
<d4p1:priceListId>15</d4p1:priceListId>
<d4p1:ramp>true</d4p1:ramp>
<d4p1:remark>sample string 5</d4p1:remark>
<d4p1:routePostalCodes2Id>25</d4p1:routePostalCodes2Id>
<d4p1:routePostalCodesId>24</d4p1:routePostalCodesId>
<d4p1:speedFactor>26.1</d4p1:speedFactor>
<d4p1:startLocationId>22</d4p1:startLocationId>
<d4p1:stopLocationId>23</d4p1:stopLocationId>
<d4p1:trackedActivationKey>13</d4p1:trackedActivationKey>
<d4p1:trackedVehicleId>12</d4p1:trackedVehicleId>
<d4p1:transporterId>2</d4p1:transporterId>
<d4p1:van>true</d4p1:van>
<d4p1:garage xmlns:d5p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Register.Transporter">
<d5p1:id>1</d5p1:id>
<d5p1:locationId>3</d5p1:locationId>
<d5p1:misc>sample string 5</d5p1:misc>
<d5p1:name>sample string 4</d5p1:name>
<d5p1:transporterId>2</d5p1:transporterId>
<d5p1:location xmlns:d6p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
<d6p1:address>sample string 4</d6p1:address>
<d6p1:country>sample string 8</d6p1:country>
<d6p1:id>1</d6p1:id>
<d6p1:isDeleted>true</d6p1:isDeleted>
<d6p1:isGlobal>true</d6p1:isGlobal>
<d6p1:latitude>10.1</d6p1:latitude>
<d6p1:locality>sample string 5</d6p1:locality>
<d6p1:location>sample string 2</d6p1:location>
<d6p1:longitude>9.1</d6p1:longitude>
<d6p1:name>sample string 3</d6p1:name>
<d6p1:postalCode>sample string 6</d6p1:postalCode>
<d6p1:postalTown>sample string 7</d6p1:postalTown>
</d5p1:location>
</d4p1:garage>
</d2p1:transporterAsset>
</d2p1:TransportOrderOptimizationRequestResourceView>
<d2p1:TransportOrderOptimizationRequestResourceView>
<d2p1:costPerKM>12.1</d2p1:costPerKM>
<d2p1:fromLatitude>6.1</d2p1:fromLatitude>
<d2p1:fromLocationId>4</d2p1:fromLocationId>
<d2p1:fromLongitude>5.1</d2p1:fromLongitude>
<d2p1:fromTimeInSec>10</d2p1:fromTimeInSec>
<d2p1:headerId>2</d2p1:headerId>
<d2p1:id>1</d2p1:id>
<d2p1:toLatitude>9.1</d2p1:toLatitude>
<d2p1:toLocationId>7</d2p1:toLocationId>
<d2p1:toLongitude>8.1</d2p1:toLongitude>
<d2p1:toTimeInSec>11</d2p1:toTimeInSec>
<d2p1:transporterAssetId>3</d2p1:transporterAssetId>
<d2p1:fromLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
<d4p1:address>sample string 4</d4p1:address>
<d4p1:country>sample string 8</d4p1:country>
<d4p1:id>1</d4p1:id>
<d4p1:isDeleted>true</d4p1:isDeleted>
<d4p1:isGlobal>true</d4p1:isGlobal>
<d4p1:latitude>10.1</d4p1:latitude>
<d4p1:locality>sample string 5</d4p1:locality>
<d4p1:location>sample string 2</d4p1:location>
<d4p1:longitude>9.1</d4p1:longitude>
<d4p1:name>sample string 3</d4p1:name>
<d4p1:postalCode>sample string 6</d4p1:postalCode>
<d4p1:postalTown>sample string 7</d4p1:postalTown>
</d2p1:fromLocation>
<d2p1:toLocation xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
<d4p1:address>sample string 4</d4p1:address>
<d4p1:country>sample string 8</d4p1:country>
<d4p1:id>1</d4p1:id>
<d4p1:isDeleted>true</d4p1:isDeleted>
<d4p1:isGlobal>true</d4p1:isGlobal>
<d4p1:latitude>10.1</d4p1:latitude>
<d4p1:locality>sample string 5</d4p1:locality>
<d4p1:location>sample string 2</d4p1:location>
<d4p1:longitude>9.1</d4p1:longitude>
<d4p1:name>sample string 3</d4p1:name>
<d4p1:postalCode>sample string 6</d4p1:postalCode>
<d4p1:postalTown>sample string 7</d4p1:postalTown>
</d2p1:toLocation>
<d2p1:transporterAsset xmlns:d4p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Register">
<d4p1:adr>true</d4p1:adr>
<d4p1:availableFromInSec>16</d4p1:availableFromInSec>
<d4p1:availableToInSec>17</d4p1:availableToInSec>
<d4p1:avgCostsPer100KM>21.1</d4p1:avgCostsPer100KM>
<d4p1:avgFuelConsumptionPer100KM>20.1</d4p1:avgFuelConsumptionPer100KM>
<d4p1:garageId>14</d4p1:garageId>
<d4p1:highCargo>true</d4p1:highCargo>
<d4p1:iconPath>sample string 18</d4p1:iconPath>
<d4p1:id>1</d4p1:id>
<d4p1:isDeleted>true</d4p1:isDeleted>
<d4p1:loadCapacity>4.1</d4p1:loadCapacity>
<d4p1:nfc>sample string 19</d4p1:nfc>
<d4p1:noOfPallets>6</d4p1:noOfPallets>
<d4p1:plateNumber>sample string 3</d4p1:plateNumber>
<d4p1:priceListId>15</d4p1:priceListId>
<d4p1:ramp>true</d4p1:ramp>
<d4p1:remark>sample string 5</d4p1:remark>
<d4p1:routePostalCodes2Id>25</d4p1:routePostalCodes2Id>
<d4p1:routePostalCodesId>24</d4p1:routePostalCodesId>
<d4p1:speedFactor>26.1</d4p1:speedFactor>
<d4p1:startLocationId>22</d4p1:startLocationId>
<d4p1:stopLocationId>23</d4p1:stopLocationId>
<d4p1:trackedActivationKey>13</d4p1:trackedActivationKey>
<d4p1:trackedVehicleId>12</d4p1:trackedVehicleId>
<d4p1:transporterId>2</d4p1:transporterId>
<d4p1:van>true</d4p1:van>
<d4p1:garage xmlns:d5p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Register.Transporter">
<d5p1:id>1</d5p1:id>
<d5p1:locationId>3</d5p1:locationId>
<d5p1:misc>sample string 5</d5p1:misc>
<d5p1:name>sample string 4</d5p1:name>
<d5p1:transporterId>2</d5p1:transporterId>
<d5p1:location xmlns:d6p1="http://schemas.datacontract.org/2004/07/T8LSPModel.Model.Location">
<d6p1:address>sample string 4</d6p1:address>
<d6p1:country>sample string 8</d6p1:country>
<d6p1:id>1</d6p1:id>
<d6p1:isDeleted>true</d6p1:isDeleted>
<d6p1:isGlobal>true</d6p1:isGlobal>
<d6p1:latitude>10.1</d6p1:latitude>
<d6p1:locality>sample string 5</d6p1:locality>
<d6p1:location>sample string 2</d6p1:location>
<d6p1:longitude>9.1</d6p1:longitude>
<d6p1:name>sample string 3</d6p1:name>
<d6p1:postalCode>sample string 6</d6p1:postalCode>
<d6p1:postalTown>sample string 7</d6p1:postalTown>
</d5p1:location>
</d4p1:garage>
</d2p1:transporterAsset>
</d2p1:TransportOrderOptimizationRequestResourceView>
</data>
<error>sample string 3</error>
<errorCode>2</errorCode>
<top>4</top>
<total>1</total>
</KendoGridResponseOfTransportOrderOptimizationRequestResourceViewWu8RQ_P_SR>
application/x-protobuf
Sample: