SubTripProcessesWS


Click here for a complete list of operations.

GetSubTripsV2ForDateRange

Returns all subtrips in a specified date range and resolves the start and end positions to user-defined locations when possible.
NB: if necessary, the EndDateTime parameter value will be adjusted to ensure that the data range does not exceed 24 hours!

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServices/AssetDataWebSvc/SubTripProcessesWS.asmx HTTP/1.1
Host: mixmobile.mixtelematics.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.omnibridge.com/SDKWebServices/AssetData/GetSubTripsV2ForDateRange"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <TokenHeader xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <Token>string</Token>
    </TokenHeader>
  </soap:Header>
  <soap:Body>
    <GetSubTripsV2ForDateRange xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <StartDateTime>dateTime</StartDateTime>
      <EndDateTime>dateTime</EndDateTime>
    </GetSubTripsV2ForDateRange>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetSubTripsV2ForDateRangeResponse xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <GetSubTripsV2ForDateRangeResult>
        <SubTripV2>
          <TripID>int</TripID>
          <Seq>short</Seq>
          <VehicleID>short</VehicleID>
          <DriverID>short</DriverID>
          <Depart>dateTime</Depart>
          <Halt>dateTime</Halt>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>int</SpeedOccurs>
          <SpeedScore>decimal</SpeedScore>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>int</BrakeOccurs>
          <BrakeScore>decimal</BrakeScore>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>int</AccelOccurs>
          <AccelScore>decimal</AccelScore>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>int</RPMOccurs>
          <RPMScore>decimal</RPMScore>
          <GBTime>int</GBTime>
          <GBScore>decimal</GBScore>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>int</ExIdleOccurs>
          <ExIdleScore>decimal</ExIdleScore>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>int</NIdleOccurs>
          <Litres>decimal</Litres>
          <PulseParameterID>short</PulseParameterID>
          <PulseValue>float</PulseValue>
          <StartGPSID>int</StartGPSID>
          <StartLocationID>int</StartLocationID>
          <StartLocationName>string</StartLocationName>
          <EndGPSID>int</EndGPSID>
          <EndLocationID>int</EndLocationID>
          <EndLocationName>string</EndLocationName>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
          <StandingTime>int</StandingTime>
        </SubTripV2>
        <SubTripV2>
          <TripID>int</TripID>
          <Seq>short</Seq>
          <VehicleID>short</VehicleID>
          <DriverID>short</DriverID>
          <Depart>dateTime</Depart>
          <Halt>dateTime</Halt>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>int</SpeedOccurs>
          <SpeedScore>decimal</SpeedScore>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>int</BrakeOccurs>
          <BrakeScore>decimal</BrakeScore>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>int</AccelOccurs>
          <AccelScore>decimal</AccelScore>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>int</RPMOccurs>
          <RPMScore>decimal</RPMScore>
          <GBTime>int</GBTime>
          <GBScore>decimal</GBScore>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>int</ExIdleOccurs>
          <ExIdleScore>decimal</ExIdleScore>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>int</NIdleOccurs>
          <Litres>decimal</Litres>
          <PulseParameterID>short</PulseParameterID>
          <PulseValue>float</PulseValue>
          <StartGPSID>int</StartGPSID>
          <StartLocationID>int</StartLocationID>
          <StartLocationName>string</StartLocationName>
          <EndGPSID>int</EndGPSID>
          <EndLocationID>int</EndLocationID>
          <EndLocationName>string</EndLocationName>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
          <StandingTime>int</StandingTime>
        </SubTripV2>
      </GetSubTripsV2ForDateRangeResult>
    </GetSubTripsV2ForDateRangeResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServices/AssetDataWebSvc/SubTripProcessesWS.asmx HTTP/1.1
Host: mixmobile.mixtelematics.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <TokenHeader xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <Token>string</Token>
    </TokenHeader>
  </soap12:Header>
  <soap12:Body>
    <GetSubTripsV2ForDateRange xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <StartDateTime>dateTime</StartDateTime>
      <EndDateTime>dateTime</EndDateTime>
    </GetSubTripsV2ForDateRange>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetSubTripsV2ForDateRangeResponse xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <GetSubTripsV2ForDateRangeResult>
        <SubTripV2>
          <TripID>int</TripID>
          <Seq>short</Seq>
          <VehicleID>short</VehicleID>
          <DriverID>short</DriverID>
          <Depart>dateTime</Depart>
          <Halt>dateTime</Halt>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>int</SpeedOccurs>
          <SpeedScore>decimal</SpeedScore>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>int</BrakeOccurs>
          <BrakeScore>decimal</BrakeScore>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>int</AccelOccurs>
          <AccelScore>decimal</AccelScore>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>int</RPMOccurs>
          <RPMScore>decimal</RPMScore>
          <GBTime>int</GBTime>
          <GBScore>decimal</GBScore>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>int</ExIdleOccurs>
          <ExIdleScore>decimal</ExIdleScore>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>int</NIdleOccurs>
          <Litres>decimal</Litres>
          <PulseParameterID>short</PulseParameterID>
          <PulseValue>float</PulseValue>
          <StartGPSID>int</StartGPSID>
          <StartLocationID>int</StartLocationID>
          <StartLocationName>string</StartLocationName>
          <EndGPSID>int</EndGPSID>
          <EndLocationID>int</EndLocationID>
          <EndLocationName>string</EndLocationName>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
          <StandingTime>int</StandingTime>
        </SubTripV2>
        <SubTripV2>
          <TripID>int</TripID>
          <Seq>short</Seq>
          <VehicleID>short</VehicleID>
          <DriverID>short</DriverID>
          <Depart>dateTime</Depart>
          <Halt>dateTime</Halt>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>int</SpeedOccurs>
          <SpeedScore>decimal</SpeedScore>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>int</BrakeOccurs>
          <BrakeScore>decimal</BrakeScore>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>int</AccelOccurs>
          <AccelScore>decimal</AccelScore>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>int</RPMOccurs>
          <RPMScore>decimal</RPMScore>
          <GBTime>int</GBTime>
          <GBScore>decimal</GBScore>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>int</ExIdleOccurs>
          <ExIdleScore>decimal</ExIdleScore>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>int</NIdleOccurs>
          <Litres>decimal</Litres>
          <PulseParameterID>short</PulseParameterID>
          <PulseValue>float</PulseValue>
          <StartGPSID>int</StartGPSID>
          <StartLocationID>int</StartLocationID>
          <StartLocationName>string</StartLocationName>
          <EndGPSID>int</EndGPSID>
          <EndLocationID>int</EndLocationID>
          <EndLocationName>string</EndLocationName>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
          <StandingTime>int</StandingTime>
        </SubTripV2>
      </GetSubTripsV2ForDateRangeResult>
    </GetSubTripsV2ForDateRangeResponse>
  </soap12:Body>
</soap12:Envelope>