TripProcessesWS


Click here for a complete list of operations.

GetTripsWithTotalsForDateRange

Returns a list of trip summaries within the specified date range.

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/TripProcessesWS.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/GetTripsWithTotalsForDateRange"

<?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>
    <GetTripsWithTotalsForDateRange xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <StartDateTime>dateTime</StartDateTime>
      <EndDateTime>dateTime</EndDateTime>
    </GetTripsWithTotalsForDateRange>
  </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>
    <GetTripsWithTotalsForDateRangeResponse xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <GetTripsWithTotalsForDateRangeResult>
        <TripWithTotals>
          <Trip>
            <VehicleID>short</VehicleID>
            <TripNo>int</TripNo>
            <DriverID>short</DriverID>
            <OriginalDriverID>short</OriginalDriverID>
            <TripStart>dateTime</TripStart>
            <TripEnd>dateTime</TripEnd>
            <CategoryID>int</CategoryID>
            <Notes>string</Notes>
          </Trip>
          <StartSubTripSeq>short</StartSubTripSeq>
          <EndSubTripSeq>short</EndSubTripSeq>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>short</SpeedOccurs>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>short</BrakeOccurs>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>short</AccelOccurs>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>short</RPMOccurs>
          <GBTime>int</GBTime>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>short</ExIdleOccurs>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>short</NIdleOccurs>
          <StandingTime>int</StandingTime>
          <Litres>decimal</Litres>
          <StartGPSID>int</StartGPSID>
          <EndGPSID>int</EndGPSID>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
        </TripWithTotals>
        <TripWithTotals>
          <Trip>
            <VehicleID>short</VehicleID>
            <TripNo>int</TripNo>
            <DriverID>short</DriverID>
            <OriginalDriverID>short</OriginalDriverID>
            <TripStart>dateTime</TripStart>
            <TripEnd>dateTime</TripEnd>
            <CategoryID>int</CategoryID>
            <Notes>string</Notes>
          </Trip>
          <StartSubTripSeq>short</StartSubTripSeq>
          <EndSubTripSeq>short</EndSubTripSeq>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>short</SpeedOccurs>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>short</BrakeOccurs>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>short</AccelOccurs>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>short</RPMOccurs>
          <GBTime>int</GBTime>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>short</ExIdleOccurs>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>short</NIdleOccurs>
          <StandingTime>int</StandingTime>
          <Litres>decimal</Litres>
          <StartGPSID>int</StartGPSID>
          <EndGPSID>int</EndGPSID>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
        </TripWithTotals>
      </GetTripsWithTotalsForDateRangeResult>
    </GetTripsWithTotalsForDateRangeResponse>
  </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/TripProcessesWS.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>
    <GetTripsWithTotalsForDateRange xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <StartDateTime>dateTime</StartDateTime>
      <EndDateTime>dateTime</EndDateTime>
    </GetTripsWithTotalsForDateRange>
  </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>
    <GetTripsWithTotalsForDateRangeResponse xmlns="http://www.omnibridge.com/SDKWebServices/AssetData">
      <GetTripsWithTotalsForDateRangeResult>
        <TripWithTotals>
          <Trip>
            <VehicleID>short</VehicleID>
            <TripNo>int</TripNo>
            <DriverID>short</DriverID>
            <OriginalDriverID>short</OriginalDriverID>
            <TripStart>dateTime</TripStart>
            <TripEnd>dateTime</TripEnd>
            <CategoryID>int</CategoryID>
            <Notes>string</Notes>
          </Trip>
          <StartSubTripSeq>short</StartSubTripSeq>
          <EndSubTripSeq>short</EndSubTripSeq>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>short</SpeedOccurs>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>short</BrakeOccurs>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>short</AccelOccurs>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>short</RPMOccurs>
          <GBTime>int</GBTime>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>short</ExIdleOccurs>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>short</NIdleOccurs>
          <StandingTime>int</StandingTime>
          <Litres>decimal</Litres>
          <StartGPSID>int</StartGPSID>
          <EndGPSID>int</EndGPSID>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
        </TripWithTotals>
        <TripWithTotals>
          <Trip>
            <VehicleID>short</VehicleID>
            <TripNo>int</TripNo>
            <DriverID>short</DriverID>
            <OriginalDriverID>short</OriginalDriverID>
            <TripStart>dateTime</TripStart>
            <TripEnd>dateTime</TripEnd>
            <CategoryID>int</CategoryID>
            <Notes>string</Notes>
          </Trip>
          <StartSubTripSeq>short</StartSubTripSeq>
          <EndSubTripSeq>short</EndSubTripSeq>
          <TripDistance>decimal</TripDistance>
          <Odometer>decimal</Odometer>
          <MaxSpeed>decimal</MaxSpeed>
          <SpeedTime>int</SpeedTime>
          <SpeedOccurs>short</SpeedOccurs>
          <MaxBrake>decimal</MaxBrake>
          <BrakeTime>int</BrakeTime>
          <BrakeOccurs>short</BrakeOccurs>
          <MaxAccel>decimal</MaxAccel>
          <AccelTime>int</AccelTime>
          <AccelOccurs>short</AccelOccurs>
          <MaxRPM>decimal</MaxRPM>
          <RPMTime>int</RPMTime>
          <RPMOccurs>short</RPMOccurs>
          <GBTime>int</GBTime>
          <ExIdleTime>int</ExIdleTime>
          <ExIdleOccurs>short</ExIdleOccurs>
          <NIdleTime>int</NIdleTime>
          <NIdleOccurs>short</NIdleOccurs>
          <StandingTime>int</StandingTime>
          <Litres>decimal</Litres>
          <StartGPSID>int</StartGPSID>
          <EndGPSID>int</EndGPSID>
          <StartEngineSeconds>int</StartEngineSeconds>
          <EndEngineSeconds>int</EndEngineSeconds>
        </TripWithTotals>
      </GetTripsWithTotalsForDateRangeResult>
    </GetTripsWithTotalsForDateRangeResponse>
  </soap12:Body>
</soap12:Envelope>