Skip to main content
Omnitracs Knowledge Base

Edit Landmark Attributes


This web service edits a landmark's type specific attributes with the supplied values.

void editLandmarkAttributes(string companyId, string landmarkName, string landmarkAlias, LandmarkAttribute[] attributes) 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 whose details are to be retreived. 
  • landmarkAlias: (optional) A string, maximum length 25, specifying the unique alias of the landmark whose details are to be retreived. This parameter is ignored if a landmarkName is specified.
  • attributes: An array of LandmarkAttribute objects with the values for the landmark attributes.

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.





      <landmarkAlias>JTS Disposal West</landmarkAlias>




            <value>John F. Smith</value>









Sample XML Response





001 Unknown Error.
003 Company not authorized for integration.
004 User not authorized.
005 User cannot edit landmark attributes for specified company.
006 Landmark name or alias must be specified.
007 Landmark cannot be found with specified information.
008 Must specify at least one attribute and value.
009 Attribute errors - dynamically filled with attribute failure code:attribute ID in a semi-colon delimited string
      -- an example: 009 Attribute errors - 0007:contactAName;0007:contactBName
      -- see the table below for all valid attribute failure codes and their meanings


Attribute Error Code



Error Description



attributeID contains an illegal character


attributeID is not associated with the specified Landmark


attributeID is invalid


value is not a boolean value as required


value contains an illegal character


value is not in numeric format as required


value exceeds the allowed maximum length


value not within the allowed number range


value is not one of the qualified numeric values


value is not one of the qualified character values

  • Was this article helpful?