Skip to main content
Omnitracs Knowledge Base

Set Trailer Type

setTrailerType

Sets the trailer type for a given SCAC and trailer identifier.

void setTrailerType(AssetIdentifier trailer, String type) throws WSException

  • trailer: An AssetIdentifier that uniquely identifies the trailer to which the loaded status will be set.
  • type: The trailer type to which the trailer will be set.

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 trailers

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 SCAC not specified.
006 Trailer ID not specified.
007 Trailer SCAC/Trailer ID invalid.
008 Trailer Type is invalid.

Sample setTrailerType Request

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

<soap:Body>

   <setTrailerType>

      <trailer>

         <id>ALIVE595</id>

         <scac>LABU</scac>

      </trailer>

      <type>DRY</type>

   </setTrailerType>

</soap:Body>

Sample setTrailerType Response

An empty response conveys success. If there was an error, an exception would have been thrown.

<soapenv:Body>

   <setTrailerTypeResponse/>

</soapenv:Body>

  • Was this article helpful?