The ID represents a unique object in LAC and is present in most of the API functions. When you are adding a new object, you should set the ID field to zero. For example, in AddCustomer:

 <customer xsi:type="ns:Soap_Customer">
            <!--You may enter the following 12 items in any order-->
            <id xsi:type="xsd:int">0</id>
            <name xsi:type="xsd:string">Customer Name</name>
            ...
         </customer>

Updates are made based on this ID, so when updating an object or referencing an object (for example, when making a license order for a particular customer), it is important to set the ID to the specific ID for that object. For example, in UpdateCustomer:

 <customer xsi:type="ns:Soap_Customer">
            <!--You may enter the following 12 items in any order-->
            <id xsi:type="xsd:int">1</id>
            <name xsi:type="xsd:string">Customer Name</name>
            ...
         </customer>
  • No labels