Skip to main content
Omnitracs Knowledge Base

Disable Data Sharing

disableDataSharing

The disableDataSharing web service will turn off an existing data sharing assignment for a specified T2-equipped trailer.

void disableDataSharing(AssetIdentifier trailer, String partner) throws WSException

  • trailer : An AssetIdentifier that contains the identifier of the trailer whose data sharing assignment is to be disabled.
  • partner : The ID of the partner who is currently receiving data from the trailer, and whose data sharing assignment is to be removed. If the partner is not specified, all data sharing assignments will be removed from this trailer.

 

 

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 maintain data sharing

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 not found.
006 Invalid Partner ID specified.
007 The specified Partner ID is not unique. Please contact Omnitracs.
008 Data sharing not supported.

 

 

 

Sample disableDataSharing Request

 

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

<soapenv:Body>

  <disableDataSharing>

    <trailer xmlns="">

       <id>TRLR100</id>

    <scac>ACME<scac/>

    </trailer>

    <partner>ACMEFRIEND</partner>

  </disableDataSharing>

</soapenv:Body>

 

 

Sample disableDataSharing Response

 

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

<soapenv:Body>

    <disableDataSharingResponse/>

</soapenv:Body>

  • Was this article helpful?