Skip to main content
Omnitracs Knowledge Base

Delete Trailer

deleteTrailer

Delete a trailer given the SCAC and trailer Identifier of the trailer.

void deleteTrailer(AssetIdentifier trailer) throws WSException

  • trailer: An AssetIdentifier containing the SCAC and ID of the trailer to be deleted.

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.

Sample deleteTrailer Request

<soapenv:Body>

    <deleteTrailer>

        <trailer>

           <id>ALIVE595</id>

           <scac>LABU</scac>

        </trailer>

    </deleteTrailer>

 </soapenv:Body>

Sample deleteTrailer Response

<soapenv:Body>

    <deleteTrailerResponse/>

</soapenv:Body>

  • Was this article helpful?