Note that the ID in the API calls represent unique objects and the ID field is present in almost all The ID represents a unique object in LAC and is present in most of the API functions. When you are adding a new object (for example, AddCustomer) you should leave set the ID unset or set to zero. field to zero. For example, in AddCustomer:
No Format |
---|
<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 modifying updating an object or referencing an existing object (for example, UpdateCustomer) 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:
No Format |
---|
<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>
|