I am just now getting started with the Quantify API. I was told that I would be able to see all the API-exposed functionality if I downloaded a sample project. So I downloaded the VB sample project. All I see is an example of using the GetJobSites() method. I don’t see any references to any other function calls.
Where can I see a list of all the available API methods? Is it in this VB sample project? If so, where?
Hi David and welcome.
Unfortunately, we don’t have this sort of documentation available. If you let us know what you are trying to do, we would be happy to offer some assistance via code samples.
For now, I would be interested in knowing how to update Item Descriptions in bulk via API.
I see you started with the VB sample project. Are you more comfortable working in VB or would C# also be acceptable? I’ll provide examples in VB here but if you are equally comfortable in both languages I would suggest using C#.
As to your question, when you say “Item Description” do you mean the Product Description? If so this field is a member of the Product object.
You can access a collection of all products using the ProductCollection object.
Dim allProducts = ProductCollection.GetProductCollection(ProductType.Product)
If you would like to filter the collection down according to a specific criteria you can use LINQ
From there you can iterate through the filtered collection using a For Each loop. Updating the Product Description is as simple as the following:
For Each product In filteredProducts
product.Description = "<NEW DESCRIPTION>"
product.Save()
Next
Let us know if that helps or if you need any further guidance.