Skip to main content
Omnitracs Knowledge Base

Remove Landmark Alias

removeLandmarkAlias

This web service removes an alias from a specified landmark.

void removeLandmarkAlias(string companyId, string landmarkName, string landmarkAlias, string alias) throws WSException

  • companyId: (optional) A string, maximum length 10, specifying the unique company identifier.
    NOTE: If no companyId is specified, the company of the authorized user making the call will be used.
  • landmarkName: (optional) A string, maximum length 25, specifying the unique name of the landmark to add/remove an alias for.
  • landmarkAlias: (optional) A string, maximum length 25, specifying the unique alias of the landmark to add/remove an alias for. This parameter is ignored if a landmarkName is specified.
  • alias: A string, maximum length 25, specifying the unique alias to remove from the specified landmark.

 

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 GeoServices
- Can maintain landmarks

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

 

Sample XML Request

 

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

<soap:Body>

   <removeLandmarkAlias>

      <companyId>MYCOMPANY</companyId>

      <landmarkName>JTS Disposal</landmarkName>

      <landmarkAlias/>

      <alias>JTS Disposal West</alias>

   </removeLandmarkAlias>

</soap:Body>

 

Sample XML Response

 

<soapenv:Body>

   <removeLandmarkAliasResponse/>

</soapenv:Body>

 

Exceptions

 

001 Unknown Error.
003 Company not authorized for integration.
004 User not authorized.
005 User cannot add landmark aliases for specified company.
006 Landmark name or alias must be specified.
007 Landmark cannot be found with specified information.
008 Alias is invalid.

  • Was this article helpful?