GET api/Trips
Documentation for 'Get'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| filter | Documentation for 'filter'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"Box": {
"BoId": 1,
"CuId": 2,
"BoxNumber": 3,
"Driver": null,
"VehicleData": null
},
"TrId": 1,
"BeginPoint": null,
"EndPoint": null,
"Distance": 2
},
{
"Box": {
"BoId": 1,
"CuId": 2,
"BoxNumber": 3,
"Driver": null,
"VehicleData": null
},
"TrId": 1,
"BeginPoint": null,
"EndPoint": null,
"Distance": 2
},
{
"Box": {
"BoId": 1,
"CuId": 2,
"BoxNumber": 3,
"Driver": null,
"VehicleData": null
},
"TrId": 1,
"BeginPoint": null,
"EndPoint": null,
"Distance": 2
}
]
text/javascript
Sample:
[{"Box":{"BoId":1,"CuId":2,"BoxNumber":3,"Driver":null,"VehicleData":null},"TrId":1,"BeginPoint":null,"EndPoint":null,"Distance":2},{"Box":{"BoId":1,"CuId":2,"BoxNumber":3,"Driver":null,"VehicleData":null},"TrId":1,"BeginPoint":null,"EndPoint":null,"Distance":2},{"Box":{"BoId":1,"CuId":2,"BoxNumber":3,"Driver":null,"VehicleData":null},"TrId":1,"BeginPoint":null,"EndPoint":null,"Distance":2}]
application/xml, text/xml
Sample:
<ArrayOfBoxTrip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Trips">
<BoxTrip>
<BeginPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Positions" i:nil="true" />
<Box xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models">
<d3p1:BoId>1</d3p1:BoId>
<d3p1:BoxNumber>3</d3p1:BoxNumber>
<d3p1:CuId>2</d3p1:CuId>
<d3p1:Driver xmlns:d4p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Common" i:nil="true" />
<d3p1:VehicleData xmlns:d4p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Common" i:nil="true" />
</Box>
<Distance>2</Distance>
<EndPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Positions" i:nil="true" />
<TrId>1</TrId>
</BoxTrip>
<BoxTrip>
<BeginPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Positions" i:nil="true" />
<Box xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models">
<d3p1:BoId>1</d3p1:BoId>
<d3p1:BoxNumber>3</d3p1:BoxNumber>
<d3p1:CuId>2</d3p1:CuId>
<d3p1:Driver xmlns:d4p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Common" i:nil="true" />
<d3p1:VehicleData xmlns:d4p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Common" i:nil="true" />
</Box>
<Distance>2</Distance>
<EndPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Positions" i:nil="true" />
<TrId>1</TrId>
</BoxTrip>
<BoxTrip>
<BeginPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Positions" i:nil="true" />
<Box xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models">
<d3p1:BoId>1</d3p1:BoId>
<d3p1:BoxNumber>3</d3p1:BoxNumber>
<d3p1:CuId>2</d3p1:CuId>
<d3p1:Driver xmlns:d4p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Common" i:nil="true" />
<d3p1:VehicleData xmlns:d4p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Common" i:nil="true" />
</Box>
<Distance>2</Distance>
<EndPoint xmlns:d3p1="http://schemas.datacontract.org/2004/07/SAPI.WebService.Models.Positions" i:nil="true" />
<TrId>1</TrId>
</BoxTrip>
</ArrayOfBoxTrip>