Skip to main content
Omnitracs Knowledge Base

Get Trailer Mileage Threshold

 getTrailerMileageThreshold

Gets the trailer mileage threshold monitoring information given a SCAC and trailer identifier.

MileageThresholdMonitoring getTrailerMileageThreshold (AssetIdentifier trailer) throws WSException

  • trailer: An Asset Identifier that uniquely identifies the trailer to which the mileage threshold information will be retrieved.

A successful call returns a MileageThresholdMonitoring object.

Authorization Requirements

The credentials supplied with this method call (as specified in the accompanying WS-Security header) must be authorized to the following application(s) and their associated role-based permissions.

Required Application Licenses
- Remote Integration

Required User Permissions
- Can use Trailer Tracks
- Can maintain trailer mileage counter

Customer integrators are authorized to their own company's data only. 

Exceptions

002 Required field not specified.
003 Company not authorized for integration.
004 User not authorized.
005 Trailer mileage reporting not enabled
006 Trailer mileage reporting not supported.
007 Trailer SCAC and Trailer ID not specified.
008 Trailer SCAC/Trailer ID invalid.

Sample getTrailerMileageThreshold Request

Only the SOAP body is shown. To see a sample SOAP Envelope and Header, click here.
 

<soapenv:Body>

  <getTrailerMileageThreshold>

    <trailer>

      <id>ALIVE595</id>

      <scac>LABU</scac>

    </trailer>

  </getTrailerMileageThreshold>

</soapenv:Body>

 

Sample getTrailerMileageThreshold Response

<soapenv:Body>

  <getTrailerMileageThresholdResponse>

    <MileageThresholdMonitoring>

        <active>true</active>

        <threshold>100000</threshold>

        <notification>

            <Email>

                <address>romanowski@volpico.com</address>

                </Email>

                <Email>

                    <address>spalmer@volpico.com</address>

            </Email>

        </notification>

    <MileageThresholdMonitoring/>

 <getTrailerMileageThresholdResponse/>

</soapenv:Body>

  • Was this article helpful?